Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

trim vs _.trim

vanialla v lodash

CompareFor20190430

No description provided

Array loop vs for of loop vs foreach vs map (2)

No description provided

Ramda vs native

TBD

Array immutable union: lodash union vs object.assign vs uniq

No description provided

lodash immutable merge vs object.assign vs spread

No description provided

index loop vs for-of loop vs foreach vs map

No description provided

Test Array Speed

Test Array Speed

eval vs new Function (Sample JS Functions)

No description provided

Array.prototype.slice vs spread operator perf

Compare the new ES6 spread operator with the traditional slice() method

jQuery height Vs Native height

No description provided

replace vs substring vs slice from beginning (+ brackets, substr, compiled vs inline regex)

Test the performance of replace() vs substring() vs slice() when replacing a char at the beginning of a (in this case uri query-)string that may or may not be there. Added the combined brackets[ ] + substr() method, since it's always the first char we wan't to pop off. Inspired by https://jsperf.com/replace-or-substr. Note: could not get 'let' and 'const' to work. Well, too bad...

jQuery removeClass vs classList.remove

No description provided

Array.prototype.concat vs spread operator vs flat

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

filter vs compact vs flat

No description provided

JavaScript spread operator vs Object.assign performance reassign same variable

No description provided

Lodash compact

No description provided

Array.reduce vs for loop vs Array.forEach vs decrement while 2

A test summing 1000 random numbers, 1 - 10000

Array.reduce vs for loop vs Array.forEach vs decrement while

A test summing 1000 random numbers, 1 - 10000

comparison operators

check the time it takes to perform various different operators

JQuery version speed test jQuery 3.4.0 2

JQuery version speed test

Array loop vs foreach vs map vs filter

No description provided

JS unshift vs slice

No description provided

Get last part from URL (Regex vs Split vs Substring)

No description provided

Take last part from URL (Regex vs split)

No description provided

NEW BENCHMARK Your Benchmarks