Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

lodash.zipObject vs native reduce (fixed)

No description provided

[].concat vs [...]

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

Date.now(); vs new Date().getTime();

No description provided

Reference vs Dereference with object containing array of 10 000 elements

No description provided

Ramda sort vs native sort. Working

No description provided

Property vs. attribute

No description provided

Performance universal/wildcard selector (JS vs. jQuery vs. Zepto vs. Bliss vs. UmbrellaJs)

No description provided

Maping numeric vs f32 vs f64

compare the map speed of an array of random true/false values compared to an ArrayBuffer with a uInt8 view of 0 or 1. The results are that the typed array is much much faster. There are two possible reasons I can think of for this. 1) JavaScript boolean type size of 4Bytes where as an element of a uInt8 array is actually 1Byte. 2) The ArrayBuffer is allocating contiguous memory resulting in a better cache hit ratio.

Setting Canvas Pixel with 1M iterations

No description provided

addClass JS vanilla vs JQuery

No description provided

cached matchMedia

No description provided

Lodash cloneDeep VS spread operator

No description provided

Object cloning with Lodash clone vs cloneDeep vs merge vs ES6 object spread vs ES6 Object.assign

No description provided

Split Join vs Basic string replace

No description provided

this vs super in inheritance

compare the speed of "super" vs "this" in the subclass

rgb vs rgba vs hex

No description provided

Hungry js map vs forEach

No description provided

Is in DOM

Check if given element is in dom

Get elements by class: jQuery vs querySelectorAll vs getElementsByClassName 👻

Compare various methods of obtaining a group of elements identified by class name

split vs substring

Compares slice, substr and substring to each other when there is only a start index

spread vs for of

No description provided

Array.prototype.map.call() vs [...array].map()

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

new-date-vs-date-settime

No description provided

_.SortBy vs Sort

lodash sortby equivalent in Javascript

Lodash FP vs. Ramda

No description provided

NEW BENCHMARK Your Benchmarks