Run Report
Run #69e66c36b6835: XHProf Run (Namespace=myapp)
Tip
Click a function name below to drill down.

Parent/Child report for wp_calculate_image_srcset [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl. CPU
(microsecs)
ICpu%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
wp_calculate_image_srcset33 1.0% 11,734 0.8% 7,002 0.6% 235,744 1.1% 352 0.0%
Exclusive Metrics for Current Function1,969 16.8% 1,853 26.5% 47,832 20.3% 352 100.0%
Parent functions
wp_get_attachment_image16 48.5% 6,514 55.5% 4,878 69.7% 112,992 47.9% 0 0.0%
wp_get_attachment_image_srcset16 48.5% 5,215 44.4% 2,124 30.3% 121,568 51.6% 352 100.0%
wp_image_add_srcset_and_sizes1 3.0% 5 0.0% 0 0.0% 1,184 0.5% 0 0.0%
Child functions
wp_image_matches_ratio288 25.7% 6,491 55.3% 3,228 46.1% 124,968 53.0% 0 0.0%
wp_basename64 5.7% 2,065 17.6% 854 12.2% 4,208 1.8% 0 0.0%
wp_get_upload_dir32 2.9% 279 2.4% 0 0.0% 552 0.2% 0 0.0%
trailingslashit64 5.7% 220 1.9% 0 0.0% 3,880 1.6% 0 0.0%
_wp_get_attachment_relative_path32 2.9% 187 1.6% 1,001 14.3% 3,912 1.7% 0 0.0%
preg_match32 2.9% 137 1.2% 0 0.0% 2,328 1.0% 0 0.0%
apply_filters96 8.6% 126 1.1% 0 0.0% 21,288 9.0% 0 0.0%
str_replace256 22.8% 118 1.0% 66 0.9% 536 0.2% 0 0.0%
is_ssl32 2.9% 64 0.5% 0 0.0% 536 0.2% 0 0.0%
str_contains160 14.3% 52 0.4% 0 0.0% 552 0.2% 0 0.0%
rtrim32 2.9% 17 0.1% 0 0.0% 23,832 10.1% 0 0.0%
str_starts_with32 2.9% 7 0.1% 0 0.0% 552 0.2% 0 0.0%
apply_filters@11 0.1% 2 0.0% 0 0.0% 768 0.3% 0 0.0%