performance-tools

1.0.0 • Public • Published

Contain tools to optimize your app performance

Feature:

  • comparator : used to compare runtime of two or more function

Demo

compare({
 
    type_case1: () => {
        return true;
    },
 
    type_case2: () => {
        return crypto.constructor.name == "Object";
    },
}, {
    round : 10000
})
 

result

Readme

Keywords

Package Sidebar

Install

npm i performance-tools

Weekly Downloads

4

Version

1.0.0

License

ISC

Unpacked Size

5.76 kB

Total Files

7

Last publish

Collaborators

  • thangphung