I was working on a WebGPU demo and decided to try how fast I can make it. Zig in WASM generates a buffer with command stream sorted to minimize GPU state changes.
This is 10k individual draw calls, unoptimized, no instancing, no render bundles. Every object is controlled separately.