| Age | Commit message (Collapse) | Author |
|
This optimization applies on `napi_get_undefined`, `napi_get_null` &
`napi_get_boolean`.
```
# main
benchmark time (avg) (min … max) p75 p99 p995
---------------------------------------------------------- -----------------------------
warmup 482.55 ps/iter (462.5 ps … 15.67 ns) 475 ps 525 ps 829.1 ps
napi_get_undefined 25.07 ns/iter (24.03 ns … 36.87 ns) 25.37 ns 27.09 ns 34.85 ns
```
```
# This patch
benchmark time (avg) (min … max) p75 p99 p995
---------------------------------------------------------- -----------------------------
warmup 484.78 ps/iter (462.5 ps … 14.4 ns) 475 ps 554.1 ps 583.3 ps
napi_get_undefined 15.52 ns/iter (15.35 ns … 22.14 ns) 15.41 ns 17.18 ns 20.02 ns
```
|
|
This PR implements the NAPI for loading native modules into Deno.
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: DjDeveloper <43033058+DjDeveloperr@users.noreply.github.com>
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
|
|
|
|
This reverts commit 06c77a30f9c00a562ff2a34b96fe828e0d29a33f.
|
|
perf(cli): use -O3 instead of -Os
|
|
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>
|
|
|
|
This reverts commit fd5a12d7e25dc53238e2bbcffe970e646c1035f3.
|
|
|
|
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
|
|
This commit eliminates an extra line of comment
|
|
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
|
|
|
|
|
|
|
|
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
|
|
|
|
|
|
Reduces fragmentation, avoids version drift and facilitates coordinating serde_v8 and op-layer changes
|
|
Co-authored-by: Luca Casonato <hello@lcas.dev>
|
|
A ~25% improvement: `~1950ns/call` => `~1500ns/call`
|
|
|
|
|
|
This commit removes implementation of "native plugins" and replaces
it with FFI API.
Effectively "Deno.openPlugin" API was replaced with "Deno.dlopen" API.
|
|
|
|
|
|
This reverts commit 7dd4090c2a3dc0222fd6ff611eeb2bd69cd28224.
|
|
|
|
This commit removes implementation of native plugins
alongside the unstable "Deno.openPlugin()" API.
|
|
This commits moves implementation of net related APIs available on "Deno"
namespace to "deno_net" extension.
Following APIs were moved:
- Deno.listen()
- Deno.connect()
- Deno.listenTls()
- Deno.serveHttp()
- Deno.shutdown()
- Deno.resolveDns()
- Deno.listenDatagram()
- Deno.startTls()
- Deno.Conn
- Deno.Listener
- Deno.DatagramConn
|
|
|
|
This refactor makes it so there's one less crate to publish on each release.
|
|
Now available at https://github.com/denoland/serde_v8
|
|
Co-Authored-By: Ben Noordhuis <info@bnoordhuis.nl>
Fixes: #10354
|
|
|
|
|
|
* Revert "tooling(bench_util): benching and profiling utilities (#10223)"
This reverts commit 733a00030582375c43fa156e978f25df6ecc9e9a.
* Upgrade notify
|
|
|
|
Move timers out of runtime/ and into a standalone op crate.
|
|
|
|
|
|
This reverts commit a87da4b19a6da67dde15d1d0ceefaad2bdad1637.
|
|
Unfortunately this increases the release build size by 8M
```
| | incremental build | full build | binary size |
|--------|-------------------|------------|-------------|
| main | 4m 21s | 6m 24s | 72M |
| #10039 | 1m 45s | 5m 28s | 80M |
```
|
|
|
|
|
|
This commit starts splitting out the deno_web op crate into multiple
smaller crates. This commit splits out WebIDL and URL API, but in the
future I want to split out each spec into its own crate. That means we
will have (in rough order of loading): `webidl`, `dom`, `streams`,
`console`, `encoding`, `url`, `file`, `fetch`, `websocket`, and
`webgpu` crates.
|
|
|
|
|
|
This commit moves Deno JS runtime, ops, permissions and
inspector implementation to new "deno_runtime" crate located
in "runtime/" directory.
Details in "runtime/README.md".
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
|
|
This commit factors out "deno_crypto" op crate.
"rand" crate dependency was consequently moved to
"deno_crypto" crate and reexported.
|