Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Custom Build Query

No description provided

check if stirng is blank

check if a string is blank or not regex vs trim

innerhtml-vs-textcontent

No description provided

Proxy function invocation - apply vs reflect

No description provided

check placeholder in string

Test check placeholder in string, for avoid a place holder is injected into log

lodash sortBy vs native sort

No description provided

hash-wasm vs Web Crypto API

No description provided

Obj.is vs JSON.stringify

No description provided

Set vs Object vs Map, Access gweqgewqgewqgewq

Compare the speed to retrieve a value from three data structures that can be used for boolean referencing; i.e. for mapping enabled settings.

Test string concat

No description provided

Builder pattern extend

No description provided

Builder pattern b

No description provided

Builder pattern

No description provided

Multiply using Decimal.js vs Multiply using native numbers with Math.pow to 10 decimals

No description provided

Object.assign vs spread operator vs structured clone vs for loop copy vs JSON duplicate with fallbacks

This test is only intended to be used to test for getting a new reference to an object, not generating a deep clone of an object. Some of the methods used here generate a deep copy and some a shallow copy, but the intent is only to find the fastest method of getting a shallow copy where the key length is long and there are lots of keys.

lodash hasIn vs get

No description provided

Comparing response.json() and JSON.parse(response.text())

No description provided

direct vs indirect var return

No description provided

Roman_Var_In_Loop

to var or not to var in loop

slice vs substr vs substring (with no end index) 3

Compares slice, substr and substring to each other when there is only a start index

slice vs substr vs substring (with no end index) 2

Compares slice, substr and substring to each other when there is only a start index

JQuery: selector vs filter vs filter+filter

find the best solution for optimize getting selected option

[...array].sort vs array.toSorted

No description provided

JS Date libraries 3

No description provided

getElementById vs QuerySelector nested element2

No description provided