Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

htmlparser2@6.1.0 vs DOMParser

No description provided

filterMapInPairs

No description provided

lodash.map() vs Object.keys().map()

lodash.map() vs Object.keys().map()

string-interpolation-vs-concatenation-2.1

No description provided

string-interpolation-vs-concatenation-2

No description provided

Lodash get vs. native optional chaining

No description provided

Spread Operator VS Object.assign performance analysis

No description provided

Decimales para sat

926.896

public vs closure vs private

No description provided

entries vs keys lookup

No description provided

moment iostring

No description provided

Testing 1 2 3 4 5

No description provided

Lodash isString fork

No description provided

_isEqual vs. .every()

No description provided

parseInt benchmark v2

No description provided

JavaScript spread operator vs Object.assign performance | lates-2

No description provided

Replace string methods, .replace(), replaceAll(), and split+join +

No description provided

Replace string methods, .replace(), replaceAll(), and split+join

No description provided

replace vs substring vs slice from beginning (+ brackets, substr, compiled vs inline regex and replace from var)

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...

JSON.stringify vs structuredClone more

JSON.stringify vs structuredClone

for-in vs object.keys in loop

No description provided

String concatenation vs array join v6

No description provided

6546878965987987987984981651324684654984658489465798654984659856416514698584

while vs lastIndexOf

5165168465468465216546516546513657354365435218561549845

while vs lastIndexOf

dataset vs getAttribute() vs jQuery.data() vs jQuery.attr()

No description provided