Run Report
Run #69e61c403816e: XHProf Run (Namespace=myapp)
Tip
Click a function name below to drill down.

Parent/Child report for WP_Rewrite::generate_rewrite_rules [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl. CPU
(microsecs)
ICpu%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
WP_Rewrite::generate_rewrite_rules15 0.5% 1,139 0.3% 1,001 0.2% 90,440 0.5% 50,176 0.3%
Exclusive Metrics for Current Function395 34.7% 0 0.0% 3,696 4.1% 17,128 34.1%
Parent functions
WP_Rewrite::rewrite_rules14 93.3% 1,080 94.8% 1,001 100.0% 84,136 93.0% 44,400 88.5%
WP_Rewrite::page_rewrite_rules1 6.7% 59 5.2% 0 0.0% 6,304 7.0% 5,776 11.5%
Child functions
get_option35 5.1% 420 36.9% 1,001 100.0% 552 0.6% 1,856 3.7%
get_post_types13 1.9% 108 9.5% 0 0.0% 9,600 10.6% 11,008 21.9%
str_contains213 31.3% 47 4.1% 0 0.0% 552 0.6% 0 0.0%
WP_Rewrite::preg_index136 20.0% 43 3.8% 0 0.0% 11,448 12.7% 392 0.8%
array_merge83 12.2% 43 3.8% 0 0.0% 37,000 40.9% 10,304 20.5%
str_replace52 7.6% 27 2.4% 0 0.0% 2,512 2.8% 760 1.5%
preg_match_all32 4.7% 14 1.2% 0 0.0% 14,056 15.5% 3,504 7.0%
is_post_type_hierarchical5 0.7% 13 1.1% 0 0.0% 2,400 2.7% 1,240 2.5%
trim30 4.4% 7 0.6% 0 0.0% 1,360 1.5% 392 0.8%
ltrim17 2.5% 6 0.5% 0 0.0% 552 0.6% 552 1.1%
strpos15 2.2% 4 0.4% 0 0.0% 552 0.6% 552 1.1%
substr15 2.2% 4 0.4% 0 0.0% 944 1.0% 552 1.1%
explode13 1.9% 4 0.4% 0 0.0% 3,464 3.8% 736 1.5%
preg_replace15 2.2% 4 0.4% 0 0.0% 888 1.0% 616 1.2%
rtrim7 1.0% 0 0.0% 0 0.0% 864 1.0% 584 1.2%