Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Switch vs Object Literal vs If Else vs Map - testing with simpler data again

No description provided

Slice vs Filter (sp)

No description provided

MomentVSVanilla

No description provided

loop over Set conditionally vs non-conditionally

when a Set() may or may not contain entries, is it more efficient to check Set.size before starting a for...of loop or does it not matter?

Map() delete while iterating vs clear

When iterating over a Map and clearing after iteration is required, is it faster to remove items at each iteration step or is it faster to iterate and then clear() the entire Map afterwards?

join vs trim vs filter

No description provided

join vs string + trim

No description provided

padStart vs splice vs conditional

Measures speed between using padStart and splice and conditional

Concat vs Spread for Large Arrayss

No description provided

RegEx.test vs. String.includes vs. String.match nested

No description provided

arr[item] vs a < 5 && b > 0

No description provided

var vs let Jeremy

No description provided

Lodash.js isEmpty vs Native on Map

No description provided

adding strings or template string

No description provided

slice vs substring vs substr on 10 chars

No description provided

slice vs string substring vs substr on 10 chars

No description provided

Array split vs string substring vs substr

No description provided

collect refs -> querySelector vs getElementsByClassName[0]

No description provided

Test for loop vs find()

No description provided

Lodash omit vs Native Delete for multiple key removal

No description provided

Switch vs Object Literal vs If Else vs Map - testing with simpler data

No description provided

Buffer Access 4 - PK

No description provided

Buffer Access 4

No description provided

Buffer Access 3

No description provided

Buffer Access 2 - const arrays

No description provided