mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -05:00
31f32ed8c4
All benchmarks are done in Rust and can be invoked with `cargo bench`. Currently this has it's own "harness" that behaves like `./tools/benchmark.py` did. Because of this tests inside `cli/bench` are currently not run. This should be switched to the language provided harness once the `#[bench]` attribute has been stabilized.
22 lines
296 B
TOML
22 lines
296 B
TOML
[workspace]
|
|
members = [
|
|
"cli",
|
|
"core",
|
|
"test_plugin",
|
|
"test_util",
|
|
"op_crates/web",
|
|
]
|
|
exclude = [
|
|
"std/hash/_wasm"
|
|
]
|
|
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
lto = true
|
|
opt-level = 'z' # Optimize for size
|
|
|
|
[profile.bench]
|
|
codegen-units = 1
|
|
lto = true
|
|
opt-level = 'z' # Optimize for size
|