Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

array iteration vs map + filter vs for..of vs for loop

No description provided

Lodash cloneDeep vs structuredClone for large object

Compare performence for cloning an object in JS between lodash.cloneDeep and structuredClone

Create Float32Array via unpacking or concat?

Is it faster to create Arrays or Float32Arrays when combining many arrays into a big one

string vs numeric enum values compare - v2

No description provided

string vs numeric enum values compare -

No description provided

'of' vs indexed charAt() to iterate characters in a string with prototype

No description provided

replace test number vs parseint

No description provided

Lowercase string comparison vs case insensitive regex test

No description provided

Object key access vs array find 15 items

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

identifier at end of scope chain and end of prototype chain vs object lookup

No description provided

Symbol vs String property square bracket vs dot notation

No description provided

.filter().map() vs flatMap() vs reduce()

Compare performance of `.filter().map()`, `flatMap()`, and `reduce()` in JavaScript

Set vs Object vs Map vs array

Compare the speed to retrieve a value from three data structures that can be used for boolean referencing; i.e. for mapping enabled settings.

.startsWith() vs .test() vs .match() vs .indexOf() vs equality v2

No description provided

Delete vs destructure for objects with and without mutating copy

Measure the performance of delete versus removing a prop from an object without mutating

JS: append vs appendChild multiple elements fwaeafwaw

No description provided

findIndex vs indexOf - JavaScript performance [clone]

No description provided

Realistic: querySelector vs querySelectorAll vs getElementsByClassName vs querySelector (ID) vs getElementsByID

No description provided

Complex mapping

No description provided

Markdown Parser Performance Comparison [as of May 2025]

A performance comparison of Javascript Markdown parsers.

segu: filter-map vs reduce

modified version of `map-filter vs reduce` that switches the order of operations

bench the mark

No description provided

numeric vs string property accessor

compare setting and getting values of property accessed via numeric key and string key

querySelectorAll, iterated map or array map

No description provided

new Date().getTime() vs new Date().toISOString()

No description provided