Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

setAttribute/removeAttribute vs. classList.add/remove

No description provided

isArray

Array.isArray vs Object.prototype.toString vs [].constructor vs instanceof

addClass/removeClass vs classList.add/remove

jQuery addClass/removeClass vs classList.add/remove

jQuery 3.3.1 selector vs jQuery 2.1.4 vs document.querySelector vs document.getElementById

Comparing speed of jQuery 3.3.1 selector, jQuery 2.1.4, vanilla JS querySelector, and vanilla JS getElementById

jQuery 3.3.1 selector vs document.querySelector

Comparing speed of jQuery 3.3.1 selector and vanilla JS querySelector

Encode html without creating html elements

There are two way of encoding html elements. One is the create an html element and let the browser handle it. The second looks at every character passed in and then runs a regex match on it and replaces the chars with &#CHAR_CODE;.

filter: ramda vs native

No description provided

Spread operator vs. Array.map and lodash.set

A comparison of the performance of the spread operator, [ ...array ], vs. Array.map(i => ...) and

Optional Chaining versus _.get lodash

No description provided

eval vs new Function

No description provided

eval vs json parse

No description provided

Canvas gradient perf

No description provided

indexOf vs $.inArray

No description provided

JQuery version speed test

No description provided

JQuery version speed test

No description provided

JQuery Speed Test

No description provided

JQuery Speed Test

No description provided

JQuery Speed Test

No description provided

Lodash vs Ramda vs Underscore 1.9.0

No description provided

spread vs concat vs unshift

spread vs concat vs unshift

Variable assignment from object | traditional vs destructuring

No description provided

JSON.stringify

No description provided

distance

No description provided

Updated 4/2018: Vanilla vs jQuery vs Zepto vs Umbrella vs Bliss JS Library Speed Test

No description provided

jQuery by class vs Document.getElementsByClassName

Comparing speed of getting element by id with jQuery vs Vanilla JS

NEW BENCHMARK Your Benchmarks