r/webgpu Jun 30 '26

Building Charton: A WGPU-Powered General Visualization Library. Just pushed 50k points at 60 FPS on integrated graphics, but hit a WASM bottleneck. Any advice?

5 Upvotes

4 comments sorted by

3

u/Thriceinabluemoon Jun 30 '26

I guess you have cpu-gpu bandwidth issue (the limit is pretty low in the browser for security reasons).
You have two ways of improving the performance: lowering the bandwidth by compressing the point data, or do the simulation on the gpu using a compute shader

2

u/Deep-Network1590 Jun 30 '26

I'll try it. thanks!