3 ms·
I'd like to agree, but this makes a good benchmark, and right now it's showing that JavaScript is about 20 times slower than native code on my machine in both C
by modeless 15y ago
I'd like to agree, but this makes a good benchmark, and right now it's showing that JavaScript is about 20 times slower than native code on my machine in both Chrome and Firefox. That's completely unacceptable for video decoding. In fact, even if JavaScript was just as fast as native code it would still be unacceptable for mobile video, where hardware acceleration is required for acceptable performance and battery life.
- devongovett 15y agoJust wait until browsers start supporting WebCL and we can do video decoding on the graphics card :)
- moonchrome 15y agoI'm betting WebCL running on CPU cores will beat JS by 20x margin as well.