mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-04 17:04:59 +03:00
9bd50cb527
refs #2182 * ⏱ Add boot timer - improve visibility of boot time I've been playing around with Ghost start times a lot recently. Every time I do, I add a console.time output for boot, which is annoying. This commit adds that change permanently. We can always revert later before shipping 1.0 😁 * ⏱ Add debug call before main requires - this demonstrates that the majority of boot time is spent on requires - had to rejig the var pattern because of the linter... 💩 * 🐷 💄 Special debug mode for config - I ❤️ being able to output the config, but this is not useful when trying to debug / optimise timings. - This change makes it so we can see how long it takes to do config work by default - If we want to output config specifically, we do `DEBUG=ghost:*,ghost-config npm start` - This also prevents nconf.get() from being called unnecessarily |
||
---|---|---|
.. | ||
env | ||
defaults.json | ||
index.js | ||
overrides.json | ||
utils.js |