Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Lodash isEmpty vs Native Javascript

This benchmark compares the performance of lodash's `isEmpty` function with native JavaScript code for checking if an object is empty. The lodash `isEmpty` function checks if a value is an empty object, collection, map, or set. The native JavaScript code checks if an object has no own enumerable string keyed properties.

Object key access vs array find 100 items yeh ok

Test speed of object access by key vs array find to find object

set vs array find if exists

No description provided

Include vs Binary search in sorted array vs Map.has() vs Object[] (100 elements)

No description provided

Map has VS Map get

Map has VS Map get

Slice vs Splice insert element to array

Compares the speed for add/remove 1 items of an array

js splice v toSpliced improved

show splice v toSpliced performance

InstanceOf vs flag

No description provided

JavaScript Array: Every vs Some

Compare the performance of using the Every and Some method in an Array

filtering with Array.prototype.flatMap vs for of loop vs Array.prototype.map + Array.prototype.filter

No description provided

filtering with Array.prototype.flatMap vs for of loop

No description provided

String Constructor vs toString

No description provided

Vue Reactive vs ES statement

No description provided

Vue Reactive vs Ref vs ShallowRef

No description provided

compare for loop vs array.filter vs array.filter with array.includes

compare for loop vs array.filter

Dompurify vs sanitize-html 3

No description provided

Lodash cloneDeep vs structuredClone vs JSON-JSON

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

Array.from({ length: n }) vs new Array(n)

Testing the difference between creating filled arrays.

Object literal vs Object.create(null) v4 13.07.2023

compare performance of object creating non-empty objects using object literal vs Object.create

Closest performance: Class selector vs data attribute selector vs no result

No description provided

js compression (inflateRaw) libraries

emulate file compression/decompression : Deflate (RFC1951)

Regex Memory Consumption

No description provided

Object hash vs JSON stringify

No description provided

set vs array creation

No description provided

set.add test2

No description provided

NEW BENCHMARK Your Benchmarks