Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

set vs array iteration many

No description provided

_.pickBy vs native reduce2

No description provided

for-in vs Object.entires

No description provided

_.pickBy vs native reduce

No description provided

endsWith vs Includes

No description provided

JS substring vs slice

No description provided

JS if/if vs if multiple conditions fixed

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

entries vs for vs foreach vs some vs every length

No description provided

class object creation: with field declaration vs not

No description provided

Test about big arrays

No description provided

object creation: object mutation vs hidden class vs combined vs field declaration

No description provided

Waiting

No description provided

Destructure reference vs pass param

Both create new references in memory. Which is cheaper?

Passing as param vs destructuring internally

Generated benchmark as a result of a PR discussion

arr.at(index) vs arr[index]

No description provided

for vs forEach() vs for...of

Compare loop performance

Some vs Find v1

No description provided

JSON.stringify vs structuredClone vs spread vs Object.assign()

JSON.stringify vs structuredClone vs spread vs Object.assign()

Lodash.isEqual vs Lodash.isEqualWith Equality Comparison for Shallow Array of Strings.

Test on isEqual performance

msgpack vs json - encode

No description provided

Date.now() vs. now()

Test if assigning Date.now() to a variable and than calling it is faster than calling Date.now().

set vs array iteration 100k elements

No description provided

filter-map vs reduce vs forEach

No description provided

Fly Json ODM - 1.21.0 - Query Performance

Benchmark using Fly Json ODM in browser for most common queries only.

Fly Json ODM - 1.21.0 - Medium Size

Benchmark using Fly Json ODM in browser with medium size (10K) array objects.