Comment by bhouston
7 hours ago
In creating https://github.com/bhouston/webgpu-bench, a microbenchmark for WebGPU, I found that if you run in browsers you do not control, you need to run longer than 10ms to get an accurate result. Modern browsers by default round to the nearest 1ms. [1] So I generally try to get 50 to 100ms of run time for browser benchmarks.
[1] https://developer.mozilla.org/en-US/docs/Web/API/Performance...
No comments yet
Contribute on Hacker News ↗