1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00
denoland-deno/cli
Bartek Iwańczuk 02dd09a36f
bench: add benchmark for deferred async ops (#18722)
```
./target/release/deno run cli/bench/async_ops_deferred.js
time 794 ms rate 1259445
time 786 ms rate 1272264
time 770 ms rate 1298701
time 784 ms rate 1275510
time 775 ms rate 1290322
time 786 ms rate 1272264
time 773 ms rate 1293661
time 771 ms rate 1297016
time 774 ms rate 1291989
time 767 ms rate 1303780
time 764 ms rate 1308900
time 768 ms rate 1302083
time 763 ms rate 1310615
time 761 ms rate 1314060
time 761 ms rate 1314060
time 762 ms rate 1312335
time 763 ms rate 1310615
time 759 ms rate 1317523
time 760 ms rate 1315789
time 761 ms rate 1314060
time 769 ms rate 1300390
time 763 ms rate 1310615
time 760 ms rate 1315789
time 763 ms rate 1310615
time 761 ms rate 1314060
time 759 ms rate 1317523
time 765 ms rate 1307189
time 760 ms rate 1315789
time 764 ms rate 1308900
time 763 ms rate 1310615
time 760 ms rate 1315789
time 757 ms rate 1321003
time 763 ms rate 1310615
time 759 ms rate 1317523
time 771 ms rate 1297016
time 759 ms rate 1317523
time 759 ms rate 1317523
time 763 ms rate 1310615
time 754 ms rate 1326259
time 755 ms rate 1324503
time 762 ms rate 1312335
time 752 ms rate 1329787
time 755 ms rate 1324503
time 754 ms rate 1326259
time 759 ms rate 1317523
time 754 ms rate 1326259
time 749 ms rate 1335113
time 753 ms rate 1328021
time 756 ms rate 1322751
time 753 ms rate 1328021
```

```
samply record -r 20000 target/release/deno run cli/bench/async_ops_deferred.js
```

https://share.firefox.dev/43Efvm6
2023-04-16 19:47:06 +00:00
..
args refactor: upgrade to deno_npm 0.3.0 (#18671) 2023-04-13 10:47:45 -04:00
bench bench: add benchmark for deferred async ops (#18722) 2023-04-16 19:47:06 +00:00
cache refactor: break up ProcState (#18707) 2023-04-14 16:22:33 -04:00
js refactor(cli): move runTests() and runBenchmarks() to rust (#18563) 2023-04-13 19:43:23 +02:00
lsp refactor: break up ProcState (#18707) 2023-04-14 16:22:33 -04:00
napi chore: forward v1.32.4 release commit to main (#18669) 2023-04-12 13:03:27 -04:00
node refactor: break up ProcState (#18707) 2023-04-14 16:22:33 -04:00
npm refactor: break up ProcState (#18707) 2023-04-14 16:22:33 -04:00
ops refactor(cli): move runTests() and runBenchmarks() to rust (#18563) 2023-04-13 19:43:23 +02:00
schemas feat: embed import map in the config file (#17478) 2023-01-25 21:13:40 +01:00
tests Revert "perf(core): immediately schedule another tick if there are un… (#18718) 2023-04-16 14:05:13 +00:00
tools refactor: add TypeChecker struct (#18709) 2023-04-14 18:05:46 -04:00
tsc feat(kv): AtomicOperation#sum (#18704) 2023-04-15 10:33:31 +02:00
util test(runtime): support Windows in resolve_from_cwd_absolute (#18379) 2023-04-13 01:45:53 +02:00
auth_tokens.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
build.rs refactor(cli,ext,ops): cleanup regex with lazy-regex (#17296) 2023-04-13 03:08:01 +02:00
Cargo.toml refactor: upgrade to deno_npm 0.3.0 (#18671) 2023-04-13 10:47:45 -04:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
deno_std.rs chore: forward v1.32.4 release commit to main (#18669) 2023-04-12 13:03:27 -04:00
emit.rs refactor: break up ProcState (#18707) 2023-04-14 16:22:33 -04:00
errors.rs feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
file_fetcher.rs Revert "fix(cli): don't store blob and data urls in the module cache (#18261)" (#18572) 2023-04-03 21:05:39 +09:00
graph_util.rs refactor: add TypeChecker struct (#18709) 2023-04-14 18:05:46 -04:00
http_util.rs refactor: remove usages of map_or / map_or_else (#18212) 2023-03-15 17:46:36 -04:00
js.rs refactor(core): Improve ergonomics of managing ASCII strings (#18498) 2023-04-04 06:46:31 -06:00
main.rs refactor: break up ProcState (#18707) 2023-04-14 16:22:33 -04:00
module_loader.rs refactor: add TypeChecker struct (#18709) 2023-04-14 18:05:46 -04:00
proc_state.rs refactor: add TypeChecker struct (#18709) 2023-04-14 18:05:46 -04:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs refactor: break up ProcState (#18707) 2023-04-14 16:22:33 -04:00
standalone.rs refactor: ProcState::build -> ProcState::from_flags (#18672) 2023-04-12 14:54:28 -04:00
version.rs refactor: make version and user_agent &'static str (#18400) 2023-03-23 23:27:58 +01:00
worker.rs refactor: break up ProcState (#18707) 2023-04-14 16:22:33 -04:00

Deno CLI Crate

crates

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core to provide the executable.