3 ms·
http://jsperf.com/ http://jsperf.com/ That service can benchmark multiple browsers and compare the results. Example http://jsperf.com/instanceof-htmlelement-v
by Detrus 16y ago
http://jsperf.com/ http://jsperf.com/
That service can benchmark multiple browsers and compare the results.
Example http://jsperf.com/instanceof-htmlelement-vs-tagname-equals http://jsperf.com/instanceof-htmlelement-vs-tagname-equals
- shazow 16y agoThat'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.