Benchmark name When Created
undefined vs typeof vs in vs hasOwnProperty vs bool

Object lookup performance

28 days ago
offsetWidth vs getBoundingClientRect() 29 days ago
array.length vs array.length > 0 v2 29 days ago
JS Regex vs .startsWith vs .indexOf long

fork of https://www.measurethat.net/Benchmarks/Show/975/11/regex-vs-indexof-vs-startswith-vs-substr

29 days ago
Array Some vs Map + Includes

Comparing performance of: Array.some vs Array.map + Array.includes

29 days ago
call spread vs apply 29 days ago
strict mode function vs normal function 29 days ago
default parameters vs nullish coalesce 2 29 days ago
default parameters vs nullish coalesce 29 days ago
arguments.callee vs new.target vs function name vs variable 29 days ago
arguments.callee vs new.target 29 days ago
new.target vs variable 29 days ago
Symbol in obj vs obj instanceof constructor 3 29 days ago
uuid benchmark 29 days ago
ID Attribute vs ID Selector 29 days ago
flatmap vs reduce to filter undefined elements 29 days ago
Get from object vs get from map 29 days ago
Symbol in obj vs obj instanceof constructor 2 29 days ago
Symbol in obj vs obj instanceof constructor 29 days ago
getCookie: for vs for...of vs indexOf vs find vs reduce v2

Performance comparison of 5 functions to get Cookie value from a document.cookie string.

29 days ago
string/number/symbol speed test 29 days ago
new with empty args list vs new with no args list one month ago
Array.from() vs new Array() 3

Testing the difference between creating filled arrays.

one month ago
Array.from() vs new Array() 2

Testing the difference between creating filled arrays.

one month ago
getComputedStyle - call + access variations. one month ago

 Create Your benchmarks