Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Can JavaScript benefit from the ECS pattern?

JS arrays are weird and (probably?) not memory-contiguous, but just for kicks, let's see what difference there is (if any) between performing the same action on 1,000,000 objects in an object-oriented style (with the method attached to the object) vs an ECS-style (with the behavior separated from the raw data)

Set Has vs Array Includes

Comparing performance of Set.has() vs Array.includes()

Fixed lodash merge vs object.assign vs spread

No description provided

Performance Test: substring vs substr vs slice vs split

No description provided

Let var differencee

No description provided

Let var difference

No description provided

Aaadkdk

No description provided

Reflect.set vs Object.assign vs Direct assignment

No description provided

check sorting perf

test performance of array sorting

Queue Test

No description provided

Custom Test Benchmark for Structs

Testing wether if a struct will be better suited for the job

cloneDeep

No description provided

JavaScript spread operator vs Object.assign performance vs Multiple statementd

No description provided

Reduce Push vs. flatMap

No description provided

Intl.DateTimeFormat vs ReduceReplace Date Format 2

No description provided

Intl.DateTimeFormat vs Reduce/Replace Format

No description provided

In operator vs Object Accessors

No description provided

Lodash sort vs array.prototype.sort copy2

No description provided

createLinearGradient. canvas vs offscreenCanvas

No description provided

setFont measureText OffscreenCanvas vs Canvas

DomCanvas vs OffscreenCanvas

OffscreenCanvas measureText

DomCanvas vs OffscreenCanvas

The grand dictionary property accessor schema

Objects: - porperty accessors - scope accessors

startswith vs direct comparison

No description provided

flatMap vs reduce

No description provided

Array loop vs foreach vs map with return

No description provided