summaryrefslogtreecommitdiff
path: root/cli/bench
AgeCommit message (Collapse)Author
2022-09-28feat: implement Web Cache API (#15829)Satya Rohith
2022-09-27fix(cli/bench): strace numeric format (#16055)Marcos Casagrande
2022-09-27feat(ext/crypto): add x25519 and Ed25519 CFRG curves (#14119)Divy Srivastava
2022-09-23perf: use fast ops for tty (#15976)Divy Srivastava
2022-09-22perf: fs optimizations - part 1 (#15873)Divy Srivastava
2022-09-22feat(ops): Automatic fast ops creation (#15527)Aapo Alasuutari
2022-09-19refactor: move out test files from root testdata directory into sub ↵David Sherret
directories (#15949)
2022-09-17perf(web): optimize encodeInto() (#15922)Divy Srivastava
2022-09-17perf(ext/console): avoid `wrapConsole` when not inspecting (#15931)Divy Srivastava
2022-09-10perf: optimize URL serialization (#15663)Divy Srivastava
2022-09-06perf(runtime): short-circuit `queue_async_op` for Poll::Ready (#15773)Divy Srivastava
2022-09-05perf(runtime): flatten arguments for write_file ops (#15776)Divy Srivastava
2022-09-04fix(bench): make sure bytes/response is equal (#15763)Divy Srivastava
2022-08-28perf: use fast api for op_now (#15643)Divy Srivastava
2022-08-24feat(ext/flash): split upgradeHttp into two APIs (#15557)Luca Casonato
This commit splits `Deno.upgradeHttp` into two different APIs, because the same API is currently overloaded with two different functions. Flash requests upgrade immediately, with no need to return a `Response` object. Instead you have to manually write the response to the socket. Hyper requests only upgrade once a `Response` object has been sent. These two behaviours are now split into `Deno.upgradeHttp` and `Deno.upgradeHttpRaw`. The latter is flash only. The former only supports hyper requests at the moment, but can be updated to support flash in the future. Additionally this removes `void | Promise<void>` as valid return types for the handler function. If one wants to use `Deno.upgradeHttpRaw`, they will have to type cast the handler signature - the signature is meant for the 99.99%, and should not be complicated for the 0.01% that use `Deno.upgradeHttpRaw()`.
2022-08-24feat: update `Deno.serve` function signature (#15563)Luca Casonato
This commit changes the `Deno.serve` function signature to be more versatile and easier to use. It is now a drop in replacement for std/http's `serve`. The input validation has also been reworked.
2022-08-21feat(ops): V8 Fast Calls (#15291)Divy Srivastava
2022-08-19feat(unstable): change Deno.serve() API (#15498)Bartek Iwańczuk
- Merge "Deno.serve()" and "Deno.serveTls()" API - Remove first argument and use "fetch" field options instead - Update type declarations - Add more documentation
2022-08-19chore(bench): add flash router benchmarks (#15495)Divy Srivastava
2022-08-19perf(runtime): optimize Deno.file open & stream (#15496)Divy Srivastava
2022-08-19fix(ext/flash): concurrent response streams (#15493)Divy Srivastava
2022-08-18feat(ext/flash): An optimized http/1.1 server (#15405)Divy Srivastava
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl> Co-authored-by: crowlkats <crowlkats@toaxl.com> Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
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-20Reland "feat: add "unhandledrejection" event support" (#15211)Bartek Iwańczuk
2022-07-11benchmarks: fix exec_time and latency benchmarks (#15155)Bartek Iwańczuk
2022-07-04chore(cli/bench): use `deno bench` for deno_common.js (#15063)Divy Srivastava
2022-07-02chore(cli/bench): benchmark for raw HTTP ops (#15043)Divy Srivastava
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-20fix(cli/bench): Use `deno check` instead of `deno cache` (#14916)Divy Srivastava
2022-06-08chore(bench): generalized HTTP benchmarks framework (#14815)Divy Srivastava
2022-05-25chore: upgrade test_util/std/ submodule (#14722)Bartek Iwańczuk
2022-04-03refactor(lsp): migrate from lspower back to tower-lsp (#14163)Jason
2022-04-01chore(tests): use custom temp dir creation for the tests (#14153)David Sherret
2022-03-30feat(lsp): add experimental testing API (#13798)Kitson Kelly
Ref: denoland/vscode_deno#629
2022-03-23chore: remove all `pub(crate)`s from the cli crate (#14083)David Sherret
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-02-02refactor(lsp): remove circular dependency between `LanguageServer` and ↵David Sherret
`DiagnosticsServer` (#13577)
2022-01-24perf(lsp): independent diagnostic source publishes (#13427)David Sherret
2022-01-20chore: update copyright year (#13434)Yoshiya Hinosawa
2022-01-18Add LSP benchmark mimicking the one on quick-lint-js (#13365)Ryan Dahl
2022-01-13chore: rename cli/bench/fixtures to cli/bench/testdata (#13363)Ryan Dahl