Ghost/core/server/config
Hannah Wolfe 9bd50cb527 ⏱ Boot time visibility amends (#7984)
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
2017-02-17 16:27:02 +01:00
..
env 🎨 updates for database configuration (#7975) 2017-02-11 18:02:12 +00:00
defaults.json 🎨 updates for database configuration (#7975) 2017-02-11 18:02:12 +00:00
index.js ⏱ Boot time visibility amends (#7984) 2017-02-17 16:27:02 +01:00
overrides.json 🔥 remove imageRelPath (#7927) 2017-02-03 14:42:05 +00:00
utils.js 🎨 updates for database configuration (#7975) 2017-02-11 18:02:12 +00:00