Profiler for Minigun
Minigun-profiler collects cpu and memory usage of your application running locally
Usage
Enable the plugin by adding it in your test script's config.plugins
section:
"config": // ... "plugins": "profiler": "pid": 12345 "interval": 2000 //in miliseconds // ...
pid
is required - run ps -f | grep node
in your terminal and look for pid of the application that you want to collect data of
interval
is optional - default value is 2000 miliseconds
Collected metrics
In the JSON stats produced by minigun
, below stats will be included.
// ... "profiler": "cpu": "min": 53 "max": 107 "median": 81 "p95": 107 "p99": 107 "memory": "min": 46225 "max": 46225 "median": 46225 "p95": 46225 "p99": 46225 // ...
License
minigun-plugin-profiler is distributed under the terms of the MIT license.