Run Report
Run #69e6174e0953f: 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,878 0.4% 283,520 1.5% 0 0.0%
Exclusive Metrics for Current Function971 20.8% 879 30.5% 64,864 22.9% 0 N/A%
Parent functions
wp_get_attachment_image_srcset20 54.1% 2,527 54.1% 1,000 34.7% 159,576 56.3% 0 N/A%
wp_get_attachment_image16 43.2% 2,143 45.9% 1,878 65.3% 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,790 59.7% 999 34.7% 140,520 49.6% 0 N/A%
wp_basename72 5.8% 262 5.6% 0 0.0% 6,176 2.2% 0 N/A%
wp_get_upload_dir36 2.9% 168 3.6% 0 0.0% 552 0.2% 0 N/A%
trailingslashit72 5.8% 128 2.7% 0 0.0% 4,296 1.5% 0 N/A%
_wp_get_attachment_relative_path36 2.9% 88 1.9% 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% 56 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% 1,000 34.7% 536 0.2% 0 N/A%
preg_match36 2.9% 28 0.6% 0 0.0% 2,552 0.9% 0 N/A%
rtrim36 2.9% 16 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% 0 0.0% 0 0.0% 768 0.3% 0 N/A%