diff --git a/Cargo.toml b/Cargo.toml index ce7bc47e67..6536183cc2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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]