1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
denoland-deno/cli/bench
Divy Srivastava 6982c74e11
perf: use fast api for io read/write sync (#15863)
```
$ dd if=/dev/zero bs=65536 count=500000 | ./stdio # C baseline

500000+0 records in
500000+0 records out
32768000000 bytes transferred in 4.126087 secs (7941664827 bytes/sec)
c: size 32768000000 reads 500000 blocksize 65536
```

```
$ dd if=/dev/zero bs=65536 count=500000 | deno run stdio.js # Deno

500000+0 records in
500000+0 records out
32768000000 bytes transferred in 4.279032 secs (7657806719 bytes/sec)
deno: size 32768000000 reads 500000 blocksize 65536
```
2022-12-02 11:35:18 +05:30
..
fs perf: fs optimizations - part 1 (#15873) 2022-09-22 14:39:25 +05:30
http perf(ext/fetch): consume body using ops (#16038) 2022-10-04 15:48:50 +02:00
napi perf(napi): optimize primitive napi functions (#16163) 2022-10-07 16:24:01 +05:30
stdio perf: use fast api for io read/write sync (#15863) 2022-12-02 11:35:18 +05:30
testdata feat(ext/flash): split upgradeHttp into two APIs (#15557) 2022-08-24 17:40:57 +05:30
async_ops.js Reland "perf(core): generate inlined wrappers for async ops" (#16455) 2022-10-28 16:50:17 +05:30
cache_api.js feat: implement Web Cache API (#15829) 2022-09-28 17:41:12 +05:30
console.js feat(ops): Fast zero copy string arguments (#16777) 2022-12-02 05:29:15 +00:00
deno_common.js feat(ops): Automatic fast ops creation (#15527) 2022-09-22 10:05:24 +05:30
encode_into.js feat(ops): Fast zero copy string arguments (#16777) 2022-12-02 05:29:15 +00:00
getrandom.js perf(ext/crypto): optimize getRandomValues (#16212) 2022-10-09 15:38:38 +05:30
http.rs bench: run HTTP benches for 10s (#16322) 2022-10-17 16:55:15 +02:00
lsp.rs refactor(bench): continuous benchmarking improvements (#14821) 2022-06-28 17:51:05 +05:30
lsp_bench_standalone.rs feat(lsp): add experimental testing API (#13798) 2022-03-30 09:59:27 +11:00
main.rs chore: use Rust 1.65.0 (#16688) 2022-11-18 02:59:10 +01:00
op_now.js perf: use fast api for op_now (#15643) 2022-08-28 12:21:49 +05:30
README.md refactor(bench): continuous benchmarking improvements (#14821) 2022-06-28 17:51:05 +05:30
secure_curves.js feat(ext/crypto): add x25519 and Ed25519 CFRG curves (#14119) 2022-09-27 17:43:42 +05:30
spawn.js perf(runtime/spawn): collect output using op_read_all (#16596) 2022-11-15 14:06:52 +01:00
tcp.js perf(runtime): short-circuit queue_async_op for Poll::Ready (#15773) 2022-09-06 23:08:37 +05:30
tty.js feat: Stabilize Deno.consoleSize() API (#15933) 2022-10-26 00:23:21 +02:00
url_parse.js perf: optimize URL serialization (#15663) 2022-09-10 09:15:16 +05:30
webstorage.js feat(ops): Fast zero copy string arguments (#16777) 2022-12-02 05:29:15 +00:00
write_file.js perf(runtime): flatten arguments for write_file ops (#15776) 2022-09-05 17:20:48 +05:30

benchmark filtering:

cargo bench --bench deno_bench -- bundle

benchmark plots:

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