Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

lodash set vs manual object comparison

a

split substring replace

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

pow 0.5 vs sqrt

pow 0.5 vs sqrt

lodash merge vs object.assign vs spread - fixed

No description provided

Regex removing single whitespace vs multiple whitespaces

testing removing all whitespaces whether by matching one space or multiple space at a time

Some vs Find II

No description provided

Function arguments list vs object

No description provided

Compare direct v funx2

No description provided

Compare direct v funx

No description provided

Array vs Linked List (push, shift)

Manage Todos in a list - compare performance of Array vs Linked List.

for vs foreach vs for..of vs for..in Kyran

Compare loop performance

for vs foreach vs some vs for..of Kyran

Compare loop performance

Inline vs external

No description provided

testCharacter Presence

No description provided

math.round vs alternatives (floating point fix)

Various fixes for floating point issues

TreeWalker vs querySelectorAll vs getElementsByTagName

No description provided

Difference with test 2

No description provided

Array.prototype.slice vs spread operator With slightly bigger array

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

testdsadsadsa

No description provided

Array.prototype.slice vs spread operator va Array.from

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

getElementsByClassName[0] vs querySelector - rhymes

No description provided

getElementsByClassName vs querySelectorAll - rhymes

No description provided

map vs array

No description provided

mustache@4.0.1 vs handlebars@4.7.6

No description provided

slice VS splice

100k list splice and shift win, they mutate list slice loose, it creates a copy of list 7.5x slower