Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Array.prototype.slice vs spread operator vs Object.values (new rev)

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

JS if/!if vs if/else

Benchmark of the speed difference between using multiple IF statements and an open-ended IF/ELSE IF.

querySelectorAll data attribute (without value) vs class name

No description provided

Map vs Object creation 3

Lookup of map vs object

set.add vs array.push vs map.set

No description provided

Object key access vs array index access

Tests the speed of accessing an item by object key vs array index.

_.isEmpty vs Object.keys.length vs getOwnPropertyNames vs isEmpty

No description provided

eval vs Function vs lodash.template v4

No description provided

JS: append vs appendChild multiple elements

No description provided

Map vs Object creation 2

Lookup of map vs object

regex speed testing 4

No description provided

map vs ifelse vs switch test

No description provided

Lodash cloneDee

No description provided

Remove duplicate values from an array of objects

No description provided

JSON vs JS v2

No description provided

multiple map iterations

No description provided

empty arrays

Based on question on http://stackoverflow.com/questions/1232040/how-do-i-empty-an-array-in-javascript

Object function binding vs global scope lookup

No description provided

Object function binding vs closure plus cache + execution

No description provided

RegEx Length vs String Length

No description provided

Object function binding vs closure

No description provided

object method scope lookup

No description provided

es6 class static vs instance vs object method

No description provided

Array.prototype.concat vs spread operator test 34234

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

memosy

No description provided