Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

JSON parse vs response.json

No description provided

slice and substring

No description provided

parseInt vs toString vs string literal vs + empty string vs String constructor

No description provided

findIndex + toSpliced vs map

No description provided

array access vs object access

No description provided

clientWidth / clientHeight vs. getBoundingClientRect() vs. getComputedStyle

No description provided

apply vs spread

Comparing the various ways to append to a large array

document.getElementById+querySelectorAll

No description provided

test array filter vs object destructure

test array filter vs object destructure

slice vs destruction (obj)

No description provided

Filter Boolean vs. Custom Function

Testing the performance of the idiomatic .filter(Boolean) vs. filtering by a custom coercing function.

Jquery versions Benchmarch Mehman2

SImple benchmark of jQuery versions

Array of objects loop for vs foreach vs map vs for..of + slice vs for

No description provided

JS Cloning benchmarking

Comparing performance of: Spread operator (...) vs JSON.parse(JSON.stringify()) vs Custom function vs Lodash.cloneDeep() vs jQuery.extend(true) vs structuredClone() By cloning a complex object with nested specific objects (ArrayBuffer, Set, Map, RegExp, etc.)

Compare jQuery 3.7.0 vs 3.6.0 performance

Comparing performance of: jQuery 3.7.0 vs jQuery 3.6.0

Trim vs regex

Check for valid input by doing string.trim() or /./.test(text)

Array.find() vs for loop

No description provided

Object.keys vs Object.entries vs Object.values

No description provided

(ColorfulCakeChen) Image Scaling (9ca837f1098a638010ec0d49bc7925063226de8b) 98

No description provided

id performance comparison

No description provided

JS instanceof vs in

No description provided

Set Prop Variable vs setAttribute

No description provided

Set Prop Varaible vs setAttribute

No description provided

set textContent vs update text node

No description provided

Cloning benchmarking

Comparing performance of: spread ... vs vs JSON.parse(JSON.stringify()) vs Custom function vs Lodash.cloneDeep() vs jQuery.extend(true) vs structuredClone()

NEW BENCHMARK Your Benchmarks