Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

chain of or equals vs includes but smaller

how much of a performance deficit you can expect from using Array.includes instead of manually writing a chain of logical ORs

aaaabbbnmmbhjhgsdf

bbbbb

Lodash.isEqual vs JSON.stringify Equality Comparison for Shallow Object

Test on isEqual performance

Lodash vs json-stable-stringify (Stringify) "a" === "b"

Used json-stable-stringify (Stringify) version 1.0.2 from https://cdn.jsdelivr.net/npm/json-stable-stringify@1.0.2/index.js

localeLowerCase vs LowerCase

No description provided

Add new element to array: unshift vs destructuring

No description provided

lastIndexOf + slice vs split + slice

lastIndexOf + slice vs split + slice

Lodash Lazy Evaluation vs ES6 Strict Evaluation

Lodash Lazy Evaluation vs ES6 Strict Evaluation

Array.isArray vs lodash isArray

No description provided

JSON Stringify Speed Test3

This benchmark tests whether the speed or JSON.stringify changes with object size

style.setProperty vs style.cssText vs style vs attributeStyleMap.set 3

No description provided

style.setProperty vs style.cssText vs style vs attributeStyleMap.set 2

No description provided

async for vs promise.all vs promise.allSettled

No description provided

(x ** 0.5) vs Math.sqrt(x)

No description provided

Eval ISO vs Epoch

No description provided

structuredClone vs Immer Produce

No description provided

Replace using a string VS regex

No description provided

flatMap or concat

No description provided

DDS Array vs Set - performance v4

No description provided

RegEx.test vs. String.includes vs. String.match with lowercase

No description provided

Map vs Object (real-world) Performance (better)

Lookup of map vs object (in a real-world test format)

array[] vs array.at()

No description provided

Web Encrypt API (Decrypt)

No description provided

Web Encrypt API (Encrypt)

No description provided

update Element in a array test _tarcisio.magno

No description provided

NEW BENCHMARK Your Benchmarks