Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

spread vs concat vs unshift vs push+sort

spread vs concat vs unshift vs push+sort

getElementById vs querySelector vs getElementsByClassName vs getElementsByName FIXED

Test performance of different ways of get just one particular DOM element - using each method's strengths, instead of biasing towards getElementById.

javascript-performance-call-function-inside-for-loop

No description provided

slice vs substr vs substring with end

Compares slice, substr and substring to each other when there is only a start index

Remove duplicate: Pure JS VS Lodash

No description provided

querySelector vs querySelector 4

No description provided

querySelector vs querySelector 3

No description provided

querySelector vs querySelector 2

No description provided

querySelector vs querySelector

No description provided

asdgasdgasd

sdgasd

asdgasdg

asdg

dom size matters single element

No description provided

for-in vs object.keys Test2

No description provided

DOM Size matters

No description provided

for-in vs object.keys Test

No description provided

test regex js

coucou

String.Split and String.Match

We are testing String.split with a string input against String.match with a regex input, both will output an array.

str.match vs str.Split

Test String.match with regex against String.split with string. We are splitting a string at the spaces.

split vs for loop 2

No description provided

Get object Vanilla VS Lodash

No description provided

set.has vs. array.includes

No description provided

lookup vs. include

No description provided

Array.includes vs Dictionary lookup

No description provided

Array concat vs spread operator vs push for array flat implementation

Compare the new ES6 spread operator with the traditional concat() method and push

Lodash cloneDeep vs JSON Clone vs Obj Clone

No description provided