MCPcopy Index your code
hub / github.com/nodejs/node / testZstdLargeData

Function testZstdLargeData

test/parallel/test-stream-iter-transform-sync.js:115–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113}
114
115function testZstdLargeData() {
116 const input = 'zstd sync large data test. '.repeat(5000);
117 const result = roundTrip(input, compressZstdSync(), decompressZstdSync());
118 assert.strictEqual(result, input);
119}
120
121// =============================================================================
122// Cross-algorithm: compress async-compatible, decompress sync (and vice versa)

Calls 3

compressZstdSyncFunction · 0.85
decompressZstdSyncFunction · 0.85
roundTripFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…