Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

closest vs for loop

Goal: Get the target element inside the DOM Test case #1 - You don't have the target id - Find a target element through DOM via Element.closest() Test case #2 - You have the target id from your state - Find the target element via Document.querySelector()

includes vs lodash find

No description provided

* 10, round vs trunc vs floor vs parseFloat vs ~~ vs 0 | vs parseInt vs parseInt, 10

fastest from float to int with multiplication

innerhtml vs removechild (table)1

No description provided

innerhtml vs removechild (table)

No description provided

Array.prototype.concat vs spread operator (no jQuery)

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

push vs spread reduce

No description provided

String to number conversion in Vanilla JS + number to string

No description provided

Arrow function vs bind function 222

No description provided

match vs ===

No description provided

_substring vs slice

No description provided

RegEx.test vs. String.includes vs. String.match-Fork

No description provided

RegEx.exec vs String.match 5

No description provided

RegEx.exec vs String.match 2

No description provided

numeric en: Intl.Collator('en', {numeric: true}).compare() vs localeCompare('en', {numeric: true})

No description provided

Intl.Collator.compare('en', {numeric: true}) vs localeCompare('en', {numeric: true})

No description provided

Lodash _.union vs _.concat

No description provided

lodash unset vs lodash omit vs native delete

No description provided

lodash unset vs lodash omit

No description provided

Nested proxy creation

No description provided

new Date().getTimer() vs Date.parse()

No description provided

Accessing "this" vs accessing a variable

No description provided

lodash vs JSON22

No description provided

Array.from vs map vs for vs push

No description provided

for vs foreach vs for..of vs for..of over entries (const) etc

Compare loop performance