mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 17:49:08 -05:00
298e414936
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. |
||
---|---|---|
.. | ||
bench.rs | ||
mod.rs | ||
testing.rs |