Bartek Iwańczuk
41ba7cdade
bench: fix CI ( #25547 )
...
Fixes bench failures on `main` branch.
2024-09-10 00:19:49 +00:00
David Sherret
7e72f3af61
chore: update copyright to 2024 ( #21753 )
2024-01-01 19:58:21 +00:00
Matt Mastracci
88bc2ed02d
chore: make http benches more reliable to start ( #21240 )
2023-11-17 14:33:02 -07:00
Divy Srivastava
c2259f78eb
chore: remove third_party submodule ( #20201 )
...
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-08-19 09:56:12 +05:30
Bartek Iwańczuk
bc381572d1
build: remove stale benchmark ( #19681 )
...
With https://github.com/denoland/deno/pull/19658 we can't bench it
anymore.
2023-07-02 03:24:54 +02:00
David Sherret
7f15126f23
chore(tests): test_util - Add PathRef
( #19450 )
...
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-06-10 11:09:45 -04:00
Bartek Iwańczuk
7415aff983
bench: fix more benchmarks ( #18864 )
2023-04-26 21:59:32 +00:00
Divy Srivastava
34d596e04f
chore(cli/bench): add ws echo bench ( #18595 )
2023-04-05 18:31:07 +05:30
David Sherret
fb021d7cef
refactor: remove usages of map_or
/ map_or_else
( #18212 )
...
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-03-15 17:46:36 -04:00
David Sherret
f5840bdcd3
chore: upgrade to Rust 1.67 ( #17548 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-01-27 10:43:16 -05:00
Divy Srivastava
d5634164cb
chore: use rustfmt imports_granularity option ( #17421 )
...
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-14 23:18:58 -05:00
Yiyu Lin
896dd56b7a
refactor(cli,core,ext,rt): remove some unnecessary clone
or malloc
( #17274 )
2023-01-05 14:29:50 -05:00
David Sherret
10e4b2e140
chore: update copyright year to 2023 ( #17247 )
...
Yearly tradition of creating extra noise in git.
2023-01-02 21:00:42 +00:00
Bartek Iwańczuk
eee323ff0d
bench: run HTTP benches for 10s ( #16322 )
...
ci / bench release ubuntu-20.04-xl (pull_request) went from 27m to 24m
2022-10-17 16:55:15 +02:00
Bartek Iwańczuk
8283d37c51
bench: avoid port collision ( #16285 )
2022-10-15 13:35:04 +02:00
Luke Channings
a2488ae792
fix(npm): support compiling on linux/aarch64 ( #16208 )
...
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-10-10 07:59:31 +05:30
Divy Srivastava
350994e6a6
chore(cli/bench): Add more HTTP benchmarks ( #14995 )
2022-07-01 12:59:01 +05:30
Divy Srivastava
5eb9abd65f
chore(cli/bench): Add bun HTTP server ( #15004 )
2022-06-29 16:57:19 +05:30
bokuweb
91570ba6e8
chore(cli): remove unnecessary unsafe in bench ( #15000 )
2022-06-29 13:46:02 +05:30
Divy Srivastava
ab11b45d1d
refactor(bench): continuous benchmarking improvements ( #14821 )
2022-06-28 17:51:05 +05:30
Luca Casonato
8d82ba7299
build: require safety comments on unsafe code ( #13870 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-06-26 00:13:24 +02:00
Divy Srivastava
4305bb4bd8
chore(bench): generalized HTTP benchmarks framework ( #14815 )
2022-06-08 17:33:38 +05:30
David Sherret
53dac7451b
chore: remove all pub(crate)
s from the cli crate ( #14083 )
2022-03-23 09:54:22 -04:00
Ryan Dahl
1fb5858009
chore: update copyright to 2022 ( #13306 )
...
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2022-01-07 22:09:52 -05:00
Ryan Dahl
10c415eaaa
Remove some unused benchmarks ( #12315 )
2021-10-05 22:27:44 -04:00
Bartek Iwańczuk
3a2e94492b
feat: stabilize Deno.serveHttp() ( #11544 )
...
This commit moves "Deno.serveHttp()" and related types
to stable namespace.
2021-08-02 14:40:46 +02:00
Aaron O'Mullan
46b1c653c0
refactor(deno): remove concept of bin & json ops ( #10145 )
2021-04-12 15:55:05 -04:00
Bartek Iwańczuk
70af812876
feat: native HTTP bindings ( #9935 )
...
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-08 18:34:15 -04:00
Inteon
d050b491b1
fix(core): error handling in examples ( #9867 )
2021-04-08 18:04:02 +02:00
Yusuke Tanaka
e7954413e1
upgrade: Rust 1.51.0 ( #9895 )
2021-03-25 19:17:37 +01:00
Casper Beyer
6abf126c2a
chore: remove std directory ( #9361 )
...
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-02-02 12:05:46 +01:00
Yusuke Tanaka
d8fd71afdf
chore: update copyright to 2021 ( #9092 )
2021-01-11 18:13:41 +01:00
KNnut
aaf7166a9d
refactor(cli): remove unnecessary format! calls ( #8315 )
2020-11-09 15:38:29 +01:00
tokiedokie
ec96323823
chore(std/http): rename http_bench.ts -> bench.ts ( #7509 )
2020-10-04 13:34:52 +02:00
Valentin Anger
31f32ed8c4
Move benchmarks to Rust ( #7134 )
...
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.
2020-08-28 09:03:50 -04:00