Skip to content

Commit

Permalink
Disable last benchmark for 32 bit windows
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Dec 14, 2020
1 parent a7bc34f commit c5e0f4b
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions bench/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,19 +111,21 @@ init.then(() => {
map.delete();
});

suite.add('combine 1000 maps using flatbuffers and stringify', async () => {
let map = new SourceMap();
for (let i = 0; i < 1000; i++) {
map.addBufferMappings(sourcemapBuffer, i * 4);
}
await map.stringify({
file: 'index.js.map',
sourceRoot: '/',
// We don't wanna benchmark JSON.stringify...
format: 'object',
if (!(process.platform === 'win32' && process.arch === 'ia32')) {
suite.add('combine 1000 maps using flatbuffers and stringify', async () => {
let map = new SourceMap();
for (let i = 0; i < 1000; i++) {
map.addBufferMappings(sourcemapBuffer, i * 4);
}
await map.stringify({
file: 'index.js.map',
sourceRoot: '/',
// We don't wanna benchmark JSON.stringify...
format: 'object',
});
map.delete();
});
map.delete();
});
}

suite.run();
});

0 comments on commit c5e0f4b

Please sign in to comment.