1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-08 07:08:27 -05:00
denoland-deno/ext
Bartek Iwańczuk 7136ede444
perf(web): optimize timer resolution (#19493)
Closes https://github.com/denoland/deno/issues/19348

This changes benchmark from the issue from:
```
deno run -A https://raw.githubusercontent.com/nats-io/nats.deno/deno-transport-changes/examples/bench.js --subject a --payload 3500 --pub --count 650000
pub 7,636 msgs/sec - [85.13 secs] ~ 25.49 MB/sec 85127.8765/85127.8765
```
to:
```
> ./target/release/deno run -A https://raw.githubusercontent.com/nats-io/nats.deno/deno-transport-changes/examples/bench.js --subject a --payload 3500 --pub --count 650000
pub 176,840 msgs/sec - [3.68 secs] ~ 590.27 MB/sec 3675.646833/3675.646833

> ./target/release/deno run -A https://raw.githubusercontent.com/nats-io/nats.deno/deno-transport-changes/examples/bench.js --subject a --payload 3500 --pub --count 650000
pub 174,589 msgs/sec - [3.72 secs] ~ 582.76 MB/sec 3723.01925/3723.01925
```
2023-06-15 22:50:39 +02:00
..
broadcast_channel 1.34.2 (#19433) 2023-06-09 02:13:59 +02:00
cache 1.34.2 (#19433) 2023-06-09 02:13:59 +02:00
console 1.34.2 (#19433) 2023-06-09 02:13:59 +02:00
crypto 1.34.2 (#19433) 2023-06-09 02:13:59 +02:00
fetch perf(http): cache verified headers (#19465) 2023-06-15 22:50:37 +02:00
ffi 1.34.2 (#19433) 2023-06-09 02:13:59 +02:00
fs Revert "refactor(core): cleanup feature flags for js source inclusion… (#19490) 2023-06-15 22:50:38 +02:00
http fix(ext/http): Include hostname in onListen argument (#19497) 2023-06-15 22:50:39 +02:00
io 1.34.2 (#19433) 2023-06-09 02:13:59 +02:00
kv feat(kv) queue implementation (#19459) 2023-06-15 22:50:38 +02:00
napi 1.34.2 (#19433) 2023-06-09 02:13:59 +02:00
net Revert "refactor(core): cleanup feature flags for js source inclusion… (#19490) 2023-06-15 22:50:38 +02:00
node fix(node/buffer): make slice be the same as subarray (#19481) 2023-06-15 22:50:37 +02:00
tls 1.34.2 (#19433) 2023-06-09 02:13:59 +02:00
url Revert "refactor(core): cleanup feature flags for js source inclusion… (#19490) 2023-06-15 22:50:38 +02:00
web perf(web): optimize timer resolution (#19493) 2023-06-15 22:50:39 +02:00
webidl Revert "refactor(core): cleanup feature flags for js source inclusion… (#19490) 2023-06-15 22:50:38 +02:00
websocket fix(ext/websockets): ensure we fully send frames before close (#19484) 2023-06-15 22:50:37 +02:00
webstorage 1.34.2 (#19433) 2023-06-09 02:13:59 +02:00