GitHub PushEvent at 2014-07-26 05:41:34
Repository: hhvm
Actor: facebook-github-bot
Payload: {"shas":[["2fcf554badad0d10ce51106050d090eb56893a2c","68853dc6c2cba93b4d6d461d7c37d156219516e4@fb.com","Implemented xdebug profiling\n\nSummary: Collecting profiling was implemented in D1423763, enabling/disabling it was\nimplemented in D1438290, this implements writing the collected profiling info\nto a cachegrind compatible file.\n\nThe cachegrind file (at least the xdebug version) describes function calls,\nfunction call files, function call time, and function call line #'s.\n\nPrograms that read this format (such as kcachegrind, qcachegrind, etc) can\nuse the generated files to get pretty graphs:\nhttps://www.facebook.com/pxlcld/lqww\nhttps://www.facebook.com/pxlcld/lqwz\n\nOne major difference between php5 xdebug and this is that only certain builtin\nfunctions will be collected by the profiler. This is very unfortunate as\nprofiling builtin function calls would definitely be useful to the user, but\nthere isn't an obvious fix to this. The profilers plug into\nthe runtime via event hooks, which are not called for builtin function begin/end\nevents. Adding this wouldn't be simple because the event hook function begin/end\nmethods assume an ActRec is generated, which is not true for builtins.\nDepends on D1438290.\n\nReviewed By: @ptarjan\n\nDifferential Revision: D1448800","James Reyes",true]],"size":1,"ref":"refs/heads/master","head":"2fcf554badad0d10ce51106050d090eb56893a2c"}