Run Report
Run #69e66bc2549ec: 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,312 0.1% 1,000 0.1% 90,440 0.4% 50,176 0.2%
Exclusive Metrics for Current Function420 32.0% 1,000 100.0% 3,696 4.1% 16,360 32.6%
Parent functions
WP_Rewrite::rewrite_rules14 93.3% 1,243 94.7% 1,000 100.0% 84,136 93.0% 44,400 88.5%
WP_Rewrite::page_rewrite_rules1 6.7% 69 5.3% 0 0.0% 6,304 7.0% 5,776 11.5%
Child functions
get_option35 5.1% 585 44.6% 0 0.0% 552 0.6% 2,624 5.2%
get_post_types13 1.9% 108 8.2% 0 0.0% 9,600 10.6% 11,008 21.9%
WP_Rewrite::preg_index136 20.0% 49 3.7% 0 0.0% 11,448 12.7% 392 0.8%
str_contains213 31.3% 42 3.2% 0 0.0% 552 0.6% 0 0.0%
str_replace52 7.6% 31 2.4% 0 0.0% 2,512 2.8% 760 1.5%
array_merge83 12.2% 22 1.7% 0 0.0% 37,000 40.9% 10,304 20.5%
is_post_type_hierarchical5 0.7% 15 1.1% 0 0.0% 2,400 2.7% 1,240 2.5%
preg_match_all32 4.7% 12 0.9% 0 0.0% 14,056 15.5% 3,504 7.0%
trim30 4.4% 6 0.5% 0 0.0% 1,360 1.5% 392 0.8%
strpos15 2.2% 5 0.4% 0 0.0% 552 0.6% 552 1.1%
preg_replace15 2.2% 5 0.4% 0 0.0% 888 1.0% 616 1.2%
explode13 1.9% 4 0.3% 0 0.0% 3,464 3.8% 736 1.5%
ltrim17 2.5% 4 0.3% 0 0.0% 552 0.6% 552 1.1%
substr15 2.2% 3 0.2% 0 0.0% 944 1.0% 552 1.1%
rtrim7 1.0% 1 0.1% 0 0.0% 864 1.0% 584 1.2%