Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

fast sin cos vs math sin cos

testing faster functions

divide by 2 vs multiply by 0.5 (fork @nebrob_)

No description provided

data attributes versus classes

No description provided

array.includes vs array.indexOf vs set.has vs weakSet.has

No description provided

subarray vs slice vs copy and subarray

No description provided

Object key access vs array find vs map

Test speed of object access by key vs array vs map find to find object

set.has vs. array.includes v22

No description provided

isInteger Check

No description provided

RegEx.test vs. String.includes vs. String.match1

No description provided

JSON Stringify vs Object Keys Properties in two objects comparison 2

Calculate what is the faster way to check if 2 objects have the same properties

luxon 3.3.0 vs datefns

No description provided

splice vs double pop

100k list

javascript new vs Object.create 3

No description provided

Direct call vs bind vs call vs apply vs self (with many params)

No description provided

javascript new vs Object.create 2

No description provided

javascript new vs Object.create

No description provided

compare the ways to generate an empty array for iteration

- Array.apply: Array.apply(null, Array(100)) - Destructuring operator: [...Array(100)] - Array.prototype.fill Array(100).fill(undefined) - Array.from Array.from({ length: 100 })

RegEx.test vs Array.includes bench

No description provided

Boolean vs !!!!!!!!

No description provided

JSON.stringify vs structuredClone 3

JSON.stringify vs structuredClone

addEventListener() vs jQuery.on() with click

No description provided

js array copy speed comparison - spread

No description provided

Compare deep clone object performance

No description provided

set.add vs array.push for massive objects

No description provided

Uint(8/16/32)Array and BigInt64Array comparison performance

Uint(8/16/32)Array and BigInt64Array comparison performance

NEW BENCHMARK Your Benchmarks