Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

reset versus add

No description provided

leftPad vs nativeLeftPad

No description provided

getCasePermutationsMore

No description provided

getCasePermutationsLongerPreAllocatedArray

No description provided

getCasePermutationsLongerArrayOnly

No description provided

getCasePermutations

No description provided

reassign vs splices

reassign vs splices

reassign vs splice

reassign vs splice

array reassign vs array.splice

array reassign vs array.splice

Ramda vs Lodash CloneDeep vs Immer Produce with heavy load

No description provided

obfuscator.io low preset vs no obfuscation 2

obfuscation vs no obfuscation performance

String First Char

No description provided

leftpad with chatgpt and native

blah

leftpad with chatgpt

blah

set vs subarray-set vs pre-allocated subarray-set

No description provided

clearing array via pop() vs shift() vs .length = 0 vs = [] - fix

No description provided

Jump vs switch case vs else if for non-integers

Using a jump hash map vs switch / case vs else if for non-integer values

window.getComputedStyle inline vs batched

No description provided

Lodash.get vs object-path vs Property dot notation (optional chaining)

Modified from https://gist.github.com/acao/018fa0943da0e39c96f57fca64cd0c02

1df693fa-fdb3-4a94-9030-2e979bfdcb09

No description provided

String concat methods

No description provided

proxy vs getter/setter vs prototype getter/setter

No description provided

class vs function constructor vs object literal vs __proto__ vs Object.create vs Object.setPrototypeOf

No description provided

for vs fill

No description provided

replaceAll vs regex replace 1:1

No description provided