Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

cached Number.toLocaleString vs Intl.NumberFormat vs Regex

No description provided

Create new set vs clear existing set

No description provided

Object.hasOwnProperty vs in

No description provided

Object.fromEntries vs lodash fromPairs vs Object.assign vs Object spread with custom func

No description provided

Object.fromEntries vs lodash fromPairs vs Object.assign vs Object spread

No description provided

Object.fromEntries vs lodash fromPairs vs Object.assign

No description provided

String.prototype.includes() vs String.prototype.indexOf() vs RegExp.prototype.test()

No description provided

fragment append vs prepend

No description provided

TreeWalker vs querySelectorAll to delete ids

No description provided

RegExp constructor vs literal + instanciation

Testing performance when using a new RegExp object vs a literal regex

predefined values to check

No description provided

hasOwnProperty vs NO-hasOwnProperty vs object.keys

No description provided

Math.pow vs ** vs * vs eToNumber

No description provided

JS Shift vs Pop w/ Push

No description provided

Test map efficiency

No description provided

Lodash some vs JavaScript Object.values and some

Comparing performance of: Lodash vs Native

(Expanded) Filtering out empty rows from a 2D Array

No description provided

Filtering out empty rows from a 2D Array

No description provided

Lodash Set performance

perf check vs simple implementation

uniq vs [new Set()]

No description provided

Intl.NumberFormat vs toLocalString-

No description provided

meow meow meow meow

Compare round lodash function vs javascript native toFixed() function

stringPrettify

No description provided

uniq vs new Set()

No description provided

Array element assignment

Replace the content of one array with the content of another array. Assume that: • alternative approaches are not a choice: • reusing the second array; • cloning the second array; • the arrays are not the same, are not sparse and are of the same length; • content order must be kept; • the difference between +0 and -0 and the differences between NaNs are irrelevant: • we can use === or Object.is() to avoid assignments; • otherwise, elements are opaque; The tests with literals, constants and variables serve as baselines for performance comparison.

NEW BENCHMARK Your Benchmarks