summaryrefslogtreecommitdiff
path: root/cli/bench/deno_common.js
AgeCommit message (Collapse)Author
2024-09-04BREAKING(io): remove `Deno.read[Sync]()` (#25409)Asher Gomez
Towards #22079 Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-06-05chore: upgrade dlint to 0.60.0 (#24041)Bartek Iwańczuk
Factoring out `dlint` upgrade from https://github.com/denoland/deno/pull/24034 as it requires us to change the lint step on mac to use ARM runners. --------- Co-authored-by: Luca Casonato <hello@lcas.dev> Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2024-03-20chore(ext/io): remove use of deprecated `Deno.writeSync()` (#22872)Asher Gomez
2024-02-06bench: fix benchmark (#22279)Bartek Iwańczuk
Missed in https://github.com/denoland/deno/pull/22277
2024-02-06chore: remove benchmarks for ops (#22277)Bartek Iwańczuk
These are not useful, as we bench them in `deno_core` already.
2024-01-22chore: use `FsFile[Symbol.dispose]()` (#22007)Asher Gomez
This change takes advantage of explicit resources management for `FsFile` instances and tweaks documentation to encourage the use of it. --------- Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-04chore(cli): bump deno_core (#21790)Matt Mastracci
2024-01-01chore: update copyright to 2024 (#21753)David Sherret
2023-09-07feat: support import attributes (#20342)David Sherret
2023-01-24refactor: remove Deno.core (#16881)Bartek Iwańczuk
This commit removes "Deno.core" namespace. It is strictly private API that has no stability guarantees, we were supposed to remove it long time ago. Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-01-02chore: update copyright year to 2023 (#17247)David Sherret
Yearly tradition of creating extra noise in git.
2022-09-22feat(ops): Automatic fast ops creation (#15527)Aapo Alasuutari
2022-08-21feat(ops): V8 Fast Calls (#15291)Divy Srivastava
2022-08-19perf(runtime): optimize Deno.file open & stream (#15496)Divy Srivastava
2022-08-11perf(ops): Monomorphic sync op calls (#15337)Aapo Alasuutari
Welcome to better optimised op calls! Currently opSync is called with parameters of every type and count. This most definitely makes the call megamorphic. Additionally, it seems that spread params leads to V8 not being able to optimise the calls quite as well (apparently Fast Calls cannot be used with spread params). Monomorphising op calls should lead to some improved performance. Now that unwrapping of sync ops results is done on Rust side, this is pretty simple: ``` opSync("op_foo", param1, param2); // -> turns to ops.op_foo(param1, param2); ``` This means sync op calls are now just directly calling the native binding function. When V8 Fast API Calls are enabled, this will enable those to be called on the optimised path. Monomorphising async ops likely requires using callbacks and is left as an exercise to the reader.
2022-07-22Revert "feat(ops): V8 Fast Calls (#15122)" (#15276)Divy Srivastava
This reverts commit 03dc3b8972f460e40d0b75fc3207cae9fe4f60da.
2022-07-22feat(ops): V8 Fast Calls (#15122)Divy Srivastava
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-07-04chore(cli/bench): use `deno bench` for deno_common.js (#15063)Divy Srivastava
2022-03-16perf(web): optimize Blob.text and Blob.arrayBuffer (#13981)Divy Srivastava
2022-03-16perf(web): use DOMString for BlobParts (#13979)Divy Srivastava
2022-03-07bench(common): base64 short strings (#13851)Aaron O'Mullan
2022-03-04bench: add base64 roundtrip (#13839)Divy Srivastava
2022-01-13chore: rename cli/bench/fixtures to cli/bench/testdata (#13363)Ryan Dahl
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2021-10-10bench(deno_common): track void ops (#12389)Aaron O'Mullan
To track overhead through the entire CLI opcall stack (metrics included, etc...)
2021-09-21bench(deno_common): track new Request() (#12164)Aaron O'Mullan
Indirectly tests for: - url parsing - abort signal no-ops - webidl & other overhead
2021-08-29bench(deno_common): track readFile 128kb (#11862)Aaron O'Mullan
2021-04-20chore: update copyright headers (#10243)Yoshiya Hinosawa
2021-03-29bench: track Date.now() as upper bound reference (#9922)Aaron O'Mullan
2021-03-27feat(bench/deno_common): show ns/op (#9915)Aaron O'Mullan
It's simply the inverse of the rate (ops/s), but it's often useful to look at time per op
2021-03-26Add bench suite of common Deno functions (#9878)Aaron O'Mullan