1
0
Fork 0
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:
Divy Srivastava 2021-08-13 13:38:13 +05:30 committed by GitHub
parent 3dff757927
commit 5d6d6836bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,11 @@ incremental = true
lto = true lto = true
opt-level = 'z' # Optimize for size 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. # Optimize these packages for performance.
# NB: the `bench` and `release` profiles must remain EXACTLY the same. # NB: the `bench` and `release` profiles must remain EXACTLY the same.
[profile.bench.package.rand] [profile.bench.package.rand]
@ -61,6 +66,8 @@ opt-level = 3
opt-level = 3 opt-level = 3
[profile.bench.package.deno_net] [profile.bench.package.deno_net]
opt-level = 3 opt-level = 3
[profile.bench.package.num-bigint-dig]
opt-level = 3
[profile.bench.package.rusty_v8] [profile.bench.package.rusty_v8]
opt-level = 3 opt-level = 3
[profile.bench.package.serde_v8] [profile.bench.package.serde_v8]
@ -89,6 +96,8 @@ opt-level = 3
opt-level = 3 opt-level = 3
[profile.release.package.deno_net] [profile.release.package.deno_net]
opt-level = 3 opt-level = 3
[profile.release.package.num-bigint-dig]
opt-level = 3
[profile.release.package.rusty_v8] [profile.release.package.rusty_v8]
opt-level = 3 opt-level = 3
[profile.release.package.serde_v8] [profile.release.package.serde_v8]