PHP optimization

Author Message

Tony De Freitas

Moderated by: Nicolas Pastorino

Tuesday 12 October 2010 7:12:43 pm

Hi folks.
I share some URLs with information on PHP optimization

http://www.phpbench.com/
http://code.google.com/speed/articles/optimizing-php.html
http://pecl.php.net/package/xhprof
http://www.rawseo.com/news/2009/06/25/better-ways-to-improve-php-application-performance/
http://en.wikipedia.org/wiki/List_of_PHP_accelerators

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 00:45:55
Script start
Timing: Jan 30 2025 00:45:55
Module start 'layout'
Timing: Jan 30 2025 00:45:55
Module start 'content'
Timing: Jan 30 2025 00:45:55
Module end 'content'
Timing: Jan 30 2025 00:45:55
Script end

Main resources:

Total runtime0.0122 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 588.0078151.1953
Module start 'layout' 0.00450.0020 739.203136.6172
Module start 'content' 0.00650.0046 775.820385.9922
Module end 'content' 0.01110.0011 861.812529.9766
Script end 0.0121  891.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002117.5342140.0002
Check MTime0.00097.6354140.0001
Mysql Total
Database connection0.00064.934710.0006
Mysqli_queries0.001915.804330.0006
Looping result0.00000.090210.0000
Template Total0.00086.610.0008
Template load0.00065.248510.0006
Template processing0.00021.316010.0002
Override
Cache load0.00043.404910.0004
General
dbfile0.001310.338180.0002
String conversion0.00000.039240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs