keymetrics / pm2-io-apm

PM2.io APM for Node.JS
Apache License 2.0
148 stars 40 forks source link

require time is around ~54ms vs ~18ms for pmx #90

Closed Unitech closed 6 years ago

Unitech commented 6 years ago

pmx

unitech@delta: ~/keymetrics/pm2
>>> require-time 
2ms pm2-multimeter
18ms    pmx
4ms promptly

@pm2/io

unitech@delta: ~/keymetrics/pm2
>>> require-time 
54ms    @pm2/io
28ms    @pm2/agent
8ms async
Unitech commented 6 years ago

As we are using a transpiler, to reduce the lib loading we can try: