Benchmark name When Created
eval vs json parse better one year ago
JS typed arrays

Tests conventional canvas manipulation vs using typed arrays as discussed here: https://hacks.mozilla.org/2011/12/faster-canvas-pixel-manipulation-with-typed-arrays/

one year ago
Delete vs Rest one year ago
for-push vs for-noop vs flatMap

Comparing performance of: for-push vs for-noop vs flatMap

one year ago
for-noop vs flatMap

Comparing performance of: for-noop vs flatMap

one year ago
for-push vs filter

Comparing performance of: flatMap vs for-push

one year ago
toFixed + parse vs toPrecision vs Math.round() vs Math.floorfast one year ago
filter-foreach vs foreach+if one year ago
Regex extract info vs Split one year ago
Regex extract info one year ago
RegEx.test vs. String.includes vs. String.match vs String.indexOf (~2000 characters) one year ago
RegEx.test vs. String.includes vs. String.match (2000 character) one year ago
Loadash isEmpty vs Object.keys length one year ago
RegEx.test vs. String.includes vs. String.match vs String.match(regex) for starting string one year ago
for of loop

for item of array v.s. for n=0;n<array.length;++n

one year ago
str.match vs str.Split1

Test String.match with regex against String.split with string. We are splitting a string at the spaces.

one year ago
toggle - className vs. setAttribute vs. classList one year ago
addEventListener('resize') with debounce + innerWidth VS matchMedia() + matchMedia.addListener()

This benchmark compares using `addEventListener('resize')` with window.innerWidth versus window.matchMedia with it's`addListener()` function to see which is faster.

one year ago
Radash vs Native one year ago
Ramda vs Native .chain one year ago
boolean comparator one year ago
lodash sortby vs orderby - munto one year ago
.dot vs ['bracket'] vs [bracket] notation vs getter

Fork of https://jsperf.com/dot-vs-square-bracket/5

one year ago
RegEx.test vs. String.includes vs. String.match (long) one year ago
Cash 6 vs Umbrella one year ago

 Create Your benchmarks