0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00
ghost/core/server
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
..
admin 🚀 Allow ServiceWorker /ghost/ scope (#7967) 2017-02-11 14:43:09 +00:00
api 🎨 increase token expiry (#7971) 2017-02-10 13:35:58 +00:00
apps New buttons 🎨 (#8007) 2017-02-16 19:52:32 +00:00
auth 🎨 use passport-ghost retry hook (#8009) 2017-02-17 15:29:03 +01:00
blog 🎨 rename redirects middleware to custom-redirects 2017-02-07 20:05:50 +01:00
config ⏱ Boot time visibility amends (#7984) 2017-02-17 16:27:02 +01:00
controllers/frontend 🔥 do not store settings in config (#7924) 2017-02-03 13:15:11 +00:00
data public client registration: remember auth url (#7994) 2017-02-14 12:41:28 +00:00
events post-scheduling 2016-06-14 10:52:13 +02:00
helpers New buttons 🎨 (#8007) 2017-02-16 19:52:32 +00:00
mail 🔥 do not store settings in config (#7924) 2017-02-03 13:15:11 +00:00
middleware 🎹 re-work url redirects (#7956) 2017-02-10 11:42:18 +00:00
models 🐛 fix email already in use (#7987) 2017-02-13 15:36:21 +00:00
permissions 🐛 fix invite permissions for editor (#7889) 2017-01-25 12:07:31 +00:00
scheduling Shows help message for broken require in scheduler adapter (#7706) 2017-01-16 21:49:41 +01:00
storage 🔥 remove imageRelPath (#7927) 2017-02-03 14:42:05 +00:00
themes 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
translations Add email validation in case of profile update (#7928) 2017-02-08 10:50:43 +01:00
utils 🎨 increase token expiry (#7971) 2017-02-10 13:35:58 +00:00
views Switch to new native system font stack (#7219) 2016-08-18 20:29:46 +01:00
app.js 🎨 logging improvements (#7597) 2016-10-25 12:17:43 +01:00
errors.js 🛠 use Ignition for logging/errors (#7869) 2017-01-23 11:04:01 +00:00
filters.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00
ghost-server.js 🎨 😎 config env usages (#7929) 2017-02-03 18:25:39 +00:00
i18n.js improvement: general fixes 2016-06-01 07:07:20 +02:00
index.js 🔥 remove forceAdminSSL and urlSSL, add admin url (#7937) 2017-02-03 18:13:22 +00:00
logging.js 🎨 remove domain string replacement for logging (#8011) 2017-02-17 15:29:25 +01:00
overrides.js 🛠 update lodash,knex and bookshelf to latest versions 2016-09-26 10:20:55 +02:00
update-check.js 🎨 send LTS parameter if requesting the update check service (#7954) 2017-02-07 19:51:19 +01:00