Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

fight to the death - for loop vs chained methods 10,000

No description provided

fight to the death - for loop vs chained methods 1000

No description provided

fight to the death - for loop vs chained methods1 array length 100

No description provided

fight to the death - for loop vs chained methods1

array length 10

fight to the death - for loop vs chained array methods (10,000,000) minus sort

remove the sort from for loop method

fight to the death - for loop vs chained array methods (100,000)

array length 100,000

Comparing different techniques to truncate float-point numbers in JavaScript

Math.trunc(original) ~~original; // Double negation original & -1; // Bitwise AND with -1 original | 0; // Bitwise OR with 0 original ^ 0; // Bitwise XOR with 0 original >> 0; // Bitwise shifting by 0

Underscore.isEqual vs JSON.stringify Equality Comparison for Shallow Array of Strings

Test on isEqual performance

Lodash.isEqual 4.17.21 vs JSON.stringify Equality Comparison for Shallow Array of Strings

Test on isEqual performance

filter ids with findIndex vs Map access12314

No description provided

filter ids with findIndex vs Map access

No description provided

findIndex vs new Map123fdfdsfsfd

No description provided

findIndex vs new Map

No description provided

fight to the death - for loop vs chained array methods (10)

arr length 10 (replaced if else with a switch for the win?)

Array.prototype.concat vs spread operator22

Compare the new ES6 spread operator with the traditional concat() method

PutImageData vs DrawImage (big canvases)

No description provided

Check memory use 3

No description provided

innerHTMLParser vs domParser

No description provided

Is After - Date vs Moment

No description provided

the battle to he death

Am I going mad?

TY_svg_stackCompare_v008

Testing different methods for altering svg properties

TY_svg_stackCompare_v007

Testing different methods for altering svg properties

TY_svg_stackCompare_v006

Testing different methods for altering svg properties

TY_svg_stackCompare_v005

Testing different methods for altering svg properties

Array loop vs foreach vs map saved

No description provided