Run Report
Run #69e66c1e95462: 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 0.9% 4,652 0.2% 5,000 0.3% 283,520 0.9% 0 0.0%
Exclusive Metrics for Current Function978 21.0% 1,000 20.0% 64,864 22.9% 0 N/A%
Parent functions
wp_get_attachment_image_srcset20 54.1% 2,529 54.4% 2,000 40.0% 159,576 56.3% 0 N/A%
wp_get_attachment_image16 43.2% 2,121 45.6% 3,000 60.0% 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,776 59.7% 3,000 60.0% 140,520 49.6% 0 N/A%
wp_basename72 5.8% 257 5.5% 1,000 20.0% 6,176 2.2% 0 N/A%
wp_get_upload_dir36 2.9% 172 3.7% 0 0.0% 552 0.2% 0 N/A%
trailingslashit72 5.8% 129 2.8% 0 0.0% 4,296 1.5% 0 N/A%
_wp_get_attachment_relative_path36 2.9% 82 1.8% 0 0.0% 4,816 1.7% 0 N/A%
str_replace288 23.1% 73 1.6% 0 0.0% 536 0.2% 0 N/A%
apply_filters108 8.7% 51 1.1% 0 0.0% 23,880 8.4% 0 N/A%
str_contains164 13.2% 38 0.8% 0 0.0% 552 0.2% 0 N/A%
is_ssl36 2.9% 37 0.8% 0 0.0% 536 0.2% 0 N/A%
preg_match36 2.9% 37 0.8% 0 0.0% 2,552 0.9% 0 N/A%
rtrim36 2.9% 13 0.3% 0 0.0% 32,920 11.6% 0 N/A%
str_starts_with36 2.9% 9 0.2% 0 0.0% 552 0.2% 0 N/A%
apply_filters@11 0.1% 0 0.0% 0 0.0% 768 0.3% 0 N/A%