Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Object.fromEntries vs reduce vs Map (from Array)

No description provided

sdsadasd

sd

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

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

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

String to number conversion in Vanilla JS + number to string

No description provided

Arrow function vs bind function 222

No description provided

_substring vs slice

No description provided

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

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

getElementById vs getElementsByClassName vs getElementsByName2

No description provided

set name vs set id

No description provided

Clone Vs Create element

Test speed difference between creating a small element tree repeatedly vs creating it once and cloning it.

const within vs outside a function

No description provided

NEW BENCHMARK Your Benchmarks