4 ms·
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 un
by shazow 16y ago
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. :)
- Detrus 16y agohttp://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.