Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Array immutable union: lodash union vs ...new Set vs uniq

No description provided

JS switch vs if/else if

Benchmark of the speed difference between using multiple IF statements and an open-ended IF/ELSE IF.

DataView vs Uint32Array

DataView vs Uint32Array

Ramda vs FxTS

This is a benchmark for describing lazy evaluation.

Lodash omit VS pick

No description provided

slice VS splice VS shift: who is the fastest to split array

100k list splice and shift win, they mutate list slice loose, it creates a copy of list 7.5x slower

Hashable JSON 3.0 (only stringify)

No description provided

toFixed vs mathjs round

No description provided

Hashable JSON + md4

No description provided

JS string includes vs indexOf

JS string includes vs indexOf

Compare typeof vs null check

No description provided

indexOf VS includes in JavaScript Array

No description provided

vanilla js replaceAll vs regex replace tabs to spaces

No description provided

Array slice vs array filter 1

No description provided

Array slice vs array filter

No description provided

typeof vs instanceof Function vs call

No description provided

dsha256

No description provided

SortingTests

No description provided

Concat() vs. Unshift()

No description provided

Map vs Object with 10k elements

Lookup of map vs object

TextDecoder vs String.fromCharCode/escape/decodeURIComponent

No description provided

fromCharCode apply vs spread

No description provided

setAttribute(...) vs. classList.add(...) vs classList.value vs className

No description provided

Object access vs destructing

No description provided

Lodash cloneDeep vs structuredClone

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

NEW BENCHMARK Your Benchmarks