1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

perf(url): build with opt-level 3 (#11779)

A ~25% improvement: `~1950ns/call` => `~1500ns/call`
This commit is contained in:
Aaron O'Mullan 2021-08-19 19:11:27 +02:00 committed by GitHub
parent 91051047cc
commit 4f322da07c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,6 +74,10 @@ opt-level = 3
opt-level = 3
[profile.bench.package.serde]
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.
[profile.release.package.rand]
@ -104,3 +108,7 @@ opt-level = 3
opt-level = 3
[profile.release.package.serde]
opt-level = 3
[profile.release.package.deno_url]
opt-level = 3
[profile.release.package.url]
opt-level = 3