3 ms·
> The relevant comparison is a single JavaScript function in Firefox looping through a static array and making WebGL calls vs. a C++ function looping through th
by GuiA 10y ago
> The relevant comparison is a single JavaScript function in Firefox looping through a static array and making WebGL calls vs. a C++ function looping through the same array and making OpenGL calls.
...that's not how graphics benchmarking works. That would be like benchmarking a language by seeing how fast it can add up integers.
- SomeCallMeTim 10y agoActually their example of iterating over an array and making WebGL calls is very close to exactly what you need to benchmark.
- candiodari 10y agoIt would seem more to the point for me to compare something like a game downloaded from steam with a webpage, as that is directly comparing the user experience. If you artificially limit the scope to something trivial, anything can work. I mean, that might be interesting for web browser developers, sure, and by all means, use it for that. But what matters is what experiences can be created by it. The web experience for games sucks.
- pcwalton 10y ago> That would be like benchmarking a language by seeing how fast it can add up integers. So you mean like most language benchmarks. :)