Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

math.abs vs Number

No description provided

Compare performance between Dayjs.tz and Temporal.ZonedDateTime

Get the end of month of an arbitrary month with both.

Benchmark: chunk array by slice VS splice

chunk 100k element array into 1k elements chunks

Date vs Performance.now

No description provided

.includes() vs .test() vs .match() vs .indexOf() mode

Compare different intra-string matching styles

NextTick Implementation in GameLoop

No description provided

NextTick Implementation

No description provided

Methods for creating many items (sized up)

Compare creating from a huge string against creating many copies.

Methods for creating many items

Compare creating from a huge string against creating many copies.

private/public class proprty access

No description provided

insertAdjacentHTML vs appendChild 2025

No description provided

(vanilla) replaceAll vs regex replace vs split&join

No description provided

Object.fromEntries vs reduce 2

No description provided

Object.fromEntries vs reduce

No description provided

JS destructuring benchmark

No description provided

Immer vs manual comparison

No description provided

Delete vs destructure for objects with mutating

Measure the performance of delete versus removing a prop from an object without mutating

Array.prototype.slice vs spread operator copy 5

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

complex ES6 property get & getter function & direct access to object attribute

No description provided

ES6 property get & getter function & direct access to object attribute

No description provided

replaceChildren() vs innerHTML = ""

No description provided

Canvas roundrect vs fillrect perf

Finding the performance difference between the new "roundrect" method and fillrect

Async Serial vs Parallel

No description provided

.unshift() vs .push() + .reverse()23456

No description provided

Object.getOwnPropertyDescriptor().set vs obj[symbol].key

No description provided