Benchmark name When Created
array.includes vs. set.has on the fly one year ago
replace vs substring 2

Test the performance of replace() vs substring() vs slice() when replacing a char at the beginning of a (in this case uri query-)string that may or may not be there. Added the combined brackets[ ] + substr() method, since it's always the first char we wan't to pop off. Inspired by https://jsperf.com/replace-or-substr. Note: could not get 'let' and 'const' to work. Well, too bad...

one year ago
promise vs callback 123 one year ago
Lodash.isEqual vs JSON.stringify Equaliparison for large json

Test on isEqual performance

one year ago
reduce vs. filter + map vs. forEach - list 100k one year ago
Filtering and mapping with .filter(...).map(...) vs .flatMap(...) vs custom filterMap(...) one year ago
Filtering + Mapping one year ago
Add item to array: push vs spread vs assign vs assign with from: one year ago
lodash/keyBy vs native reduce vs Object.groupBy 2 one year ago
Obfuscator vs. non obfuscated one year ago
Set->Array.from vs iterative pushing 10k one year ago
Set->Array.from vs iterative pushing one year ago
Promise vs async vs callbacks

Promise vs async vs callbacks

one year ago
xrange highcahrts data series parsing

parsing data json to create xrange highcharts graph

one year ago
Compare dates without time 2 one year ago
2023 js qs one year ago
querySelector benchmark one year ago
slice vs filter lzg one year ago
array indexOf (gt -1) vs includes vs some

performance comparison of ways to find if an array contains a value

one year ago
Object key access vs array find vs Set

Test speed of object access by key vs array find to find object

one year ago
replace test ogehogehoge one year ago
add many elements to beginning of array: unshift vs splice vs push+sort one year ago
add many elements to beginning of array: unshift vs splice one year ago
lodash has vs object.hasOwn one year ago
.toString() concatenation vs array join with compiledFunc one year ago

 Create Your benchmarks