Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

String() vs .toString() vs template-string vs string-concat fixed

No description provided

String() vs .toString() vs template-string vs string-concat

No description provided

getCookie variations

No description provided

new set vs reusing set

No description provided

.at vs bracket notation

.at vs bracket notation

stringCount REDUCE VS FOREACH

Write a function named `stringCount` that takes in an array of strings and returns an object where the keys are the strings from the array and the value of each key is a count of how many times the string appears in the object. If there are duplicate strings the values should reflect that.

highestFrequencyString-2

Write a function named `highestFrequencyString` that takes in an array of strings and returns the string with the highest frequency in the array and how many times it appears.

highestFrequencyString

1. Write a function named `highestFrequencyString` that takes in an array of strings and returns the string with the highest frequency in the array and how many times it appears.

Markdown Performance Comparison 2024-10-23

A performance comparison of leading JavaScript Markdown implementations.

RegEx.test vs. String.includes vs. String.match for multiple results version 3

No description provided

jQuery versions 3.7.1

benchmark different versions of jquery

getCookie string vs regex

No description provided

Deep copy algo vs JSON manipulation - 120k lines of prices

No description provided

Deep copy algo vs JSON manipulation - 6k lines of prices

No description provided

Deep copy algo vs JSON manipulation

No description provided

seperate getcookie vs all cookies (with decode)

No description provided

seperate getcookie vs all cookies

No description provided

If with array or multiple and

No description provided

parseInt vs Number addition test

No description provided

Init array of strings

Strings.split vs array init

DataView set vs TypedArray

No description provided

WeakMap vs property access vs array[0] vs symbol access

No description provided

WeakMap vs property access vs symbol access

No description provided

Adding an element to array: concat vs spread vs push

No description provided

Map vs Object read performance for a 1000 key lookup - fixed

Lookup of map vs object