In a blog post I wrote some time ago I explained my plans to improve Plumber, the TYPO3 Flow profiling tool and asked for help using the crowdfunding platform catincan. Since then, I have not written about that again–so you may wonder what ever came out of all this.
Crowdfunding, beta
The catincan platform was still in beta when I tried it, and it showed sometimes. Nothing really broke, but website bugs showed up and if a funding period is extended without the applicant knowing why, this comes as a surprise. In the end everything worked out, the staff at catincan is helpful and really responsive. If you ever want to raise money for an OSS project, give them a try.
Best of all, the funding was reached. It was a close call, the deadline had almost approached and most of the backers were someone, who had helped the project in the past (no wonder, probably). But it worked out. So here goes another big
to the backers: Carsten Bleicker, Michael Dengler, Timo Strotmann, Kerstin Huppenbauer, Thomas Schikarski, Thiago Colares, Hrishikesh Lele, Curt Simon Harlinghausen, Thomas Layh, Svetly Metodiev, Qasim Zeeshan
Now all I had to do was do what I had promised. It turned out my estimate was quite good, but finding the time to actually do it, was harder than I thought. Surprise. :)
Plumber & PhpProfiler
Looking back at my original post you find some goals, among them some related to the code itself. Let us look at what I did about them.
- Merge all changes into the upstream project - CHECK
- Update documentation - CHECK
- Enable "production mode" that can be left running on live servers - CHECK
- Make the use of different backends configurable - CHECK
- Import existing profiles into new analysis tools - SKIP
All changes are now in the sandstorm repositories on github and thanks to Sebastian Kurfürst I did not even miss keeping my changes compatible to the TYPO3 CMS extension for profiling. The documentation for Plumber, PhpProfiler and the TYPO3 CMS extension has been updated, and should contain all that is needed to get you up and running, erm, profiling.
The production mode–meaning you can limit the probability for a run to actually be profiled–relies on an environment variable now. That was the only option, as the profiler is started so early in the Flow bootstrap, that the settings are not yet available.
The different backends are working find and their configuration is done via Flow settings (sorry, no support yet for the TYPO3 CMS extension).
The import of existing profiles turned out to be an idea that needs more than one side of support to work out. Need an example? XHProf.io relies on $_SERVER representing the request it is working with, and for an import of a past request that is just not working out. So I skipped that feature–if there is ever a new XHProf UI that is cool enough to justify the work, an importer can be written then…
Last but not least I promised to record a screencast about using the tools:

Auf diesen Post antworten