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.
Given the motivation of the benchmark, Chrome was of main concern for me. :)