Friday, April 03, 2009

Engineering @ Facebook's Notes | Facebook

Engineering @ Facebook's Notes | Facebook

XHProf is capable of reporting function-level call counts and inclusive/exclusive metrics such as elapsed time, CPU time and memory usage. A function's profile can be broken down by callers or callees. XHProf has a simple HTML based user interface. The browser based UI for viewing profiler results makes it easy to view results or to share results with peers. XHProf supports the ability to compare two runs (a.k.a. "diff" reports) or aggregate data from multiple runs. Diff and aggregate reports, much like single run reports, offer "flat" as well as "hierarchical" views of the profile. [Note: Although implemented for PHP, the methodology used by XHProf is also well suited for other dynamic languages such as Python and Ruby.]

No comments: