Inspiring people toshareInspiring people toshareProfilingTYPO3 FlowApplications
Karsten DambekalnsTYPO3 Neos and Flow developer35 years oldlives in Lübeck, Germany1 wife, 3 sons1 espresso machinelikes c...
Plumber &PhpProfiler
Features
Metrics at a glance
Listing Profiling Runs
Listing Profiling Runs
XHProf Profiling Data
Request Timeline
Comparing Runs
Installation &Configuration
Installing XHProfOn Windows:•If you need a working DLL for XHProf on Windows (PHP 5.4) checkhttp://dev.freshsite.pl/php-ex...
"repositories": [{"type": "git","url": "https://github.com/kdambekalns/Plumber.git"},{"type": "git","url": "https://github...
- name: Plumber uriPattern: profiler/<PlumberSubroutes> defaults:   @format: html subRoutes:   PlumberSubroutes:     packa...
Sandstorm:Plumber:calculations:fileSystemCalls:label: No. of FS callstype: regexSumregex: #==>(file_get_contents|file_exis...
What is new?(in my version)
More XHProf BeautyPhpProfiler can store data for•xhprof.io settings (http://xhprof.io/)•preinheimer-xhgui (https://github.c...
xhprof.io
xhprof.io
XHGui, Paul Reinheimer style
XHGui Custom Views
Sandstorm:PhpProfiler:xhprof.io:enable: trueusername: myuserpassword: mypasswordxhgui:enable: trueConfigurationSettings.yaml
Running the UIspreinheimer-xhguicd /path/to/xhgui/web/webrootphp -S localhost:8080xhprof.iocd /path/to/xhprof.iophp -S loc...
Up and Coming
Plans for the near FutureMake use of backends configurable•there are some more helpful configuration settingsImport existing...
Help to make this reality!Fund my project proposalAny amount helpsHave a better PlumberPledge
Thank You!slides:http://speakerdeck.com/kdambekalnshttp://slideshare.net/kfishemail: karsten@typo3.org | karsten@dambekalns...
Profiling TYPO3 Flow Applications
Upcoming SlideShare
Loading in...5
×

Profiling TYPO3 Flow Applications

2,309

Published on

Presentation given at T3CON NA in San Francisco. The slides also match the presentation giving during Inspiring Flow 2013 in Kolbermoor on 2013/04/20.

Published in: Technology
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,309
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
13
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide

Profiling TYPO3 Flow Applications

  1. 1. Inspiring people toshareInspiring people toshareProfilingTYPO3 FlowApplications
  2. 2. Karsten DambekalnsTYPO3 Neos and Flow developer35 years oldlives in Lübeck, Germany1 wife, 3 sons1 espresso machinelikes canoeing & climbing
  3. 3. Plumber &PhpProfiler
  4. 4. Features
  5. 5. Metrics at a glance
  6. 6. Listing Profiling Runs
  7. 7. Listing Profiling Runs
  8. 8. XHProf Profiling Data
  9. 9. Request Timeline
  10. 10. Comparing Runs
  11. 11. Installation &Configuration
  12. 12. Installing XHProfOn Windows:•If you need a working DLL for XHProf on Windows (PHP 5.4) checkhttp://dev.freshsite.pl/php-extensions/xhprof.html•This one tracks time, while other builds found on the internet didnotMacPorts:•sudo port install php54-xhprofLinux:•Search for a package in your distribution of choice
  13. 13. "repositories": [{"type": "git","url": "https://github.com/kdambekalns/Plumber.git"},{"type": "git","url": "https://github.com/kdambekalns/PhpProfiler.git"}]"require": {"sandstorm/plumber": "standalone","sandstorm/phpprofiler": "standalone-addedbackends as 1.0.3-dev"}Installing Plumbercomposer.json
  14. 14. - name: Plumber uriPattern: profiler/<PlumberSubroutes> defaults:   @format: html subRoutes:   PlumberSubroutes:     package: Sandstorm.PlumberInstalling PlumberRoutes.yaml
  15. 15. Sandstorm:Plumber:calculations:fileSystemCalls:label: No. of FS callstype: regexSumregex: #==>(file_get_contents|file_exists|filesize|is_dir|is_file|is_link|realpath|symlink|file_put_contents)#ConfigurationSettings.yaml
  16. 16. What is new?(in my version)
  17. 17. More XHProf BeautyPhpProfiler can store data for•xhprof.io settings (http://xhprof.io/)•preinheimer-xhgui (https://github.com/preinheimer/xhgui)Install from their websites and set up as documented there :)Configure the backend(s) to use
  18. 18. xhprof.io
  19. 19. xhprof.io
  20. 20. XHGui, Paul Reinheimer style
  21. 21. XHGui Custom Views
  22. 22. Sandstorm:PhpProfiler:xhprof.io:enable: trueusername: myuserpassword: mypasswordxhgui:enable: trueConfigurationSettings.yaml
  23. 23. Running the UIspreinheimer-xhguicd /path/to/xhgui/web/webrootphp -S localhost:8080xhprof.iocd /path/to/xhprof.iophp -S localhost:8080•unfortunately that needs a proper virtual host
  24. 24. Up and Coming
  25. 25. Plans for the near FutureMake use of backends configurable•there are some more helpful configuration settingsImport existing profiles into new analysis tools•if a better UI comes up, using old data would be niceProvide "production mode" that can be left running on live servers•do not profile every request, but only every 2nd, 10th, 100th, …Merge branches back into master, polish, promote
  26. 26. Help to make this reality!Fund my project proposalAny amount helpsHave a better PlumberPledge
  27. 27. Thank You!slides:http://speakerdeck.com/kdambekalnshttp://slideshare.net/kfishemail: karsten@typo3.org | karsten@dambekalns.deweb: http://karsten.dambekalns.detwitter & app.net: @kdambekalns
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×