Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

lodash has vs object.hasOwn

No description provided

.toString() concatenation vs array join with compiledFunc

No description provided

isArray property check

Can you beat it?

forloop performance test

save length of the array in the variable vs get it the loop

Array concat vs spread operator vs push + spread 2023-08-21

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

Replace String vs Replace Regex

No description provided

set vs array lookup

No description provided

Array cloning 2023 (2)

Comparing array cloning methods

Array cloning 2023

Comparing array cloning methods

React: useMemo vs inline computation

No description provided

useMemo vs plain length check

No description provided

nested function test

No description provided

eval vs json parse only, no var declaration (extremely long identical input)

Evaluates eval vs json parse only, without any declaration of a variable.

eval vs json parse only, no var declaration (long identical input)

Evaluates eval vs json parse only, without any declaration of a variable.

pushing large array vs destructuring

No description provided

Add new array to array: push vs concat

No description provided

Add new array to array: push vs destructuring

No description provided

eval vs json parse only, no var declaration (identical input)

Evaluates eval vs json parse only, without any declaration of a variable.

eval vs json parse only, no var declaration

Evaluates eval vs json parse only, without any declaration of a variable.

eval vs json parse only

Evaluates eval vs json parse only, not declaration of a variable within eval.

Object.fromEntries vs reduce (real object)

No description provided

Add new element to array - unshift vs destructuring

Comparing performance of: spread operator vs Push

Lodash partition vs ES6 for..of partition

Comparison of using lodash partition against raw ES6 using for..of loop

Traditional vs For Each Loop

For Each Loop

Array filter vs. for loops with for of

No description provided