Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

string switch vs includes

No description provided

for-in vs object.keys vs Ramda.mapObjIndexed

No description provided

Shift/Pop

No description provided

Queue Implement by 2 Stacks

No description provided

slice vs moving array vs reduce

No description provided

append vs appendChild + createTextNode

No description provided

Array.prototype.push vs Array.prototype.push.apply

No description provided

ES6 Optional Chaining vs. Lodash _.get

No description provided

get last element of path: split vs regex

No description provided

endsWith() vs regex

No description provided

remove() vs display:none on each element

No description provided

Date.now() vs new Date().getTime() vs performance.now()

No description provided

jQuery .first() vs :first vs .filter(:first) vs .eq(0) vs $(.get(0)) vs $([0]) #4

No description provided

Array push vs spread operator vs concat

Compare push method with the new ES6 spread operator and native concat

Object.keys -> native forEach vs lodash _.forEach

No description provided

duration format2

No description provided

slice vs substr vs substring with end

Compares slice, substr and substring to each other when there is only a start index

Remove duplicate: Pure JS VS Lodash

No description provided

String.Split and String.Match

We are testing String.split with a string input against String.match with a regex input, both will output an array.

str.match vs str.Split

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

set.has vs. array.includes

No description provided

Array.includes vs Dictionary lookup

No description provided

path2d-vs-math

No description provided

Lodash sort vs foreach

No description provided

hasAttribute vs. getAttribute vs. classList.contains

No description provided

NEW BENCHMARK Your Benchmarks