|
|
PHPを見える化する PHP Visualization 2009/09/05 10th PHP Conference 新原 雅司
■Self 新原雅司(Masashi Shinbara) @shin1x1 [Twitter/Wassr etc] 1×1株式会社 関西在住 勉強会とか PHP3から
■Services http://follow-ok.in/ findTwitter OpenSource Twitter Search Searvice http://find-twitter.in/ http://github.com/shin1x1/findTwitter/tree/master
■This Presentation Target audience PHP Proficiency [★☆☆] PHP Version 5.2.10
■Agenda Valiable Profile Function Trace
■Valiable
■Basic echo print_r var_dump
■Mania debug_zval_dump refcount value retruned
■Inside zval [Zend/zend.h] struct _zval_struct { zvalue_value value; zend_uint refcount; zend_uchar type; zend_uchar is_ref; }; type
■Inside type
■Profile
■Xdebug [Profiling] Output profiling file Analyse Tools KCacheGrind MacCallGrind WinCacheGrind webgrind Carica CacheGrind
■Xdebug + WinCacheGrind Windows GPL License Light Download profiling log
■Xdebug + WinCacheGrind
■Xdebug + webgrind Web(PHP + jQuery) BSD License Direct read profiling log Show source code Simple
■Xdebug + Carica CacheGrind Web(PHP + JavaScript) GPL License Direct read profiling log Not stable?
■XHProf Web(PHP + jQuery + Graphviz) MIT and GPL License Developed at Facebook Diff Report Callgraph
■Function Trace
■Xdebug [Function Traces] all function calls parameters return values time index memory delta
DEMO
■Summary
■Summary Program don't run as thought. It run as written. Some Visualization ways. Go for 30th(PHP20? PHP3000?)
Thank you very much for kind attention Twitter: @shin1x1 blog: http://www.1x1.jp/blog/
| URL: |
No comments posted yet
Comments