jsPerf.app is an online JavaScript performance benchmark test runner & jsperf.com mirror. It is a complete rewrite in homage to the once excellent jsperf.com now with hopefully a more modern & maintainable codebase.
jsperf.com URLs are mirrored at the same path, e.g:
functioncss(elements, obj) {
for (var e = 0, elen = elements.length; e < elen; e++) {
for (var i in obj) {
elements[e].style[i] = obj[i]
}
}
}
functioncss2(elements, obj) {
var style = elements.style;
if (!style) {
for (var e = 0, elen = elements.length; e < elen; e++) {
css2(elements[e], obj)
}
} else {
for (var i in obj) {
style[i] = obj[i]
}
}
}
var cachedElement = document.getElementById('test');
var cachedStyle = document.getElementById('test').style;
var cachedjQueryObject = $('#test');