Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Multiplying lists of vectors - SoA vs AoS vs interlaced array

What's the fastest way to process a list of vectors? Do you go the OO route, with an array of Vector() objects? Do you create a new data structure, using Float32Arrays for x, y, and z? Do you create a single Float32Array and interlace values for x, y, and z within it? Let's find out!

Multiplying lists of vectors - SoA vs AoS vs interlaced array

What's the fastest way to process a list of vectors? Do you go the OO route, with an array of Vector() objects? Do you create a new data structure, using Float32Arrays for x, y, and z? Do you create a single Float32Array and interlace values for x, y, and z within it? Let's find out!

Query Selector v Sizzle

No description provided

Indepotent addition over large lists of vectors - SoA vs AoS

What's the fastest way to process a list of vectors? Do you go the OO route, with an array of Vector() objects? Do you create a new data structure, using Float32Arrays for x, y, and z? Let's find out!

Multiplying lists of vectors - SoA vs AoS vs interlaced array

What's the fastest way to process a list of vectors? Do you go the OO route, with an array of Vector() objects? Do you create a new data structure, using Float32Arrays for x, y, and z? Do you create a single Float32Array and interlace values for x, y, and z within it? Let's find out!

bitwise operator vs. boolean logic when using TypedArrays

Bitwise operators are slow in javascript because there is implicit type conversion between floats and ints. If we use TypedArrays though, javascript engines shouldn't have to convert. But do they? This test is here to find out. We'll also check to see whether conversion is performed between another int-like datatypes, Uint32

jhgjhgjhgjhg

jhg

array.splice vs for loop

No description provided

array.splice vs for loop

No description provided

arguments vs array

No description provided

Different Styles of Object Diffs in JS

No description provided

arrow vs bind

No description provided

Map vs forEach

No description provided

Map vs forEach

No description provided

Map vs forEach

No description provided

Array loops

No description provided

Array loops

No description provided

Overload performance test

No description provided

for (key in obj) vs Object.keys(object)

No description provided

DocumentFragment: various jQuery vs JavaScript

Test various styles of retrieving the content of a <template> element using jQuery and pure JavaScript

leftpad

blah

arraybench

No description provided

Dynamic Create of Table: createElement() vs append HTML

No description provided

foreach

No description provided

lodash some vs loop (static functions)

No description provided