Benchmark name When Created
Trimming leading/trailing characters (multiple) one month ago
JSON.stringify vs structuredClone 2dsfasr12qe12321312331312321 2312312

JSON.stringify vs structuredClone 2dsfasr12qe12321312331312321

one month ago
JSON.stringify vs structuredClone 2dsfasr12qe12321312331312321

JSON.stringify vs structuredClone 2dsfasr12qe12321312331312321

one month ago
testing string one month ago
JavaScript .sort() vs .toSorted ()vs [...].sort()

Compare Javascript sort performance

one month ago
JavaScript reverse vs [,..spread].reverse

Compare Array.reverse() to Array.toReversed() performance wise.

one month ago
Date methods: toISOString, getDay, constructor one month ago
Slice vs Splice vs Shift (Large Array 2)

Compares the speed for removing items from the beginning of an array

one month ago
array join vs toString js vs json

test

one month ago
RegEx.match vs. startWith2

a

one month ago
RegEx.match vs. startWith

a

one month ago
Access to Proxy vs Array one month ago
Multiple .closest() or complex CSS selector one month ago
Native JS: concatenate integer with string with + vs template literals vs String.concat

find best solution for concatenate 4 strings

one month ago
putImageData vs drawImage manual v2 one month ago
putImageData vs drawImage manual one month ago
JS Split VS RegExp one month ago
.startsWith() vs. RegExp for short strings and short prefixes one month ago
CSS: .setProperty vs. Object.assign vs. .style vs. cssText-append

Tests whether manipulating an HTML element's inline styles is fastest via .setProperty(), Object.assign, .style or by appending to the cssText.

one month ago
js native lowercase vs native uppercase one month ago
Fastest way to detect an empty string - better test cases

testing removing beginning and end whitespace vs trim

one month ago
Perfomance: Switch (with functions) vs Polymorphism (with methods)

https://stackoverflow.com/questions/50401725/perfomance-switch-vs-polymorphism

one month ago
getAttribute & setAttribute vs dataset

Compare setAttribute & getAttribute to dataset

one month ago
RegEx.test vs. String.includes (end of string matching) one month ago
for...of (no break) vs find()

Testing the difference between native loops and find()

one month ago

 Create Your benchmarks