Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Regex vs String comparison

No description provided

Math.min vs if/else vs ternary operator test 3

Quickest operation to return smaller of 2 numbers

Math.min vs if/else vs ternary operator test 2

Quickest operation to return smaller of 2 numbers

Array() vs Array.from() fill

Testing the difference between creating filled arrays.

Array() vs new Array() fill

Testing the difference between creating filled arrays.

isNumber vs unary cast

No description provided

Cached querySelector single

Testing if caching querySelector makes a diference

JS loops comparison

No description provided

value comparison vs. JSON.stringify

No description provided

ES6 Class vs Prototype vs Object Literal v3

Test the speed and memory usage using 3 different techniques for constructing class objects.

Array 2000 spread vs concat

No description provided

RegEx.test vs. String.includes vs. String.match vs String.replace vs String.replace classic

No description provided

RegEx.test vs. String.includes vs. String.match vs String.replace

No description provided

Compare typeof vs null check 2

No description provided

set.has vs. array.includes vs array.indexOf on big data

No description provided

endsWith vs Regex aspx ending

No description provided

endsWith vs Regex aspx

No description provided

Set has vs object key 2

performance comparison of ways to find if an array contains a value

Array Intersection vs. Set Intersection vs. Lodash part 6

No description provided

bitwise vs string compare

No description provided

some vs for..of

No description provided

11111111

No description provided

big for loop vs multiple small for loops

No description provided

Lodash orderBy (fn) vs array.prototype.sort small array

No description provided

Lodash orderBy (fn) vs array.prototype.sort

No description provided

NEW BENCHMARK Your Benchmarks