User Tools

Site Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
php_profiling [2019/09/12 01:45] – Add [Relative Time]. Traumflugphp_profiling [2019/09/12 01:57] (current) – [Relative Time] Reword, only {main} stays within 0.2%. Traumflug
Line 113: Line 113:
 These are the results of the same 5 requests, in relative view. ''{main}'' being above 100% is a rounding error, of course. These are the results of the same 5 requests, in relative view. ''{main}'' being above 100% is a rounding error, of course.
  
-These deviate by just 0.2%, which is probably as close as one can get on a multitasking system. Improving performance by just 0.5% should be clearly visible here.+These deviate by like 1at most, which is probably as close as one can get on a multitasking system. Improving performance by just 2% should be clearly visible here
 + 
 +That said, knowing //where// the time is spent is usually much more important than numbers of totals. And there Xdebug's profiler together with KCachegrind gives very good hints. This way one can watch out which functions get called more often than expected, how costly a single feature is, or where it makes sense to squeeze out the last bit of performance.
  
 Mission accomplished! Mission accomplished!
  
 +Now back to coding ...
php_profiling.txt · Last modified: 2019/09/12 01:57 by Traumflug