The last few weeks of development have driven me to adopt some old technologies from my C days. I've got PHP setup with a debugger (Xdebug and the buggy Komodo IDE) and a profiler (Kcachegrind) under Windows (WAMP Server). Today I optimised one tiny part of the DiSCO codebase:
You can see that the execution time of process() shrinks from 135 ms to 71 ms.
Attachment | Size |
---|---|
kcache_before.jpg | 270.84 KB |
kcache_after.jpg | 274.43 KB |