user1016265
user1016265

Reputation: 2397

xhprof chart description

For profiling, I have started to use XHprof. Nice tool! But, one question I can't answer by myself relates to chart content. Is there anyone who knows what color box and width of arrows on XHProf generated charts mean?

UPDATED It was not last question, here is couple new:

https://dl.dropbox.com/u/7017985/Screenshots/h4kq.png https://dl.dropbox.com/u/7017985/Screenshots/r1bc.png

is it possible to figure out anything without details, just looking on these charts ?

Upvotes: 1

Views: 635

Answers (1)

ChrisA
ChrisA

Reputation: 2101

  • Red squares are just items that are taking a significant amount of the total time. Yellow squares are the path the program took to get to them. If you're trying to improve performance, look at the red squares first :)
  • Looking at my examples, load:: is a method call to load a particular file, so yes, different calls would depend on the size of the file loaded.
  • As above, look at the red squares first to improve performance. On the second link, you may have some sql queries you can optimize.

Upvotes: 2

Related Questions