Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
Ben L. Titzer authored Jul 1, 2019
commit 3bafd5b6fec10589d130146a6c2cd1a18384cef2
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
});