Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Optional chaining array access without local cache vars vs optional chaining array access with local cache vars

Testing with nested sensor data

filter vs for loop splice

comparing array filter vs repeated splicing

standard "for" vs "for...of"

No description provided

splice vs reassignment vs arr.length & push

Compares the speed of array reassignment methods on small arrays for known values

indexed for vs for...of

No description provided

add objects on loop

No description provided

selector api

getElementById, getElementsByClassName, querySelector, querySelectorAll

Luxon vs moment vs Date

No description provided

for vs for...of vs .map vs .forEach

No description provided

JavaScript Convert Value to String: String() vs .toString() vs `${value}` vs ("" +) vs (+ "")

No description provided

String() vs .toString() vs `${num}` vs ("" +) vs (+ "")

No description provided

remark vs markdown-it vs micromark parser Jan 2026

No description provided

JavaScript String Concatenation: String Append vs String.prototype.concat vs Array.prototype.join

No description provided

JavaScript Array Shallow Copy: Array.from vs Spread Syntax vs Array.prototype.slice vs Array.prototype.concat

No description provided

js spread vs push on new array

No description provided

Iterate X times

No description provided

Lodash.js vs instanceof Array vs Array

No description provided

Find the best ApiListWrapper.findBy() performance

Evaluate the best performance of the .findBy method.

ApiListWrapper .find() implementations

Evaluate the pers performance of the .find method.

cloneDeep vs structuredClone (Lottie JSON file)

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

fromEvent vs addEventListener?

fromEvent vs addEventListener

parseFloat vs slice on unit numbers

No description provided

Performance when setting innerHTML vs innerText vs textContent

No description provided

Markdown Performance Comparison 2026

A performance comparison of marked 17 vs markdown-it 14

Math.max + Math.min and reduce

No description provided

NEW BENCHMARK Your Benchmarks