summaryrefslogtreecommitdiff
path: root/tools/http_benchmark.py
AgeCommit message (Collapse)Author
2020-02-21feat: support UDP sockets (#3946)hazæ41
2020-02-07Refactor deno_core_http_bench and make it single-threaded (#3903)Bert Belder
2020-02-03refactor: Use Tokio's single-threaded runtime (#3844)Ryan Dahl
This change simplifies how we execute V8. Previously V8 Isolates jumped around threads every time they were woken up. This was overly complex and potentially hurting performance in a myriad ways. Now isolates run on their own dedicated thread and never move. - blocking_json spawns a thread and does not use a thread pool - op_host_poll_worker and op_host_resume_worker are non-operational - removes Worker::get_message and Worker::post_message - ThreadSafeState::workers table contains WorkerChannel entries instead of actual Worker instances. - MainWorker and CompilerWorker are no longer Futures. - The multi-threaded version of deno_core_http_bench was removed. - AyncOps no longer need to be Send + Sync This PR is very large and several tests were disabled to speed integration: - installer_test_local_module_run - installer_test_remote_module_run - _015_duplicate_parallel_import - _026_workers
2020-01-30Remove --current-thread flag (#3830)Ryan Dahl
This flag was added to evaluate performance relative to tokio's threaded runtime. Although it's faster in the HTTP benchmark, it's clear the runtime is not the only perf problem. Removing this flag will simplify further refactors, in particular adopting the #[tokio::main] macro. This will be done in a follow up. Ultimately we expect to move to the current thread runtime with Isolates pinned to specific threads, but that will be a much larger refactor. The --current-thread just complicates that effort.
2020-01-15Revert "feat(flags): script arguments come after '--'" (#3681)Ry Dahl
Due to complaints about ergonomics and because it breaks shebang on linux. This reverts commit 2d5457df15d8c4a81362bb2d185b5c6013faa1d8. BREAKING CHANGE
2020-01-13extend bencharks to 20sBartek Iwańczuk
2020-01-08feat(flags): script arguments come after '--' (#3621)Ry Dahl
2020-01-02Happy new year! (#3578)Ry Dahl
2019-10-28Move prebuilt binaries to third_party (#3227)Ry Dahl
2019-10-04Move deno_std to a more convenient location. (#3057)Ryan Dahl
js/deps/https/deno.land/std -> js/std
2019-09-30Use 0.0.0.0 for servers in benchmarks and tests (#3010)Ryan Dahl
2019-09-20dial/listen API change (#3000)Ryan Dahl
Previously: dial("tcp", "deno.land:80") Now: dial({ hostname: "deno.land", port: 80, transport: "tcp" }) Similarly with listen().
2019-09-11Upgrade pylint (#2917)Ryan Dahl
depot_tools is removing pylint from its distribution so we must maintain our own copy.
2019-09-06Remove tools/build.py (#2865)Ryan Dahl
Testing regression: ASAN build removed.
2019-08-26fix: shared queue requires aligned buffer (#2816)Bartek Iwańczuk
2019-07-31Add --current-thread flag (#2702)Bartek Iwańczuk
2019-07-28benchmarks: make latency benchmark less noisy (#2689)Bartek Iwańczuk
2019-06-07http benchmarks with unique ports (#2471)Kurt Mackey
2019-06-06add tcp proxy benchmarks + split out website section for proxy req/s (#2464)Kurt Mackey
2019-06-06add http proxy benchmark (#2462)Kurt Mackey
2019-05-14Rename HTTP benchmarks (#2350)Ryan Dahl
2019-05-03add "deno run" subcommand (#2215)Bartek Iwańczuk
2019-04-17benchmarks: fix max_memory and clean up (#2137)Ryan Dahl
2019-03-24Add benchmark for max latency (#1975)Bernard Lin
2019-03-06Replace deno.land/x/std with deno.land/std (#1890)Andy Hayden
2019-02-26deno_core (#1827)Ryan Dahl
A new low-level crate with focus on speed. This doesn't yet hook into the existing code base.
2019-01-31Upgrade deno_std to bef7ba (#1609)Ryan Dahl
2019-01-21chore: update license lines (#1557)Yoshiya Hinosawa
2018-12-24deno_net -> deno_std renameRyan Dahl
Also don't format external js/deps
2018-12-07Add benchmark for net/http (#1289)Bartek Iwańczuk
2018-11-08build: Use target/ instead of out/ (#1153)Ryan Dahl
2018-10-23Add node_tcp target to http_benchmark. (#1074)Ryan Dahl
2018-10-21Add URLSearchParams (#1049)Kyra
2018-10-20Add Rust hyper http benchmark (#1043)Kevin (Kun) "Kassimo" Qian
* Add go net/http benchmark * Forget about Go. Let's do Rust Hyper * Update BUILD.gn * Rename
2018-10-20Add rustfmt to third_party.Ryan Dahl
2018-10-19Add missing copyrights (#1024)ztplz
2018-10-19Fix a typo in http_benchmark.pyJ2P
2018-10-17Only run deno during ./tools/http_benchmark.pyRyan Dahl
2018-10-16First pass at http benchmark.Ryan Dahl