summaryrefslogtreecommitdiff
path: root/cli/module_loader.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-06-14 17:04:49 +0200
committerGitHub <noreply@github.com>2023-06-14 17:04:49 +0200
commit348287825cdefecdd6dda6ce5c8652fdfc69837c (patch)
tree223e124cc9b3a27fc879dbf5f487249a208f9804 /cli/module_loader.rs
parent5ef225853c0f81ba0a7d1ce888ab3b2d283eae0a (diff)
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 ```
Diffstat (limited to 'cli/module_loader.rs')
0 files changed, 0 insertions, 0 deletions