1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/ext
Bartek Iwańczuk 348287825c
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-14 17:04:49 +02:00
..
broadcast_channel chore: forward v1.34.2 release commit to main (#19434) 2023-06-09 02:17:03 +00:00
cache chore: forward v1.34.2 release commit to main (#19434) 2023-06-09 02:17:03 +00:00
console chore: forward v1.34.2 release commit to main (#19434) 2023-06-09 02:17:03 +00:00
crypto chore: forward v1.34.2 release commit to main (#19434) 2023-06-09 02:17:03 +00:00
fetch perf(http): cache verified headers (#19465) 2023-06-13 21:13:34 +02:00
ffi chore: forward v1.34.2 release commit to main (#19434) 2023-06-09 02:17:03 +00:00
fs Revert "refactor(core): cleanup feature flags for js source inclusion… (#19490) 2023-06-13 22:36:16 +00:00
http fix(ext/http): Include hostname in onListen argument (#19497) 2023-06-14 06:58:41 -06:00
io chore: forward v1.34.2 release commit to main (#19434) 2023-06-09 02:17:03 +00:00
kv feat(kv) queue implementation (#19459) 2023-06-13 17:49:57 -07:00
napi chore: forward v1.34.2 release commit to main (#19434) 2023-06-09 02:17:03 +00:00
net Revert "refactor(core): cleanup feature flags for js source inclusion… (#19490) 2023-06-13 22:36:16 +00:00
node fix(node/buffer): make slice be the same as subarray (#19481) 2023-06-13 21:26:28 +02:00
tls chore: forward v1.34.2 release commit to main (#19434) 2023-06-09 02:17:03 +00:00
url Revert "refactor(core): cleanup feature flags for js source inclusion… (#19490) 2023-06-13 22:36:16 +00:00
web perf(web): optimize timer resolution (#19493) 2023-06-14 17:04:49 +02:00
webidl Revert "refactor(core): cleanup feature flags for js source inclusion… (#19490) 2023-06-13 22:36:16 +00:00
websocket fix(ext/websockets): ensure we fully send frames before close (#19484) 2023-06-13 17:16:17 +00:00
webstorage chore: forward v1.34.2 release commit to main (#19434) 2023-06-09 02:17:03 +00:00