Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

divide and conquer 2

No description provided

divide and conquer

No description provided

Set Prop Variable vs setAttribute

No description provided

Set Prop Varaible vs setAttribute

No description provided

Cloning benchmarking (with anonymous functions)

Comparing performance of: Spread operator (...) vs JSON.parse(JSON.stringify()) vs Custom function vs Lodash.cloneDeep() vs jQuery.extend(true)

set textContent vs update text node vs cached prototype

No description provided

set textContent vs update text node

No description provided

Cloning benchmarking

Comparing performance of: spread ... vs vs JSON.parse(JSON.stringify()) vs Custom function vs Lodash.cloneDeep() vs jQuery.extend(true) vs structuredClone()

spread vs concat vs unshift 1000 elements per array

spread vs concat vs unshift

mutating deep object with Lodash cloneDeep VS spread operator

No description provided

Fastest results

No description provided

append className vs. setAttribute vs. classList

No description provided

String slice vs. array sliceee

No description provided

String slice vs. array slicee

No description provided

String slice vs. array slice

No description provided

Sync vs Promise benchmark test (ver 2)

No description provided

Sync vs Promise benchmark test (ver 1)

No description provided

Sync vs Promise benchmark test

No description provided

arr unshift vs push + reverse ( array 100)

No description provided

deepClone vs JSON parse/stringify

No description provided

Map vs Reduce for string

No description provided

split vs substring (correct version 2)

Compares slice, substr and substring to each other when there is only a start index, check the split vs substring benchmark for the original version. It's also not fair since the substring split points are hardcoded

split vs substring (correct version)

Compares slice, substr and substring to each other when there is only a start index, check the split vs substring benchmark for the original version. It's also not fair since the substring split points are hardcoded

at method versus array index

How does Array.prototype.at() performance compare to traditional indexing (arr[i]).

Array.from vs Spread 100k

No description provided