1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 18:19:08 -05:00
denoland-deno/test_util/src
Ben Noordhuis 88855b5d95
fix(test_util): make hyper server single-threaded (#8951)
Use Tokio's single-threaded scheduler. The hyper server is used as a
point of comparison for the (single-threaded!) benchmarks in cli/bench.

We're not comparing apples to apples if we use the default
multi-threaded scheduler.

This drops the requests/sec from 284k to 130k on my 12 core Ryzen 5
system. That still leaves a 50k gap for us to close. Working on it!
2021-01-02 11:27:16 +01:00
..
testdata Move benchmarks to Rust (#7134) 2020-08-28 09:03:50 -04:00
lib.rs fix(test_util): make hyper server single-threaded (#8951) 2021-01-02 11:27:16 +01:00
test_server.rs chore: add copyright (#7593) 2020-09-21 08:26:41 -04:00