Skip to content
Browse files

test: increase limit for network space overhead test

This test imposes a limit on the average bytes of space per chunk
for network traffic. However this number depends on VM
implementation details, and upcoming changes to V8's
array buffer management require a small bump to this
limit in this test.

PR-URL: #28492
Reviewed-By: Anna Henningsen <>
Reviewed-By: Colin Ihrig <>
Reviewed-By: Rich Trott <>
Reviewed-By: Luigi Pinca <>
Reviewed-By: Ruben Bridgewater <>
  • Loading branch information...
Ben L. Titzer authored and addaleax committed Jul 1, 2019
1 parent 056b0bd commit 2550ddb04909f19068e947a18681e6c675346e42
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/sequential/test-net-bytes-per-incoming-chunk-overhead.js
@@ -37,5 +37,5 @@ process.on('exit', () => {
const bytesPerChunk =
(process.memoryUsage().rss - baseRSS) / receivedChunks.length;
// We should always have less than one page (usually ~ 4 kB) per chunk.
assert(bytesPerChunk < 512, `measured ${bytesPerChunk} bytes per chunk`);
assert(bytesPerChunk < 600, `measured ${bytesPerChunk} bytes per chunk`);

0 comments on commit 2550ddb

Please sign in to comment.
You can’t perform that action at this time.