Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

arinono forloopfind

No description provided

parseInt vs slice + Number

Test parseInt vs slice (to remove non-numeric portion) + Number constructor

split vs exec vs replace vs slice

Test String.split vs RegEx.exec (and String.match) vs String.replace vs String.slice

split vs exec vs replace

Test String.split vs RegEx.exec (and String.match) vs String.replace

str.match vs

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

Compare innerHtml and InsertAdjacentHtml

Compare innerHtml and InsertAdjacentHtml

string-interpolation-vs-toString-vs-plus-string

No description provided

Map iteration for vs while cached

No description provided

reduce vs flatMap, conditional correct

No description provided

reduce vs flatMap, conditional

No description provided

Spread vs Push in Reduce

No description provided

Compare Two Objects

No description provided

JS includes vs set

No description provided

Baqar Object Compare

No description provided

Vanilla JS VS JQuery DOM perfomance 2

Vanilla JS VS JQuery DOM perfomance 2

Scoped / Getter / Setter vs Proxy vs Events

No description provided

Array Deep Copy 2 levels

Produce a deep copy of a Javascript object where nested objects are not simply references to the originals.

JS: append vs appendChild for multiple children

No description provided

String concatenation vs element creation 2

No description provided

String vs object manipulation for editing DOM

No description provided

RegExp#test vs String#indexOf vs String#match vs pre-allocated RegExp

From https://benchmarkjs.com/

for-in: cached vs non-cached 2

No description provided

for-in: cached vs non-cached

No description provided

getter vs properties

No description provided

Lodash cloneDeep vs double spread

compare object clone methods where single level of recursion is needed