Sometimes in the list on admin/reports/xhprof the path shows up as empty.

This is a problem of its own, but it would help to also show the file size of the output file, for two reasons:
1. If you have no path, you have at least some criterion to figure out which *might* be the request you are looking for.
2. Even with the path displayed, you now have a good indicator which requests are more expensive. In many cases, bigger file size = more time spent.

Of course other meta information could also be useful, it if is easy to extract.

Comments

texas-bronius’s picture

The attached patch adds a basic File Size column to help identify otherwise randomly anonymous xhprof profile name hashes.

texas-bronius’s picture

Status: Active » Needs review
thepanz’s picture

You should take into account the MongoDB extension that is not storing XHProf reports as files, but as DB records.

andypost’s picture

andypost’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
StatusFileSize
new1.42 KB

here's a patch for 8.x

emerham’s picture

Status: Needs review » Reviewed & tested by the community

Patch in #5 looks good for 8

  • andypost committed 9fbf1b1 on 8.x-1.x
    Issue #2335687 by andypost, texas-bronius: Show file size on admin/...
andypost’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.