4 ms·
I'd really rather use NaCl. And, I think SIMD is in the plan for NaCl, eventually... But, you might be a bit surprised by the raw float performance of the lat
by corysama 16y ago
I'd really rather use NaCl. And, I think SIMD is in the plan for NaCl, eventually...
But, you might be a bit surprised by the raw float performance of the latest JS VMs. Running this benchmark, http://stepheneb.github.com/webgl-matrix-benchmarks/matrix_benchmark.html http://stepheneb.github.com/webgl-matrix-benchmarks/matrix_b... on my 3.4Ghz AMD in FF4, CanvasMatrix can multiply 20,000 pairs of 4x4 matrices in 1.5 ms. That's about 1.5 double-precision gigaflops on 1 core. 4 webworkers would give 6 gigaflops. That's low compared to the 50 gigaflops that native, pure-cpu-burn benchmarks get on that processor (when overclocked to 3.6 Ghz) http://www.overclock.net/amd-cpus/499526-official-phenom-ii-x4-9x5-oc.html http://www.overclock.net/amd-cpus/499526-official-phenom-ii-... but it's not terrible.