3 ms·
Some of the tests are indeed pretty awful. The canvas clearing test doesn't even draw anything, so it's literally the equivalent of benchmarking an empty for lo
by kevingadd 14y ago
Some of the tests are indeed pretty awful. The canvas clearing test doesn't even draw anything, so it's literally the equivalent of benchmarking an empty for loop...
- nnethercote 14y agoSuperb! Also, they say "The current items that RoboHornet tests captures the major pain points of jQuery, Google Apps, Google Maps, Ember, Handlebars and Cappuccino" but one of the tests is "Calculating primes from 2 to N". Srsly. Hennessy and Patterson specifically mention the Sieve of Erastosthenes (a common prime number finding algorithm) as an example of a bad toy benchmark.