Browse the latest JavaScript performance benchmarks created by the community.
Test the performance of replace() vs substring() vs slice() when replacing a char at the beginning of a (in this case uri query-)string that may or may not be there. Added the combined brackets[ ] + substr() method, since it's always the first char we wan't to pop off. Inspired by https://jsperf.com/replace-or-substr. Note: could not get 'let' and 'const' to work. Well, too bad...
Test the performance of replace() vs substring() vs slice() when replacing a char at the beginning of a (in this case uri query-)string that may or may not be there. Added the combined brackets[ ] + substr() method, since it's always the first char we wan't to pop off. Inspired by https://jsperf.com/replace-or-substr. Note: could not get 'let' and 'const' to work. Well, too bad...
time consumed creating a smaller function vs creating a larger function
Testing performance: multiple prototype methods chained after one another that invoke a function from a external source (like fs.readDir or fs.stat, but in this case onTodo1 and onTodo2) - VS - one prototype method that creates a new function in the scope of that one method every time the method is called.
No description provided
No description provided
Compare of different Canvas Context2D properties RW
Test speed of !== undefined vs. only the variable name.
No description provided
No description provided
Difference between a set where we do a cloneDeep first and a set from FP. This is useful when writing Redux reducers.
No description provided
No description provided
testst
test3t3
No description provided
A function that converts an epoch time into an ISO string
A function that converts an epoch time into an ISO string
No description provided
No description provided
No description provided
A function that converts an epoch time into an ISO string
No description provided
Measure the performance of delete versus removing a prop from an object
No description provided