From df0ce932f9e20bde8b39cc81e24057f647c249ba Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Wed, 7 Mar 2018 00:09:34 +0000 Subject: Tune PM2 configuration, and add pmx for profiling --- src/profiler/index.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/profiler/index.js (limited to 'src/profiler/index.js') 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(); -- cgit v1.2.1