1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/cli/bench
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
..
fs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
http refactor: remove "ext/flash" (#18578) 2023-04-03 19:01:02 +02:00
napi chore: add copyright_checker tool and add the missing copyright (#17285) 2023-01-13 16:51:32 +09:00
stdio chore: add copyright_checker tool and add the missing copyright (#17285) 2023-01-13 16:51:32 +09:00
testdata refactor: remove Deno.core (#16881) 2023-01-24 18:54:10 +01:00
websocket chore(cli/bench): add ws echo bench (#18595) 2023-04-05 18:31:07 +05:30
async_ops.js perf(ops): directly respond for eager ops (#18683) 2023-04-13 14:32:47 +02:00
async_ops_deferred.js bench: add benchmark for deferred async ops (#18722) 2023-04-16 19:47:06 +00:00
cache_api.js chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
command.js chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
console.js feat(ops): reland fast zero copy string arguments (#17996) 2023-03-03 19:04:10 +05:30
deno_common.js refactor: remove Deno.core (#16881) 2023-01-24 18:54:10 +01:00
encode_into.js feat(ops): reland fast zero copy string arguments (#17996) 2023-03-03 19:04:10 +05:30
getrandom.js chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
http.rs chore(cli/bench): add ws echo bench (#18595) 2023-04-05 18:31:07 +05:30
lsp.rs refactor(tests/lsp): consolidate more into test LspClient and reduce verbosity (#18100) 2023-03-09 15:09:03 -05:00
lsp_bench_standalone.rs refactor(tests/lsp): consolidate more into test LspClient and reduce verbosity (#18100) 2023-03-09 15:09:03 -05:00
main.rs chore(cli/bench): add ws echo bench (#18595) 2023-04-05 18:31:07 +05:30
op_now.js chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
README.md refactor(bench): continuous benchmarking improvements (#14821) 2022-06-28 17:51:05 +05:30
secure_curves.js chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
tcp.js chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
tty.js chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
url_parse.js chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
websocket.rs chore(cli/bench): add ws echo bench (#18595) 2023-04-05 18:31:07 +05:30
webstorage.js feat(ops): reland fast zero copy string arguments (#17996) 2023-03-03 19:04:10 +05:30
write_file.js chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00

benchmark filtering:

cargo bench --bench deno_bench -- bundle

benchmark plots:

new: https://denoland.grafana.net/d/vErC9VCnz/benchmarks?orgId=1 old: deno.land/benchmarks