Benchmark name When Created
window.getComputedStyle vs. className vs. classList 2 one year ago
window.getComputedStyle vs. className vs. classList one year ago
Benchmark Clamp 2221134b-d084-4650-87ae-9a71a46875a0

Benchmark multiple clamp implementations

one year ago
Array of objects loop for vs foreach vs map vs for..of + slice vs for one year ago
Testing String Replacement one year ago
bench simple split vs replace regex one year ago
querySelector vs querySelectorAll testsss one year ago
getBoundingClientRect vs style one year ago
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.)

one year ago
Test querySelector computed style one year ago
Compare jQuery 3.7.0 vs 3.6.0 performance

Comparing performance of: jQuery 3.7.0 vs jQuery 3.6.0

one year ago
Stringify vs toString vs Object Reduce and String vs Get all strings

Test performance to get strings from Object

one year ago
Stringify vs toString vs Object Reduce

Test performance to get strings from Object

one year ago
Get the only item in an array

How do array.toString(), array.shift(), and array.pop() compare to array[0] when retrieving the only item in an array

one year ago
test date check one year ago
chain of or equals vs Array.includes

What works best when value misses all the conditions.

one year ago
chain of or equals vs includes 2

how much of a performance deficit you can expect from using Array.includes instead of manually writing a chain of logical ORs

one year ago
lodash clonedeep vs json.parse(stringify()) vs recursivecopy vs structuredClone 1234 one year ago
startsWith vs indexOf with Array.filter for user dataset one year ago
JavaScript spread operator vs Object.assign performance GifCo

Perf test of Spread vs Object.assign()

one year ago
Trim vs regex

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

one year ago
Set Has vs Array Includes Smaller

Comparing performance of Set.has() vs Array.includes()

one year ago
test international one year ago
array find vs for-loop vs while one year ago
Array.find() vs for loop one year ago

 Create Your benchmarks