Run Report
Run #69e61c4844865: 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_srcset37 1.1% 4,672 0.6% 2,512 0.4% 283,520 1.5% 0 0.0%
Exclusive Metrics for Current Function962 20.6% 0 0.0% 64,864 22.9% 0 N/A%
Parent functions
wp_get_attachment_image_srcset20 54.1% 2,527 54.1% 534 21.3% 159,576 56.3% 0 N/A%
wp_get_attachment_image16 43.2% 2,143 45.9% 1,978 78.7% 122,760 43.3% 0 N/A%
wp_image_add_srcset_and_sizes1 2.7% 2 0.0% 0 0.0% 1,184 0.4% 0 N/A%
Child functions
wp_image_matches_ratio324 26.0% 2,818 60.3% 2,512 100.0% 140,520 49.6% 0 N/A%
wp_basename72 5.8% 258 5.5% 0 0.0% 6,176 2.2% 0 N/A%
wp_get_upload_dir36 2.9% 167 3.6% 0 0.0% 552 0.2% 0 N/A%
trailingslashit72 5.8% 126 2.7% 0 0.0% 4,296 1.5% 0 N/A%
_wp_get_attachment_relative_path36 2.9% 83 1.8% 0 0.0% 4,816 1.7% 0 N/A%
str_replace288 23.1% 75 1.6% 0 0.0% 536 0.2% 0 N/A%
apply_filters108 8.7% 54 1.2% 0 0.0% 23,880 8.4% 0 N/A%
str_contains164 13.2% 47 1.0% 0 0.0% 552 0.2% 0 N/A%
is_ssl36 2.9% 36 0.8% 0 0.0% 536 0.2% 0 N/A%
preg_match36 2.9% 23 0.5% 0 0.0% 2,552 0.9% 0 N/A%
rtrim36 2.9% 15 0.3% 0 0.0% 32,920 11.6% 0 N/A%
str_starts_with36 2.9% 7 0.1% 0 0.0% 552 0.2% 0 N/A%
apply_filters@11 0.1% 1 0.0% 0 0.0% 768 0.3% 0 N/A%