Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

bignumber.js vs. big.js vs. decimal.js 2022 ver. (random) (no toFixed)

Compare newer version of bignumer libraries.

Loop through child nodes multiple times - v2

No description provided

array[1] vs array.at(1)

No description provided

In-memory, localStorage and sessionStorage Speedtest

No description provided

Array vs Object vs Map vs WeakMap access (3) vs Object key

No description provided

JS Filter Test large array 10000

No description provided

array.join(",") vs array.ToString()

Tests the speed of creating a comma delim string

Array.prototype.concat vs spread operator real

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

Filter null/undefined/empty string key values from an Object

No description provided

className vs classList add,remove

No description provided

startsWith vs charCodeAt

No description provided

Date valueOf() vs getTime() vs Number()

No description provided

substring vs. slice vs. replace to remove string from end of input string

Determine the fastest way to remove a string from the end of another string.

unescape vs TextEncoder vs FileReader v3

No description provided

gzip compatible compression libraries comparison - pako vs fflate

comparing gzip compatible compression and decompression of pako with fflate

zlib compatible compression libraries comparison - pako vs fflate

comparing zlib compatible compression and decompression of pako with fflate

spread operator vs object assign vs object setPrototypeOf vs reflect setPrototypeOf

spread operator vs object assign vs object setPrototypeOf vs reflect setPrototypeOf

lodash groupBy vs Array.reduce 100k more betterer

No description provided

toSpliced vs splice vs with

No description provided

toSorted vs slice&sort

No description provided

lodash merge vs deepmerge vs simple clone function (multiple style objects)

No description provided

Euclidean distance comparison

A demonstration of efficient and inefficient eculidean distance comparisons

lodash merge vs deepmerge vs deepmerge-ts vs @fastify/deepmerge vs just-extend (take 3)

No description provided

Lodash union vs Native Javascript

This benchmark compares the performance of lodash's `union` function with native JavaScript code for creating an array of unique values from all given arrays. The lodash `union` function creates an array of unique values, in order, from all given arrays. The native JavaScript code uses the `Array.prototype.concat()` method combined with `new Set()` to achieve the same result.

Lodash has vs Native Javascript

This benchmark compares the performance of lodash's `has` function with native JavaScript code for checking if an object has a specific property. The lodash `has` function checks if `path` is a direct property of `object`. The native JavaScript code uses the `in` operator to check if an object has a specific property.

NEW BENCHMARK Your Benchmarks