mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
perf(wpt/crypto): optimize num-bigint-dig for debug builds (#11681)
This commit is contained in:
parent
3dff757927
commit
5d6d6836bb
1 changed files with 9 additions and 0 deletions
|
@ -39,6 +39,11 @@ incremental = true
|
|||
lto = true
|
||||
opt-level = 'z' # Optimize for size
|
||||
|
||||
# Key generation is too slow on `debug`
|
||||
#
|
||||
[profile.dev.package.num-bigint-dig]
|
||||
opt-level = 3
|
||||
|
||||
# Optimize these packages for performance.
|
||||
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
|
||||
[profile.bench.package.rand]
|
||||
|
@ -61,6 +66,8 @@ opt-level = 3
|
|||
opt-level = 3
|
||||
[profile.bench.package.deno_net]
|
||||
opt-level = 3
|
||||
[profile.bench.package.num-bigint-dig]
|
||||
opt-level = 3
|
||||
[profile.bench.package.rusty_v8]
|
||||
opt-level = 3
|
||||
[profile.bench.package.serde_v8]
|
||||
|
@ -89,6 +96,8 @@ opt-level = 3
|
|||
opt-level = 3
|
||||
[profile.release.package.deno_net]
|
||||
opt-level = 3
|
||||
[profile.release.package.num-bigint-dig]
|
||||
opt-level = 3
|
||||
[profile.release.package.rusty_v8]
|
||||
opt-level = 3
|
||||
[profile.release.package.serde_v8]
|
||||
|
|
Loading…
Reference in a new issue