Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

slice vs substr vs substring (with no end index) and long text

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

Array vs Str split

No description provided

substring then split v.s. split then shift

No description provided

check number vs check object (lodash)

No description provided

Id vs qs vs qsa

No description provided

Map vs Object, numeric key

Lookup of map vs object

object.assign vs forin

No description provided

Uniq vs set

No description provided

Object.keys vs Object.getOwnPropertyNames

No description provided

getElementById vs document

<div id="app"></div>

Get arguments vs make object

No description provided

My querySelectorAll vs getElementsByClassName

No description provided

Lodash IsEmpty

No description provided

for vs foreach vs some vs for..of 1000 (improved)

Compare loop performance

For..of (with Reverse) vs For (backwards)

No description provided

Benchmark on spread and concat

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

String Concatenation Example

No description provided

optimizing DOM selectors

optimizing DOM selectors

array find vs _.find vs _.find (Array) vs _.find (Object)

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

str.match vs str.Split first result

Test String.match with regex against String.split with string. We are splitting a string at the spaces.

Substring from second and from fifth character, within 10 characters

No description provided

Reflect.deleteProperty vs delete

No description provided

Unique values (large list)

No description provided

joining two arrays with concat and slice

No description provided

Date Test speed parse iso vs ts1

No description provided