Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Array.reduce vs for loop vs Array.forEach

A test summing 1000 random numbers, 1 - 10000

Object.assign vs. JSON String/Parse

Creating a "new" object reference every time

Spread operator vs. slice

Creating a "new" array reference every time

Spread operator vs. slice

Creating a "new" array reference every time

drawImage: Copy from image or canvas

No description provided

drawImage: Copy from image or canvas

No description provided

indexOf vs map

No description provided

indexOf vs map

No description provided

lodash.each vs Object.forEach

No description provided

lodash.each vs Object.forEach

No description provided

lodash.each vs Object.forEach

No description provided

oop performance test

No description provided

oop performance test

No description provided

oop performance test

No description provided

Recursion vs Iteration

No description provided

Checkbox checked

Various methods of getting the checked property of a checkbox, plus comparing the whether the checkbox is checked or not - expect no difference there but good to know if there is

oop performance test

No description provided

find vs loop

No description provided

loop count test

No description provided

enabled count

No description provided

jQuery by id vs Document.getElementById

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

ArrayFind

No description provided

Optimization function

No description provided

test property write access

No description provided

loop count

No description provided