mirror of
https://github.com/nodejs/node.git
synced 2025-05-09 11:13:55 +00:00

`test-benchmark-buffer` has been observed to timeout on CI on SmartOS. Move the test to `sequential` so it is not competing with other tests for resources. PR-URL: https://github.com/nodejs/node/pull/15373 Fixes: https://github.com/nodejs/node/issues/15372 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: James M Snell <jasnell@gmail.com>
25 lines
540 B
JavaScript
25 lines
540 B
JavaScript
'use strict';
|
|
|
|
require('../common');
|
|
|
|
const runBenchmark = require('../common/benchmark');
|
|
|
|
runBenchmark('buffers',
|
|
[
|
|
'aligned=true',
|
|
'args=1',
|
|
'encoding=utf8',
|
|
'len=2',
|
|
'method=',
|
|
'n=1',
|
|
'noAssert=true',
|
|
'pieces=1',
|
|
'pieceSize=1',
|
|
'search=@',
|
|
'size=1',
|
|
'source=array',
|
|
'type=',
|
|
'withTotalLength=0'
|
|
|
|
]);
|