The Chrome team has sped up WebGPU performance for. GPUComputePassEncoder and methods by reducing the overhead of making calls from generated code in V8 JavaScript engine to C++ handlers in Blink rendering engine. The following microbenchmark shows CPU time of calls from JavaScript decreasing from 0.5 ms per 10K draws to around 0.

1m read timeFrom developer.chrome.com
Post cover image
Table of contents
# Optimizing JavaScript# getCurrentTexture() on unconfigured canvas throws InvalidStateError# WGSL updates# Dawn updates

Sort: