Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

clear object from undefined

No description provided

Reflect.get vs direct access

No description provided

for-in-hasOwnProperty vs for of object.keys

No description provided

matches vs. closest vs. classList vs. querySelector

No description provided

style.setProperty vs style.removeProperty vs style.cssPropertyName

No description provided

Array.find vs. Map.get small vs Object

Test the performance of Array.find vs. Map.get, with various array sizes, and with/without conversion from array to map

Array.find vs. Map.get small

Test the performance of Array.find vs. Map.get, with various array sizes, and with/without conversion from array to map

String split using regex vs string v4

No description provided

typeof vs truthyness benchmark

No description provided

JS Fastest Array Shallow Copy21312312

Testing the results for the fastest approach of shallow copying an array in JavaScript (concat, slice, for loop, and while loop).

Lodash "uniqWith" "uniqBy"

No description provided

Compare hash functions with xxHash optimizations

No description provided

Compare hash functions

No description provided

Template Literal vs String

No description provided

JS Performance (const vs let vs var)

No description provided

JS Variable Performance (const vs let vs var)

No description provided

Array isArray vs typeof vs array || []

No description provided

TestLoop

No description provided

searching urlencoded emojis vs emoji strings

No description provided

RegEx.test vs. String.includes vs. String.match vs String.includes (using ||) (with multiple strings)

No description provided

pass by value or by object to destructure

No description provided

Nullish vs If 2 lvl

No description provided

Nullish vs If

No description provided

setPrototypeOf test [

No description provided

replaceAT

No description provided