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?

1 Answer 1

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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