Run Report
Run #69e61c403816e: 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% 4,183 0.9% 0 0.0% 235,744 1.3% 352 0.0%
Exclusive Metrics for Current Function882 21.1% 0 N/A% 47,832 20.3% 352 100.0%
Parent functions
wp_get_attachment_image16 48.5% 2,120 50.7% 0 N/A% 112,992 47.9% 0 0.0%
wp_get_attachment_image_srcset16 48.5% 2,061 49.3% 0 N/A% 121,568 51.6% 352 100.0%
wp_image_add_srcset_and_sizes1 3.0% 2 0.0% 0 N/A% 1,184 0.5% 0 0.0%
Child functions
wp_image_matches_ratio288 25.7% 2,523 60.3% 0 N/A% 124,968 53.0% 0 0.0%
wp_basename64 5.7% 226 5.4% 0 N/A% 4,208 1.8% 0 0.0%
wp_get_upload_dir32 2.9% 150 3.6% 0 N/A% 552 0.2% 0 0.0%
trailingslashit64 5.7% 102 2.4% 0 N/A% 3,880 1.6% 0 0.0%
str_replace256 22.8% 71 1.7% 0 N/A% 536 0.2% 0 0.0%
_wp_get_attachment_relative_path32 2.9% 66 1.6% 0 N/A% 3,912 1.7% 0 0.0%
apply_filters96 8.6% 55 1.3% 0 N/A% 21,288 9.0% 0 0.0%
str_contains160 14.3% 35 0.8% 0 N/A% 552 0.2% 0 0.0%
is_ssl32 2.9% 31 0.7% 0 N/A% 536 0.2% 0 0.0%
preg_match32 2.9% 24 0.6% 0 N/A% 2,328 1.0% 0 0.0%
rtrim32 2.9% 11 0.3% 0 N/A% 23,832 10.1% 0 0.0%
str_starts_with32 2.9% 6 0.1% 0 N/A% 552 0.2% 0 0.0%
apply_filters@11 0.1% 1 0.0% 0 N/A% 768 0.3% 0 0.0%