0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/benchmark/arrays
Michaël Zasso eefdf452c3 benchmark: avoid TurboFan deopt in arrays bench
Something unidentified at the moment is causing the arrays benchmarks to
deopt when run with the TurboFan compiler. Refactor the test to use an
inner function that can be correctly optimized by TurboFan and
Crankshaft.

PR-URL: https://github.com/nodejs/node/pull/11894
Ref: https://github.com/nodejs/node/issues/11851#issuecomment-287106714
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2017-04-04 10:45:43 -07:00
..
var-int.js benchmark: avoid TurboFan deopt in arrays bench 2017-04-04 10:45:43 -07:00
zero-float.js benchmark: avoid TurboFan deopt in arrays bench 2017-04-04 10:45:43 -07:00
zero-int.js benchmark: avoid TurboFan deopt in arrays bench 2017-04-04 10:45:43 -07:00