معرفی شرکت ها


load-perf-0.2.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Check load performance of your module and its dependencies
ویژگی مقدار
سیستم عامل -
نام فایل load-perf-0.2.0
نام load-perf
نسخه کتابخانه 0.2.0
نگهدارنده ['gyandeeps']
ایمیل نگهدارنده ['gyandeeps@gmail.com']
نویسنده Gyandeep Singh
ایمیل نویسنده gyandeeps@gmail.com
آدرس صفحه اصلی git+https://github.com/gyandeeps/load-perf.git
آدرس اینترنتی https://github.com/gyandeeps/load-perf#readme
مجوز MIT
[![NPM version](https://badge.fury.io/js/load-perf.svg)](http://badge.fury.io/js/load-perf) [![Build Status](https://travis-ci.org/gyandeeps/load-perf.svg?branch=master)](http://travis-ci.org/gyandeeps/load-perf) load-perf ==================== ## Idea Main idea here is to measure the load(require) time for dependencies and devDependencies for your project or module. we also calculate the load(require) time of your module. This give an idea about how much time would it take for your module to be required by the consumer. Key points: * Measure load performance of your module when its required * Measure load performance of your dependencies * Measure load performance of your devDependencies ## How to use Just install the module ```sh npm install load-perf -g ``` Then just run the module on your project or module ```sh load-perf ``` ## Options ```sh -h, --help Show help. -v, --version Outputs the version number. -p, --package path::String Package json file path. - default: ./package.json -d, --checkDevDependencies Perf calculation for devDependencies. - default: false --no-checkDependencies Perf calculation for dependencies. - default: true ``` ## NodeJs API You can consume this module programmatically through the Node.js API also. ```js var loadPerf = require("load-perf"); var defaultOptions = { package: "./package.json", checkDevDependencies: false, checkDependencies: true }; var performanceData = loadPerf(defaultOptions); ``` Even if the options are not supplied to the function, we will use the defaults. ## Output Example All times are in `ms`. ```sh $ load-perf Dependencies: chalk : 21.332987 concat-stream : 16.36361 debug : 13.844468 doctrine : 10.851406 escape-string-regexp : 1.946993 escope : 67.604855 espree : 17.298621 estraverse : 3.452687 estraverse-fb : 8.504899 glob : 18.858194 globals : 3.553849 handlebars : 62.334192 inquirer : 101.852429 file-entry-cache : 1.86819 is-my-json-valid : 9.402158 is-resolvable : 2.927087 js-yaml : 47.601996 lodash.clonedeep : 20.422166 lodash.merge : 25.618057 lodash.omit : 23.293907 minimatch : 6.914903 mkdirp : 1.686758 object-assign : 1.593661 optionator : 27.581543 path-is-absolute : 1.661102 path-is-inside : 1.762264 shelljs : 37.127746 strip-json-comments : 1.587796 text-table : 1.437153 to-double-quotes : 1.988777 to-single-quotes : 1.725977 user-home : 1.437153 xml-escape : 1.249491 Module load time: 278.161939 ```


نیازمندی

مقدار نام
^0.6.0 optionator
^1.1.0 chalk
^4.0.1 object-assign
^0.2.0 text-table


زبان مورد نیاز

مقدار نام
4.1.1 Npm


نحوه نصب


نصب پکیج tgz load-perf-0.2.0:

    npm install load-perf-0.2.0.tgz