Benchmark name When Created
Try-Catch Loop 3 years ago
Try-Catch Loop 3 years ago
Arrays vs Objects 3 years ago
Local scope vs outer scope variables (fixed)

Cache variable in the function scope

3 years ago
Local scope vs outer scope variables

Cache variable in the function scope

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

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

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

Test

3 years ago
regex test

Test

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

with <link>

3 years ago
forEach vs for vs Query each

with <link>

3 years ago
forEach vs for vs Query each

with <link>

3 years ago
forEach vs jQuery each

with <link>

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

This version declares i once before

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

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

3 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

3 years ago
Demo benchmark

From https://benchmarkjs.com/

3 years ago
Test benchmark # 2

New version of MeasureThat.net

2020 years ago

 New benchmark Your benchmarks