summaryrefslogtreecommitdiff
path: root/cli/bench/http.rs
AgeCommit message (Collapse)Author
2024-10-24bench: remove http benchmarks (#26484)Bartek Iwańczuk
These benchmarks run on GitHub Actions and are extremely noisy, thus not providing much value.
2024-09-10bench: fix CI (#25547)Bartek Iwańczuk
Fixes bench failures on `main` branch.
2024-01-01chore: update copyright to 2024 (#21753)David Sherret
2023-11-17chore: make http benches more reliable to start (#21240)Matt Mastracci
2023-08-19chore: remove third_party submodule (#20201)Divy Srivastava
removes third_party submodule, tools are installed on-demand. - removed `load_test` and websocket benchmark (covered by benchy) - removed node/bun http benchmarks (covered by benchy) - `dlint` & `dprint` downloaded on-demand. - `wrk` & `hyperfine` downloaded before CI benchmark run. Install locally using: `./tools/install_prebuilt.js wrk hyperfine` #### updating dlint/dprint update version in `tools/util.js` and place binary in `denoland/deno_third_party`.
2023-07-02build: remove stale benchmark (#19681)Bartek Iwańczuk
With https://github.com/denoland/deno/pull/19658 we can't bench it anymore.
2023-06-10chore(tests): test_util - Add `PathRef` (#19450)David Sherret
This adds a new `PathRef` struct to test_util for making it easier to work with paths in test code. I'm going to expand on this more in the future.
2023-04-26bench: fix more benchmarks (#18864)Bartek Iwańczuk
2023-04-05chore(cli/bench): add ws echo bench (#18595)Divy Srivastava
2023-03-15refactor: remove usages of `map_or` / `map_or_else` (#18212)David Sherret
These methods are confusing because the arguments are backwards. I feel like they should have never been added to `Option<T>` and that clippy should suggest rewriting to `map(...).unwrap_or(...)`/`map(...).unwrap_or_else(|| ...)` https://github.com/rust-lang/rfcs/issues/1025
2023-01-27chore: upgrade to Rust 1.67 (#17548)David Sherret
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-01-14chore: use rustfmt imports_granularity option (#17421)Divy Srivastava
Closes https://github.com/denoland/deno/issues/2699 Closes https://github.com/denoland/deno/issues/2347 Uses unstable rustfmt features. Since dprint invokes `rustfmt` we do not need to switch the cargo toolchain to nightly. Do we care about formatting stability of our codebase across Rust versions? (I don't)
2023-01-05refactor(cli,core,ext,rt): remove some unnecessary `clone` or `malloc` (#17274)Yiyu Lin
2023-01-02chore: update copyright year to 2023 (#17247)David Sherret
Yearly tradition of creating extra noise in git.
2022-10-17bench: run HTTP benches for 10s (#16322)Bartek Iwańczuk
ci / bench release ubuntu-20.04-xl (pull_request) went from 27m to 24m
2022-10-15bench: avoid port collision (#16285)Bartek Iwańczuk
2022-10-10fix(npm): support compiling on linux/aarch64 (#16208)Luke Channings
Changes introduced in #13633 have broken the ability to compile for linux/aarch64 - specifically the use of a `i8` as a char type, which is an `u8` on linux/aarch64. This PR: - Replaces instances of `i8` with the architecture-aware wrapper type `c_char` - Skips the use of `--export-dynamic-symbol` on linux-aarch64, because the target environments often rely on older libc/binutils versions
2022-07-01chore(cli/bench): Add more HTTP benchmarks (#14995)Divy Srivastava
2022-06-29chore(cli/bench): Add bun HTTP server (#15004)Divy Srivastava
2022-06-29chore(cli): remove unnecessary unsafe in bench (#15000)bokuweb
2022-06-28refactor(bench): continuous benchmarking improvements (#14821)Divy Srivastava
2022-06-26build: require safety comments on unsafe code (#13870)Luca Casonato
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-06-08chore(bench): generalized HTTP benchmarks framework (#14815)Divy Srivastava
2022-03-23chore: remove all `pub(crate)`s from the cli crate (#14083)David Sherret
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2021-10-05Remove some unused benchmarks (#12315)Ryan Dahl
2021-08-02feat: stabilize Deno.serveHttp() (#11544)Bartek Iwańczuk
This commit moves "Deno.serveHttp()" and related types to stable namespace.
2021-04-12refactor(deno): remove concept of bin & json ops (#10145)Aaron O'Mullan
2021-04-08feat: native HTTP bindings (#9935)Bartek Iwańczuk
Co-authered-by: Luca Casonato <lucacasonato@yahoo.com> Co-authered-by: Ben Noordhuis <info@bnoordhuis.nl> Co-authered-by: Ryan Dahl <ry@tinyclouds.org>
2021-04-08fix(core): error handling in examples (#9867)Inteon
2021-03-25upgrade: Rust 1.51.0 (#9895)Yusuke Tanaka
2021-02-02chore: remove std directory (#9361)Casper Beyer
This removes the std folder from the tree. Various parts of the tests are pretty tightly dependent on std (47 direct imports and 75 indirect imports, not counting the cli tests that use them as fixtures) so I've added std as a submodule for now.
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2020-11-09refactor(cli): remove unnecessary format! calls (#8315)KNnut
2020-10-04chore(std/http): rename http_bench.ts -> bench.ts (#7509)tokiedokie
2020-08-28Move benchmarks to Rust (#7134)Valentin Anger
All benchmarks are done in Rust and can be invoked with `cargo bench`. Currently this has it's own "harness" that behaves like `./tools/benchmark.py` did. Because of this tests inside `cli/bench` are currently not run. This should be switched to the language provided harness once the `#[bench]` attribute has been stabilized.