Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Remove undefined/null values from object - Lodash PickBy vs Native

No description provided

Promise vs Async Await(2)

No description provided

zk test spread vs push 3

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

zk test spread vs push 2

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

zk test spread vs push

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

test array empty

No description provided

Empty Array - New vs Static

No description provided

Spread Operator vs structuredClone

Spread Operator vs structuredClone

Accessing stuff

No description provided

JSON Stringify with Circular Reference Speed Test

This benchmark tests whether the speed or JSON.stringify changes with object size

We test stuff!

No description provided

isArray-2

Array.isArray vs Object.prototype.toString vs [].constructor vs instanceof vs bool

array.includes vs. set.has on the fly

No description provided

replace vs substring 2

Test the performance of replace() vs substring() vs slice() when replacing a char at the beginning of a (in this case uri query-)string that may or may not be there. Added the combined brackets[ ] + substr() method, since it's always the first char we wan't to pop off. Inspired by https://jsperf.com/replace-or-substr. Note: could not get 'let' and 'const' to work. Well, too bad...

promise vs callback 123

No description provided

Lodash.isEqual vs JSON.stringify Equaliparison for large json

Test on isEqual performance

reduce vs. filter + map vs. forEach - list 100k

No description provided

Filtering and mapping with .filter(...).map(...) vs .flatMap(...) vs custom filterMap(...)

No description provided

Filtering + Mapping

No description provided

Add item to array: push vs spread vs assign vs assign with from:

No description provided

lodash/keyBy vs native reduce vs Object.groupBy 2

No description provided

Obfuscator vs. non obfuscated

No description provided

Set->Array.from vs iterative pushing 10k

No description provided

Set->Array.from vs iterative pushing

No description provided

Promise vs async vs callbacks

Promise vs async vs callbacks