We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

How debugger works?

News and General

web-admin's avatar
web-admin
20 posts
5 years ago
web-admin's avatar web-admin

Hi guys,

I hope that someone can exaplain how debugger works an why like that.

This is what I get from debugger:

3.5812s LoadVariables 33 Queries 73.5MB Templates

And when I open TEMPLATES tag, at the and I can see this:

0.217708 / 2.5MB Parse Global Variables 3.542902 / 73.5MB Template Parsing Finished

So why there is a huge jump from 2.5MB to 73.5MB?

Also in PERFORMANCE section I can see this:

Memory Usage: 9.8MB of 128M Database Execution Time: 0.1135

It looks like the memory usage is correct but why TEMPLATES show 75MB?

Can someone explain these figures, please?

Thanks!

       
Rob Allen's avatar
Rob Allen
2,950 posts
5 years ago
Rob Allen's avatar Rob Allen

Templates can use a little or a lot depending how much data they have to process, plus 3rd party modules can add a hefty chunk - the more modules that are processed on a page the more resources are needed.

Of course caching templates will drastically reduce these numbers.

It’s also worth evaluating your template code to make processing more efficient, embeds can use a lot, especially if they are looped, and if you have a ton of conditionals in any template that might not help (though recent versions of EE deal with them more efficiently).

Finally look at the template debug timings to see if there are any noticeable spikes, that can often indicate a bottleneck somewhere.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.