Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

querySelector vs querySelectorAll vs getElementsByClassName when trying to select by group of similar ID elements

No description provided

Boolean vs !! test

No description provided

String vs. Template Literal with var 2

No description provided

String vs. Template Literal with var

No description provided

JavaScript spread operator vs Object.assign performance 123456

No description provided

array.splice vs for loop with 2 arrays

No description provided

Array.at vs index (last element)

Measures performance between using arr.at(-1) to access the last element in the array and arr[arr.length - 1]

Logs - RegEx.test vs. String.includes vs. String.match

No description provided

Set.difference vs Filter

No description provided

Array.Prototype.at vs index (negative)

Measures performance between using arr.at(-1) to access an element in an array and arr[arr.length - 1]

json stringify vs object tostring 1

No description provided

Sine Approximation

No description provided

testing array ops

No description provided

Spread vs Object.assign (mutation)

No description provided

string/number/symbol speed test 1

No description provided

destructuring vs omit

No description provided

hasOwnProperty vs Object.keys (longer and more options)

No description provided

hasOwnProperty vs Object.keys (longer)

No description provided

Lodash isEqual vs JSON stringify11

No description provided

Lodash isEqual vs JSON stringify1

No description provided

add and slice vs destructure into

No description provided

structuredClone() vs MobX toJS()

No description provided

lodash camelCase vs javascript camelCase long (+regex)

No description provided

new vs not

No description provided

Looping With Stuff

Loop some stuff haha