diff options
| author | Tom Harley | 2018-03-07 00:09:34 +0000 |
|---|---|---|
| committer | Tom Harley | 2018-03-07 00:09:34 +0000 |
| commit | df0ce932f9e20bde8b39cc81e24057f647c249ba (patch) | |
| tree | 3b87b0dc5eac716c9f3778a53303e509c8e4a2e4 /src/profiler/index.js | |
| parent | Begin support for process manager (PM2) (diff) | |
| download | medicine-df0ce932f9e20bde8b39cc81e24057f647c249ba.tar.gz medicine-df0ce932f9e20bde8b39cc81e24057f647c249ba.zip | |
Tune PM2 configuration, and add pmx for profiling
Diffstat (limited to 'src/profiler/index.js')
| -rw-r--r-- | src/profiler/index.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/profiler/index.js b/src/profiler/index.js new file mode 100644 index 0000000..59934fe --- /dev/null +++ b/src/profiler/index.js @@ -0,0 +1,6 @@ +let pmx = require('pmx').init({ + network: true, + ports: true +}); + +module.export.profiler = pmx.probe(); |
