Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

for vs for backwards vs for each vs some vs for..of

Compare loop performance

Object.keys vs for ... in (bigger object)

No description provided

Object.keys vs for ... in

No description provided

Various object iteration methods

No description provided

Different method to write a TypedArray

No description provided

Test validation

No description provided

Can JavaScript benefit from the ECS pattern 2? With split components position and health 5

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)

Can JavaScript benefit from the ECS pattern 2? With split components position and health 4

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)

Can JavaScript benefit from the ECS pattern 2? With split components position and health 2

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)

Can JavaScript benefit from the ECS pattern 2? With split components position and health

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)

dsadsa

dsa

Lodash vs Ramda vs Remeda

No description provided

RegEx.test vs. String.includes vs. String.match case sensitive2

No description provided

RegEx.test vs. String.includes vs. String.match case sensitive

No description provided

invert a nunmber

No description provided

Array.prototype.concat vs spread operator fork

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

Lodash.isEqual vs JSON.stringify Equality Comparison for deep nested obj

Test on isEqual performance

Array Access vs Object Access with Random Value

No description provided

Regex vs Split

No description provided

String vs Regex split

No description provided

JSON.parse + JSON.stringify vs native structuredClone

JSON.parse + JSON.stringify vs structuredClone

Fast approx. atan2 vs Math.atan2 vs fast accurate atan2

No description provided

new Date comparison (ISO string with and without milliseconds and timestamp)

No description provided

Date.now() vs Math.random()

No description provided

Merging two arrays test

No description provided

NEW BENCHMARK Your Benchmarks