mirror of
https://github.com/denoland/deno.git
synced 2025-02-22 05:12:55 -05:00
![]() Removes the TSC snapshot to unblock the V8 upgrade (which enables shared RO heap, and is incompatible with multiple snapshots). this compresses the sources and declaration files as well, which leads to a roughly 4.2MB reduction in binary size. this currently adds about 80ms to deno check times, but code cache isn't wired up for the extension code (namely `00_typescript.js`) yet ``` ❯ hyperfine --warmup 5 -p "rm -rf ~/Library/Caches/deno/check_cache_v2" "../../deno/target/release-lite/deno check main.ts" "deno check main.ts" Benchmark 1: ../../deno/target/release-lite/deno check main.ts Time (mean ± σ): 184.2 ms ± 2.2 ms [User: 378.3 ms, System: 48.2 ms] Range (min … max): 181.5 ms … 189.9 ms 15 runs Benchmark 2: deno check main.ts Time (mean ± σ): 107.4 ms ± 1.2 ms [User: 155.3 ms, System: 23.9 ms] Range (min … max): 105.3 ms … 109.6 ms 26 runs Summary deno check main.ts ran 1.72 ± 0.03 times faster than ../../deno/target/release-lite/deno check main.ts ``` --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> |
||
---|---|---|
.. | ||
bench_tests.rs | ||
cache_tests.rs | ||
check_tests.rs | ||
compile_tests.rs | ||
coverage_tests.rs | ||
eval_tests.rs | ||
flags_tests.rs | ||
fmt_tests.rs | ||
init_tests.rs | ||
inspector_tests.rs | ||
install_tests.rs | ||
js_unit_tests.rs | ||
jsr_tests.rs | ||
jupyter_tests.rs | ||
lsp_tests.rs | ||
mod.rs | ||
node_unit_tests.rs | ||
npm_tests.rs | ||
pm_tests.rs | ||
publish_tests.rs | ||
repl_tests.rs | ||
run_tests.rs | ||
serve_tests.rs | ||
shared_library_tests.rs | ||
task_tests.rs | ||
test_tests.rs | ||
upgrade_tests.rs | ||
watcher_tests.rs |