1

I've got a news website built and I am in the process of improving it's performance. What would be the best way to measure the performance of my templates?

I can use Chrome Developer tools to measure how long it takes for the server to respond but is that the best way of doing it or can I do it internally?

5

If you enable devMode, you'll get code profiling information (execution times, memory used, stack traces, etc.) that you can use to debug templates with in your browser's console as well as in the craft/storage/runtime/logs folder.

| improve this answer | |
  • There's also the old Profilr plugin... how much of that is redundant with the console log output? – Lindsey D Mar 23 '15 at 23:40
  • Looks like it's duplicating most of it and just adding a nice UI for it. – Brad Bell Mar 23 '15 at 23:55
  • 1
    Nice UIs are for suckers. ;) – Lindsey D Mar 23 '15 at 23:56
  • 1
    Hahaha, yeah... definitely... looks around before clicking on the download button – cballenar Mar 24 '15 at 22:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.