2022-01-08 03:09:52 +00:00
|
|
|
# Copyright 2018-2022 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]
|
2021-08-24 11:29:42 +00:00
|
|
|
resolver = "2"
|
2019-02-27 00:23:30 +00:00
|
|
|
members = [
|
2021-05-17 21:11:40 +00:00
|
|
|
"bench_util",
|
2019-03-30 18:45:36 +00:00
|
|
|
"cli",
|
2022-10-05 14:06:44 +00:00
|
|
|
"cli/napi_sym",
|
2019-02-27 00:23:30 +00:00
|
|
|
"core",
|
2022-03-14 17:44:15 +00:00
|
|
|
"ops",
|
2020-12-13 18:45:53 +00:00
|
|
|
"runtime",
|
2021-10-19 22:00:45 +00:00
|
|
|
"serde_v8",
|
2021-08-06 21:28:10 +00:00
|
|
|
"test_ffi",
|
2022-10-05 14:06:44 +00:00
|
|
|
"test_napi",
|
2020-06-18 15:54:55 +00:00
|
|
|
"test_util",
|
2021-08-11 10:27:05 +00:00
|
|
|
"ext/broadcast_channel",
|
2022-09-28 12:11:12 +00:00
|
|
|
"ext/cache",
|
2021-08-11 10:27:05 +00:00
|
|
|
"ext/console",
|
|
|
|
"ext/crypto",
|
|
|
|
"ext/fetch",
|
2022-08-18 12:05:02 +00:00
|
|
|
"ext/flash",
|
2021-08-11 10:27:05 +00:00
|
|
|
"ext/ffi",
|
|
|
|
"ext/http",
|
|
|
|
"ext/net",
|
2022-08-11 21:25:41 +00:00
|
|
|
"ext/node",
|
2021-08-11 10:27:05 +00:00
|
|
|
"ext/url",
|
|
|
|
"ext/web",
|
|
|
|
"ext/webgpu",
|
|
|
|
"ext/webidl",
|
|
|
|
"ext/websocket",
|
|
|
|
"ext/webstorage",
|
2022-10-05 14:06:44 +00:00
|
|
|
"ext/napi",
|
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
|
2022-09-27 12:55:02 +00:00
|
|
|
opt-level = 'z' # Optimize for size
|
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.bench]
|
|
|
|
codegen-units = 1
|
2021-04-10 06:46:27 +00:00
|
|
|
incremental = true
|
2021-04-09 18:03:32 +00:00
|
|
|
lto = true
|
2022-09-27 12:55:02 +00:00
|
|
|
opt-level = 'z' # Optimize for size
|
2021-04-09 18:03:32 +00:00
|
|
|
|
2021-08-13 08:08:13 +00:00
|
|
|
# Key generation is too slow on `debug`
|
|
|
|
[profile.dev.package.num-bigint-dig]
|
|
|
|
opt-level = 3
|
|
|
|
|
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
|
2022-03-13 23:19:53 +00:00
|
|
|
[profile.bench.package.deno_bench_util]
|
|
|
|
opt-level = 3
|
2021-05-11 22:06:58 +00:00
|
|
|
[profile.bench.package.deno_core]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.deno_runtime]
|
|
|
|
opt-level = 3
|
2021-07-12 10:44:49 +00:00
|
|
|
[profile.bench.package.deno_http]
|
|
|
|
opt-level = 3
|
2022-03-13 23:19:53 +00:00
|
|
|
[profile.bench.package.deno_web]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.deno_broadcast_channel]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.deno_fetch]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.deno_ffi]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.deno_tls]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.deno_websocket]
|
|
|
|
opt-level = 3
|
2021-07-05 23:23:18 +00:00
|
|
|
[profile.bench.package.deno_net]
|
|
|
|
opt-level = 3
|
2022-03-13 23:19:53 +00:00
|
|
|
[profile.bench.package.deno_crypto]
|
|
|
|
opt-level = 3
|
2021-08-13 08:08:13 +00:00
|
|
|
[profile.bench.package.num-bigint-dig]
|
|
|
|
opt-level = 3
|
2021-10-27 21:26:15 +00:00
|
|
|
[profile.bench.package.v8]
|
2021-05-11 22:06:58 +00:00
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.serde_v8]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.serde]
|
|
|
|
opt-level = 3
|
2021-08-19 17:11:27 +00:00
|
|
|
[profile.bench.package.deno_url]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.url]
|
|
|
|
opt-level = 3
|
2021-11-04 14:44:57 +00:00
|
|
|
[profile.bench.package.bytes]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.futures-util]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.hyper]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.tokio]
|
|
|
|
opt-level = 3
|
2022-01-10 23:51:23 +00:00
|
|
|
[profile.bench.package.zstd]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.lzzzz]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.zstd-sys]
|
|
|
|
opt-level = 3
|
2022-06-29 15:42:39 +00:00
|
|
|
[profile.bench.package.base64-simd]
|
|
|
|
opt-level = 3
|
2021-05-11 22:06:58 +00:00
|
|
|
|
|
|
|
# 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
|
2022-03-13 23:19:53 +00:00
|
|
|
[profile.release.package.deno_bench_util]
|
|
|
|
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-12 10:44:49 +00:00
|
|
|
[profile.release.package.deno_http]
|
|
|
|
opt-level = 3
|
2022-08-18 12:05:02 +00:00
|
|
|
[profile.release.package.deno_flash]
|
|
|
|
opt-level = 3
|
2021-07-05 23:23:18 +00:00
|
|
|
[profile.release.package.deno_net]
|
|
|
|
opt-level = 3
|
2022-03-13 23:19:53 +00:00
|
|
|
[profile.release.package.deno_web]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.deno_crypto]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.deno_broadcast_channel]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.deno_fetch]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.deno_ffi]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.deno_tls]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.deno_websocket]
|
|
|
|
opt-level = 3
|
2022-10-05 14:06:44 +00:00
|
|
|
[profile.release.package.deno_napi]
|
|
|
|
opt-level = 3
|
2022-10-07 10:54:01 +00:00
|
|
|
[profile.release.package.test_napi]
|
|
|
|
opt-level = 3
|
2021-08-13 08:08:13 +00:00
|
|
|
[profile.release.package.num-bigint-dig]
|
|
|
|
opt-level = 3
|
2021-10-27 21:26:15 +00:00
|
|
|
[profile.release.package.v8]
|
2021-04-06 17:38:49 +00:00
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.serde_v8]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.serde]
|
|
|
|
opt-level = 3
|
2021-08-19 17:11:27 +00:00
|
|
|
[profile.release.package.deno_url]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.url]
|
|
|
|
opt-level = 3
|
2021-11-04 14:44:57 +00:00
|
|
|
[profile.release.package.bytes]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.futures-util]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.hyper]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.tokio]
|
|
|
|
opt-level = 3
|
2022-01-10 23:51:23 +00:00
|
|
|
[profile.release.package.zstd]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.lzzzz]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.zstd-sys]
|
|
|
|
opt-level = 3
|
2022-06-29 15:42:39 +00:00
|
|
|
[profile.release.package.base64-simd]
|
|
|
|
opt-level = 3
|