Run Report
Run #69e61d540dda5: 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,697 0.5% 4,304 0.5% 283,520 1.3% 0 0.0%
Exclusive Metrics for Current Function984 20.9% 0 0.0% 64,864 22.9% 0 N/A%
Parent functions
wp_get_attachment_image_srcset20 54.1% 2,547 54.2% 1,471 34.2% 159,576 56.3% 0 N/A%
wp_get_attachment_image16 43.2% 2,148 45.7% 2,833 65.8% 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,823 60.1% 2,470 57.4% 140,520 49.6% 0 N/A%
wp_basename72 5.8% 265 5.6% 0 0.0% 6,176 2.2% 0 N/A%
wp_get_upload_dir36 2.9% 165 3.5% 0 0.0% 552 0.2% 0 N/A%
trailingslashit72 5.8% 133 2.8% 1,000 23.2% 4,296 1.5% 0 N/A%
_wp_get_attachment_relative_path36 2.9% 90 1.9% 0 0.0% 4,816 1.7% 0 N/A%
str_replace288 23.1% 70 1.5% 0 0.0% 536 0.2% 0 N/A%
apply_filters108 8.7% 46 1.0% 0 0.0% 23,880 8.4% 0 N/A%
str_contains164 13.2% 42 0.9% 0 0.0% 552 0.2% 0 N/A%
is_ssl36 2.9% 39 0.8% 834 19.4% 536 0.2% 0 N/A%
preg_match36 2.9% 25 0.5% 0 0.0% 2,552 0.9% 0 N/A%
rtrim36 2.9% 8 0.2% 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%