Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Bitshift vs multiply by power of two

No description provided

structuredClone test (deep only)

compare array copy/clone methods sdfewfe

Can JavaScript benefit from the ECS pattern 4

Proper ECS pattern test with only one entity type, three components. Separate loops for ECS.

Can JavaScript benefit from the ECS pattern 3

Proper ECS pattern test with only one entity type, three components.

map spread vs manual vs assign

No description provided

spread vs manual vs assign

No description provided

spread vs manual

No description provided

Object vs Array

No description provided

Spread syntax vs Array.from

No description provided

get getter vs function getter

No description provided

Lodash Uniq vs Javascript Set [1,000,000]

No description provided

Record vs Switch

No description provided

Lodash isEqual vs fast-is-equal vs JSON.stringify vs fast-deep-equal

No description provided

for-of-vs-map-bad

No description provided

converting val to str

No description provided

Array.find vs. Map.get bis

Test the performance of Array.find vs. Map.get, with various array sizes, and with/without conversion from array to map

Object.keys vs Object.entries Length

No description provided

lodash flatten vs array.flat 2

lodash flatten vs spread

JSON.stringify vs structuredClone 1

JSON.stringify vs structuredClone

json stringify/parse vs array join/split (numbers) v2

No description provided

json stringify/parse vs array join/split (numbers) v1

No description provided

JSON.stringify(body)

JSON.stringify(body)

find faster - array.find vs map.get

No description provided

ES6 Class vs Prototype vs Object Literal extends Date

Test the speed and memory usage using 3 different techniques for constructing class objects.

Map -> fromEntries

No description provided

NEW BENCHMARK Your Benchmarks