0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04:00
denoland-deno/cli/tools
Bartek Iwańczuk 298e414936
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-17 21:17:28 +00:00
..
coverage chore: update to Rust 1.71 (#19822) 2023-07-13 15:16:24 -06:00
init refactor(init): remove CURRENT_STD_URL (#18375) 2023-03-23 03:11:18 +00:00
repl chore: update to Rust 1.71 (#19822) 2023-07-13 15:16:24 -06:00
vendor fix(vendor): do not panic vendoring with jsxImportSource and no jsx files (#19837) 2023-07-14 18:10:42 -04:00
bench.rs fix(bench): run warmup benchmark to break JIT bias (#19844) 2023-07-17 21:17:28 +00:00
bundle.rs refactor(flags): move watch flags into subcommand structs (#19516) 2023-06-15 13:09:37 -04:00
check.rs refactor(lsp): move config file related code to config.rs (#19790) 2023-07-10 21:45:09 +00:00
compile.rs refactor: helpers methods on TypeCheckMode (#19393) 2023-06-07 10:09:10 -04:00
doc.rs Reland "fix(cli): don't store blob and data urls in the module cache" (#18581) 2023-07-02 00:52:30 +02:00
fmt.rs chore: fix typos (#19572) 2023-06-26 09:10:27 -04:00
info.rs perf(cli): conditionally load typescript declaration files (#19392) 2023-06-06 17:07:46 -04:00
installer.rs chore(tests): test_util - Add PathRef (#19450) 2023-06-10 11:09:45 -04:00
lint.rs refactor(flags): move watch flags into subcommand structs (#19516) 2023-06-15 13:09:37 -04:00
mod.rs feat(compile): unstable npm and node specifier support (#19005) 2023-05-10 20:06:59 -04:00
run.rs Reland "fix(cli): don't store blob and data urls in the module cache" (#18581) 2023-07-02 00:52:30 +02:00
task.rs chore: fix typos (#19572) 2023-06-26 09:10:27 -04:00
test.rs refactor(cli): Creating a TestReporter trait (#19786) 2023-07-10 18:12:33 -04:00
upgrade.rs chore: fix typos (#19572) 2023-06-26 09:10:27 -04:00