mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-01 02:41:39 -05:00
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 |
||
---|---|---|
.. | ||
admin | ||
api | ||
apps | ||
auth | ||
blog | ||
config | ||
controllers/frontend | ||
data | ||
events | ||
helpers | ||
middleware | ||
models | ||
permissions | ||
scheduling | ||
storage | ||
themes | ||
translations | ||
utils | ||
views | ||
app.js | ||
errors.js | ||
filters.js | ||
ghost-server.js | ||
i18n.js | ||
index.js | ||
logging.js | ||
overrides.js | ||
update-check.js |