trails icon indicating copy to clipboard operation
trails copied to clipboard

Trails help prevent performance issues

Open jaumard opened this issue 7 years ago • 0 comments

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

jaumard avatar Nov 13 '16 22:11 jaumard