Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

http://jsperf.com/

That service can benchmark multiple browsers and compare the results.

Example http://jsperf.com/instanceof-htmlelement-vs-tagname-equals



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.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: