2021-01-10 21:59:07 -05:00
|
|
|
# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
|
2020-09-21 21:26:41 +09:00
|
|
|
|
2019-02-26 16:23:30 -08:00
|
|
|
[workspace]
|
2021-08-24 13:29:42 +02:00
|
|
|
resolver = "2"
|
2019-02-26 16:23:30 -08:00
|
|
|
members = [
|
2021-05-17 23:11:40 +02:00
|
|
|
"bench_util",
|
2019-03-30 14:45:36 -04:00
|
|
|
"cli",
|
2019-02-26 16:23:30 -08:00
|
|
|
"core",
|
2020-12-13 19:45:53 +01:00
|
|
|
"runtime",
|
2021-10-20 00:00:45 +02:00
|
|
|
"serde_v8",
|
2021-08-06 23:28:10 +02:00
|
|
|
"test_ffi",
|
2020-06-18 17:54:55 +02:00
|
|
|
"test_util",
|
2021-08-11 12:27:05 +02:00
|
|
|
"ext/broadcast_channel",
|
|
|
|
"ext/console",
|
|
|
|
"ext/crypto",
|
|
|
|
"ext/fetch",
|
|
|
|
"ext/ffi",
|
|
|
|
"ext/http",
|
|
|
|
"ext/net",
|
|
|
|
"ext/timers",
|
|
|
|
"ext/url",
|
|
|
|
"ext/web",
|
|
|
|
"ext/webgpu",
|
|
|
|
"ext/webidl",
|
|
|
|
"ext/websocket",
|
|
|
|
"ext/webstorage",
|
2019-02-26 16:23:30 -08:00
|
|
|
]
|
2021-05-17 23:11:40 +02:00
|
|
|
exclude = ["test_util/std/hash/_wasm"]
|
2021-04-09 14:03:32 -04:00
|
|
|
|
2021-05-11 22:06:58 +00:00
|
|
|
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
|
2021-04-09 14:03:32 -04:00
|
|
|
[profile.release]
|
|
|
|
codegen-units = 1
|
2021-04-10 08:46:27 +02:00
|
|
|
incremental = true
|
2021-04-09 14:03:32 -04: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 14:03:32 -04:00
|
|
|
[profile.bench]
|
|
|
|
codegen-units = 1
|
2021-04-10 08:46:27 +02:00
|
|
|
incremental = true
|
2021-04-09 14:03:32 -04:00
|
|
|
lto = true
|
|
|
|
opt-level = 'z' # Optimize for size
|
|
|
|
|
2021-08-13 13:38:13 +05:30
|
|
|
# Key generation is too slow on `debug`
|
2021-08-24 13:29:42 +02:00
|
|
|
#
|
2021-08-13 13:38:13 +05:30
|
|
|
[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
|
|
|
|
[profile.bench.package.deno_core]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.deno_runtime]
|
|
|
|
opt-level = 3
|
2021-07-12 12:44:49 +02:00
|
|
|
[profile.bench.package.deno_http]
|
|
|
|
opt-level = 3
|
2021-07-06 01:23:18 +02:00
|
|
|
[profile.bench.package.deno_net]
|
|
|
|
opt-level = 3
|
2021-08-13 13:38:13 +05:30
|
|
|
[profile.bench.package.num-bigint-dig]
|
|
|
|
opt-level = 3
|
2021-10-27 23:26:15 +02: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 19:11:27 +02:00
|
|
|
[profile.bench.package.deno_url]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.url]
|
|
|
|
opt-level = 3
|
2021-11-04 07:44:57 -07: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
|
2021-05-11 22:06:58 +00:00
|
|
|
|
|
|
|
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
|
2021-02-18 09:46:31 -05: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 03:36:46 +01:00
|
|
|
opt-level = 3
|
2021-04-06 19:38:49 +02:00
|
|
|
[profile.release.package.deno_core]
|
|
|
|
opt-level = 3
|
2021-04-11 14:10:22 +02:00
|
|
|
[profile.release.package.deno_runtime]
|
|
|
|
opt-level = 3
|
2021-07-12 12:44:49 +02:00
|
|
|
[profile.release.package.deno_http]
|
|
|
|
opt-level = 3
|
2021-07-06 01:23:18 +02:00
|
|
|
[profile.release.package.deno_net]
|
|
|
|
opt-level = 3
|
2021-08-13 13:38:13 +05:30
|
|
|
[profile.release.package.num-bigint-dig]
|
|
|
|
opt-level = 3
|
2021-10-27 23:26:15 +02:00
|
|
|
[profile.release.package.v8]
|
2021-04-06 19:38:49 +02:00
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.serde_v8]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.serde]
|
|
|
|
opt-level = 3
|
2021-08-19 19:11:27 +02:00
|
|
|
[profile.release.package.deno_url]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.url]
|
|
|
|
opt-level = 3
|
2021-11-04 07:44:57 -07: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
|