This performance difference is quite surprising. Using Kiss3d, I did in the past some point cloud visualization for 3D streaming with millions of points (and a pretty complex vertex shader) and it ran at 60fps (though it will depend on your graphics card of course).
- Did you compile in release mode when targeting WASM?
- Does the framerate goes back to 60fps if you disable the point rendering (by making
camera_and_renderer_and_effect
returnNone
instead of the points renderer)? - Did you try with another browser (firefox or google chrome)?
- Are you certain your browser is using your GPU for rendering? You can check this by going to https://webglreport.com/