Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

_.first() vs spread

No description provided

char index vs charAt() vs slice() vs startsWith() vs RegExp --

Compare methods for testing string's beggining character.

Native JS: concatenate string with + vs template literals vs String.concat vs array join

find best solution for concatenate 4 strings

Object.assign vs spreading object copy

No description provided

Object copy JSON vs Object.assign

No description provided

split vs loop of csv line - 2

take a CSV line and split it into cells

eval() vs new Function() - 2

No description provided

null vs delete

No description provided

Test null vs delete operator

No description provided

eval() vs new Function()

No description provided

lodash's get vs optional chaining (?.)

No description provided

test-replaceall213

No description provided

Test pass-first efficiency

No description provided

Lodash _.sortBy vs _.orderBy

No description provided

determ

determ

_.findIndex vs. array.findIndex

No description provided

for vs some - searching for element

No description provided

Array item swapping, destructuring vs temp variable

Array destructuring vs temp variable use in array item swapping

Array vs Set inclusion - 2

No description provided

IndexOf vs Includes in string tedt

Banana

Negative precision floor: Lodash vs Math.floor

No description provided

Optional chaining vs Empty method

No description provided

offsetTop vs getBoundingClientRect

offsetTop or getBoundingClientRect().top

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

No description provided

js replace vs substr

Test of replace vs substr