Re:I benchmarked 8 different ways of representing a 2d grid ...
by shazow on Thursday December 30, 2010 @10:53PM
(#2054450)
I considered this but there weren't any existing services that did this and allowed me to make the type of tests I needed to make (and I didn't want to spend unnecessary time building one). I also ran the benchmarks on Firefox and though the numbers varied, the overall trend was the same. I don't imagine it would be much different for IE.
Given the motivation of the benchmark, Chrome was of main concern for me. :)
Re:I benchmarked 8 different ways of representing a 2d grid ...
by Detrus on Thursday December 30, 2010 @10:57PM
(#2054456)
http://jsperf.com/
That service can benchmark multiple browsers and compare the results.
Example http://jsperf.com/instanceof-htmlelement-vs-tagname-equals
Re:I benchmarked 8 different ways of representing a 2d grid ...
by shazow on Thursday December 30, 2010 @11:01PM
(#2054461)
That's one of the ones I tried, but I needed some tests to create new objects, and others to reuse the same object which was already created previously, and I wanted to compare the numbers together rather than in isolation.
To use jsperf, I would have had to come up with many permutations of each test at the very least. Not ideal.
Aggregating these numbers should give you really nice insights into diff VMs / platforms etc.