mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
perf(url): build with opt-level 3 (#11779)
A ~25% improvement: `~1950ns/call` => `~1500ns/call`
This commit is contained in:
parent
91051047cc
commit
4f322da07c
1 changed files with 8 additions and 0 deletions
|
@ -74,6 +74,10 @@ opt-level = 3
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
[profile.bench.package.serde]
|
[profile.bench.package.serde]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
[profile.bench.package.deno_url]
|
||||||
|
opt-level = 3
|
||||||
|
[profile.bench.package.url]
|
||||||
|
opt-level = 3
|
||||||
|
|
||||||
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
|
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
|
||||||
[profile.release.package.rand]
|
[profile.release.package.rand]
|
||||||
|
@ -104,3 +108,7 @@ opt-level = 3
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
[profile.release.package.serde]
|
[profile.release.package.serde]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
[profile.release.package.deno_url]
|
||||||
|
opt-level = 3
|
||||||
|
[profile.release.package.url]
|
||||||
|
opt-level = 3
|
||||||
|
|
Loading…
Reference in a new issue