Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

For in vs Object.keys.forEach

No description provided

object spread vs immutable-js set

No description provided

if vs ternary operator v3

No description provided

Lodash sumBy vs map and reduce

No description provided

Array.prototype.concat vs splice for joining two arrays

No description provided

lodash assign vs spread operator

lodash assign vs spread operator

lodash .foreach vs native foreach

No description provided

_.sortBy vs native sort

No description provided

Lodash vs Ramda vs Underscore 1.9.0 - IE11 Compatible with vanilla

No description provided

Map (Native vs Ramda vs Lodash vs Lodash/fp vs Immutable)

measures the speed of ramda's map vs Array's native map vs lodash map vs Immutable map

slice VS splice VS shift: who is the fastest to keep constant size

100k list splice and shift win, they mutate list slice loose, it creates a copy of list 7.5x slower

JavaScript fastest way to clone an object

No description provided

Object.assign vs spread vs jQuery.extend

No description provided

Switch vs Object Literal

No description provided

getElementById, querySelector, querySelectorAll and with if

No description provided

getElementById, querySelector, querySelectorAll

No description provided

spread vs mutation vs Object.assign for reduce callback

No description provided

lodash capitalize vs regex replace

No description provided

Lodash omit Vs. es6 rest spread

No description provided

.charAt vs .indexOf vs Str[idx] vs startWith

Testing some things

undefined vs. typeof vs. in vs. hasOwnProperty vs Object.prototype.hasOwnProperty

Object lookup performance

toFixed vs toPrecision vs Math.round()

No description provided

index vs lastindexof

No description provided

Array.reduce vs for loop vs Array.forEach vs for of loop - 10000

A test summing 1000 random numbers, 1 - 10000

Performance Test: substring vs substr vs slice

No description provided

NEW BENCHMARK Your Benchmarks