trails
trails copied to clipboard
Trails help prevent performance issues
Issue Description
A nice addition to Trails could be something like this:
debug: trails event: trails:start
debug: trails event: trailpack:repl:validated (2s)
debug: trails event: trailpack:pluginsManager:validated (20s)
debug: trails event: trailpack:chatbot:validated (1s)
debug: trails event: trailpack:cache:validated (0.2s)
Like this we can find easily what is causing performance issues (here pluginsManager:validated
).
It should be activated only in debug mode but if trails(or maybe a trailpack) can provide something like this it would be nice.
Environment
- node version: all
- trails version: all
- operating system: all