Actions

Talk

Difference between revisions of "How to debug your code"

From Joomla! Documentation

(Created page with "Hi, does anyone know if there are any guidelines as to what speed and memory performance "SHOULD" be like at each of the event points? ie: onAfterInitialize etc? ~~~~")
 
(Reply)
 
Line 2: Line 2:
  
 
[[User:Purplebeanie|Purplebeanie]] ([[User talk:Purplebeanie|talk]]) 17:14, 30 June 2014 (CDT)
 
[[User:Purplebeanie|Purplebeanie]] ([[User talk:Purplebeanie|talk]]) 17:14, 30 June 2014 (CDT)
 +
 +
: So truthfully, there isn't a single right answer to this.  It's going to be dependent on the variables that make each site unique; server stats (memory, PHP version, etc.), installed extensions (and what they are actually doing and what type of code they are using), and much more.  One example of how much it can depend based on environmental variables is a project I'm working on right now on my local system running PHP 5.4 and requests take somewhere around 15-20 seconds to complete while the same site on the beta server running PHP 5.5 takes 2-3 seconds to do everything. [[User:Mbabker|Michael Babker]] ([[User talk:Mbabker|talk]]) 09:43, 6 July 2014 (CDT)

Latest revision as of 09:43, 6 July 2014

Hi, does anyone know if there are any guidelines as to what speed and memory performance "SHOULD" be like at each of the event points? ie: onAfterInitialize etc?

Purplebeanie (talk) 17:14, 30 June 2014 (CDT)

So truthfully, there isn't a single right answer to this. It's going to be dependent on the variables that make each site unique; server stats (memory, PHP version, etc.), installed extensions (and what they are actually doing and what type of code they are using), and much more. One example of how much it can depend based on environmental variables is a project I'm working on right now on my local system running PHP 5.4 and requests take somewhere around 15-20 seconds to complete while the same site on the beta server running PHP 5.5 takes 2-3 seconds to do everything. Michael Babker (talk) 09:43, 6 July 2014 (CDT)