Benchmark name When Created
bit shift vs divide by 2 one year ago
Comparing new Date vs raw number comparison one year ago
splittt one year ago
splitt one year ago
array spread operator vs concat vs push fix

a.push(...b); // bug, not works!

one year ago
array spread operator vs concat fix one year ago
spread operator vs array.concat() one year ago
&& vs optional chaining vs nothing

How to better null-check

one year ago
.createElement() vs .createHTMLDocument() vs DOMParser() vs .appendChild()

Test performance between using document.createElement(), document.createHTMLDocument(), DOMParser(), and building up a DOM tree with .appendChild()

one year ago
C vs F one year ago
pop() vs shift() vs unshift vs pop vs index one year ago
Performance of JavaScript .forEach, .map and .reduce vs for and for..of2 one year ago
empty test one year ago
escape and escapeAttr and escapeLoop 2 one year ago
escape and escapeAttr one year ago
Closing tags

Banana

one year ago
IndexOf vs substring 23

Banana

one year ago
IndexOf vs substring 2

Banana

one year ago
localcompare string number vs compare string as number one year ago
mergeDeepRight vs _.cloneDeep vs structuredClone vs spread one year ago
Loop vs Stringify Array Comparison one year ago
Object.is

Object.is vs ===

one year ago
XHR vs Fetch for JSON one year ago
JS replaceAll vs split+join replace one year ago
Shorten array -- slice vs filter one year ago

 Create Your benchmarks


;