2021-01-11 02:59:07 +00:00
|
|
|
# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
|
2020-09-21 12:26:41 +00:00
|
|
|
|
2019-02-27 00:23:30 +00:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2021-05-17 21:11:40 +00:00
|
|
|
"bench_util",
|
2019-03-30 18:45:36 +00:00
|
|
|
"cli",
|
2019-02-27 00:23:30 +00:00
|
|
|
"core",
|
2020-12-13 18:45:53 +00:00
|
|
|
"runtime",
|
2021-07-12 01:12:26 +00:00
|
|
|
"test_plugin",
|
2020-06-18 15:54:55 +00:00
|
|
|
"test_util",
|
2021-05-22 16:08:24 +00:00
|
|
|
"extensions/broadcast_channel",
|
2021-05-17 21:11:40 +00:00
|
|
|
"extensions/console",
|
2021-04-30 19:51:48 +00:00
|
|
|
"extensions/crypto",
|
|
|
|
"extensions/fetch",
|
2021-06-28 23:43:03 +00:00
|
|
|
"extensions/net",
|
2021-04-30 19:51:48 +00:00
|
|
|
"extensions/timers",
|
|
|
|
"extensions/url",
|
|
|
|
"extensions/web",
|
|
|
|
"extensions/webgpu",
|
|
|
|
"extensions/webidl",
|
|
|
|
"extensions/websocket",
|
2021-05-17 21:11:40 +00:00
|
|
|
"extensions/webstorage"
|
2019-02-27 00:23:30 +00:00
|
|
|
]
|
2021-05-17 21:11:40 +00:00
|
|
|
exclude = ["test_util/std/hash/_wasm"]
|
2021-04-09 18:03:32 +00:00
|
|
|
|
2021-05-11 22:06:58 +00:00
|
|
|
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
|
2021-04-09 18:03:32 +00:00
|
|
|
[profile.release]
|
|
|
|
codegen-units = 1
|
2021-04-10 06:46:27 +00:00
|
|
|
incremental = true
|
2021-04-09 18:03:32 +00:00
|
|
|
lto = true
|
|
|
|
opt-level = 'z' # Optimize for size
|
|
|
|
|
2021-05-11 22:06:58 +00:00
|
|
|
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
|
2021-04-09 18:03:32 +00:00
|
|
|
[profile.bench]
|
|
|
|
codegen-units = 1
|
2021-04-10 06:46:27 +00:00
|
|
|
incremental = true
|
2021-04-09 18:03:32 +00:00
|
|
|
lto = true
|
|
|
|
opt-level = 'z' # Optimize for size
|
|
|
|
|
2021-05-11 22:06:58 +00:00
|
|
|
# Optimize these packages for performance.
|
|
|
|
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
|
|
|
|
[profile.bench.package.rand]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.flate2]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.brotli]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.miniz_oxide]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.async-compression]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.brotli-decompressor]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.deno_core]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.deno_runtime]
|
|
|
|
opt-level = 3
|
2021-07-05 23:23:18 +00:00
|
|
|
[profile.bench.package.deno_net]
|
|
|
|
opt-level = 3
|
2021-05-11 22:06:58 +00:00
|
|
|
[profile.bench.package.rusty_v8]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.serde_v8]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.serde]
|
|
|
|
opt-level = 3
|
|
|
|
|
|
|
|
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
|
2021-02-18 14:46:31 +00:00
|
|
|
[profile.release.package.rand]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.flate2]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.brotli]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.miniz_oxide]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.async-compression]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.brotli-decompressor]
|
2021-03-26 02:36:46 +00:00
|
|
|
opt-level = 3
|
2021-04-06 17:38:49 +00:00
|
|
|
[profile.release.package.deno_core]
|
|
|
|
opt-level = 3
|
2021-04-11 12:10:22 +00:00
|
|
|
[profile.release.package.deno_runtime]
|
|
|
|
opt-level = 3
|
2021-07-05 23:23:18 +00:00
|
|
|
[profile.release.package.deno_net]
|
|
|
|
opt-level = 3
|
2021-04-06 17:38:49 +00:00
|
|
|
[profile.release.package.rusty_v8]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.serde_v8]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.serde]
|
|
|
|
opt-level = 3
|