1. A computer-readable medium having computer-executable instructions for profiling a target application, comprising: obtaining performance data for services used when executing the target application; determining an element tree for a display generated by the target application; displaying a visual representation of the performance data based on information in the element tree, the visual representation depicting a processing cost for each of a plurality of visual elements in the display.