1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/Cargo.toml
Valentin Anger 31f32ed8c4
Move benchmarks to Rust (#7134)
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.
2020-08-28 09:03:50 -04:00

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