Benchmark name When Created
Object Composition vs Instantiation 8 years ago
Array Remove vs String Replace 8 years ago
Try-Catch Loop 8 years ago
Try-Catch Loop 8 years ago
Arrays vs Objects 8 years ago
Local scope vs outer scope variables (fixed)

Cache variable in the function scope

8 years ago
Local scope vs outer scope variables

Cache variable in the function scope

8 years ago
Which equals operator (== vs ===) is faster?

Is there a performance benefit to replacing == with ===?

8 years ago
Demo benchmark as guest user 8 years ago
regex test

Test

8 years ago
regex test

Test

8 years ago
Dummy Test 8 years ago
forEach vs for vs Query each vs for of

with <link>

8 years ago
forEach vs for vs Query each

with <link>

8 years ago
forEach vs for vs Query each

with <link>

8 years ago
forEach vs jQuery each

with <link>

8 years ago
Array filter vs. for loop - with for in 2

This version declares i once before

8 years ago
Array filter vs. for loop - with for in 8 years ago
Array filter vs. for loop (fixed really really) 8 years ago
EcmaScript6 Int16Array vs regular JS array 8 years ago
jQuery by id vs Document.getElementById

Comparing speed of getting element by id with jQuery vs Vanilla JS

8 years ago
Caching length property vs getting it each time in the loop

save length of the array in the variable vs get it the loop

8 years ago
Demo benchmark

From https://benchmarkjs.com/

8 years ago
Test benchmark # 2

New version of MeasureThat.net

2025 years ago

 Create Your benchmarks


;