Conversation
|
does this not impact startup time anymore ? |
|
Linking this PR for context: servo/core-foundation-rs#608 |
|
if it impacts startup time then it should be put behind a flag, if this helps. otherwise everything will slowdown including |
|
We are working on reducing the startup time. A flag would not help. Also, the startup time originally was increased by 3ms, and now is at 1ms increase, and we are working on further reducing it. |
@crowlKats What is missing from wgpu, exactly? |
@chances due to our setup with the wgpu repo, we require the js & rust code to be pulled from a commit that is a release of wgpu. |
petamoriken
left a comment
There was a problem hiding this comment.
Added many suggestions related to inspect 🙇
Co-authored-by: Kenta Moriuchi <moriken@kimamass.com> Signed-off-by: Leo Kettmeir <crowlkats@toaxl.com>
Co-authored-by: Kenta Moriuchi <moriken@kimamass.com> Signed-off-by: Leo Kettmeir <crowlkats@toaxl.com>
Co-authored-by: Kenta Moriuchi <moriken@kimamass.com> Signed-off-by: Leo Kettmeir <crowlkats@toaxl.com>
Co-authored-by: Kenta Moriuchi <moriken@kimamass.com> Signed-off-by: Leo Kettmeir <crowlkats@toaxl.com>
Co-authored-by: Kenta Moriuchi <moriken@kimamass.com> Signed-off-by: Leo Kettmeir <crowlkats@toaxl.com>
Co-authored-by: Kenta Moriuchi <moriken@kimamass.com> Signed-off-by: Leo Kettmeir <crowlkats@toaxl.com>
Co-authored-by: Kenta Moriuchi <moriken@kimamass.com> Signed-off-by: Leo Kettmeir <crowlkats@toaxl.com>
Co-authored-by: Kenta Moriuchi <moriken@kimamass.com> Signed-off-by: Leo Kettmeir <crowlkats@toaxl.com>
Co-authored-by: Kenta Moriuchi <moriken@kimamass.com> Signed-off-by: Leo Kettmeir <crowlkats@toaxl.com>
# Conflicts: # Cargo.lock # Cargo.toml # cli/js/40_testing.js # tools/README.md
|
This fixes #21514, feel free to update the description |
|
@crowlKats can you provide start up time benchmarks? Also max RSS for a blank file? |
# Conflicts: # Cargo.lock # Cargo.toml
|
On my machine: |
|
/bench startup_hello_world,startup_nop_empty,startup_nop_trivial |
startup_hello_world
startup_nop_empty
startup_nop_trivial
start: id: server: |
|
Comparing to deno 1.38.5 on my machine after a clean && build I see no impact: |
|
|
||
| let isCI: boolean; | ||
| try { | ||
| isCI = (Deno.env.get("CI")?.length ?? 0) > 0; |
There was a problem hiding this comment.
This is 4th place we define this env var :) we should move it to test_util.ts in a follow up. Can you handle that @crowlKats?
| gpu: { | ||
| configurable: true, | ||
| enumerable: true, | ||
| get() { | ||
| webidl.assertBranded(this, NavigatorPrototype); | ||
| loadWebGPU(); | ||
| return webgpu.gpu; | ||
| }, | ||
| }, |
There was a problem hiding this comment.
What about set()? I think on the web one can override this value
There was a problem hiding this comment.
nope, not overwritable, however all the navigator getters should have no-op setters. I'll fix that up in a follow up with tests.
|
Nice work Leo (and the whole Deno team). Excited to see this brought back into Deno. |



Fixes #21514