1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/cli/js
Bartek Iwańczuk d267eaa3b9
fix(bench): run warmup benchmark to break JIT bias (#19844)
Closes https://github.com/denoland/deno/issues/15277

This commit adds a single "warmup" run of empty function when running
`deno bench`.
This change will break so-called "JIT bias" which makes V8 optimize the
first function
and then bail out of optimization on second function. In essence the
"warmup" function
is getting optimized and then all user benches are bailed out of
optimization.
2023-07-20 01:53:35 +02:00
..
40_testing.js fix(bench): run warmup benchmark to break JIT bias (#19844) 2023-07-20 01:53:35 +02:00
99_main.js fix(core): let V8 drive extension ESM loads (#18997) 2023-05-09 12:37:13 +02:00