Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

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

Fast approx. atan2 vs Math.atan2 vs cached atan2 (v8 optimization buster + local scope) 2

No description provided

for vs forbackwards vs foreach vs some vs for..of 2

Compare loop performance

flat() vs reduce.concat() vs es-toolkit flatten()

No description provided

JSON parse inside eval

No description provided

eval vs json parse (working) real

No description provided