shoreditch-ops/artillery-plugin-profiler

Name: artillery-plugin-profiler

Owner: Shoreditch Ops

Description: null

Created: 2015-10-01 13:03:48.0

Updated: 2016-06-19 18:13:38.0

Pushed: 2017-11-03 16:56:01.0

Homepage: null

Size: 12

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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:


onfig": {
// ...
"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.


 ...
rofiler": {
"cpu": {
"min": 5.3,
"max": 10.7,
"median": 8.1,
"p95": 10.7,
"p99": 10.7

emory": {
"min": 462.25,
"max": 462.25,
"median": 462.25,
"p95": 462.25,
"p99": 462.25
}

 ...

License

minigun-plugin-profiler is distributed under the terms of the MIT license.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.