summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-09-22 20:07:01 +0530
committerGitHub <noreply@github.com>2022-09-22 20:07:01 +0530
commit06c77a30f9c00a562ff2a34b96fe828e0d29a33f (patch)
treec0ba17fcc0ef0ab5db00a3ccaf5ed12e998b652f
parenta43e9bebebfc2fef0e4f035a4e6f78f5dd80219a (diff)
perf(cli): use -O3 instead of -Oz (#15952)
perf(cli): use -O3 instead of -Os
-rw-r--r--Cargo.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 91b9a0d65..f6e6d0b5b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -34,14 +34,14 @@ exclude = ["test_util/std/hash/_wasm"]
codegen-units = 1
incremental = true
lto = true
-opt-level = 'z' # Optimize for size
+opt-level = 3 # Optimize for speed
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
[profile.bench]
codegen-units = 1
incremental = true
lto = true
-opt-level = 'z' # Optimize for size
+opt-level = 3 # Optimize for speed
# Key generation is too slow on `debug`
[profile.dev.package.num-bigint-dig]