Run Report
Run #69e6175f16668: 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% 8,272 0.5% 4,889 0.6% 235,744 1.3% 352 0.0%
Exclusive Metrics for Current Function2,110 25.5% 816 16.7% 47,832 20.3% 352 100.0%
Parent functions
wp_get_attachment_image16 48.5% 4,717 57.0% 2,248 46.0% 112,992 47.9% 0 0.0%
wp_get_attachment_image_srcset16 48.5% 3,550 42.9% 2,641 54.0% 121,568 51.6% 352 100.0%
wp_image_add_srcset_and_sizes1 3.0% 5 0.1% 0 0.0% 1,184 0.5% 0 0.0%
Child functions
wp_image_matches_ratio288 25.7% 4,666 56.4% 1,972 40.3% 124,968 53.0% 0 0.0%
wp_basename64 5.7% 413 5.0% 36 0.7% 4,208 1.8% 0 0.0%
wp_get_upload_dir32 2.9% 280 3.4% 33 0.7% 552 0.2% 0 0.0%
trailingslashit64 5.7% 207 2.5% 0 0.0% 3,880 1.6% 0 0.0%
_wp_get_attachment_relative_path32 2.9% 160 1.9% 0 0.0% 3,912 1.7% 0 0.0%
apply_filters96 8.6% 121 1.5% 18 0.4% 21,288 9.0% 0 0.0%
str_replace256 22.8% 103 1.2% 16 0.3% 536 0.2% 0 0.0%
is_ssl32 2.9% 68 0.8% 1,000 20.5% 536 0.2% 0 0.0%
preg_match32 2.9% 68 0.8% 998 20.4% 2,328 1.0% 0 0.0%
str_contains160 14.3% 42 0.5% 0 0.0% 552 0.2% 0 0.0%
rtrim32 2.9% 22 0.3% 0 0.0% 23,832 10.1% 0 0.0%
str_starts_with32 2.9% 10 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%