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

Parent/Child report for WP_Query::get_posts [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl. CPU
(microsecs)
ICpu%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
WP_Query::get_posts11 0.4% 13,693 2.0% 13,927 2.1% 1,122,352 5.4% 1,003,272 4.8%
Exclusive Metrics for Current Function739 5.4% 0 0.0% -147,560 -13.1% 5,776 0.6%
Parent function
WP_Query::query11 100.0% 13,693 100.0% 13,927 100.0% 1,122,352 100.0% 1,003,272 100.0%
Child functions
_prime_post_caches7 1.0% 2,761 20.2% 2,009 14.4% 384,256 34.2% 367,568 36.6%
update_menu_item_cache4 0.6% 1,960 14.3% 1,911 13.7% 406,584 36.2% 501,936 50.0%
update_post_caches7 1.0% 1,529 11.2% 2,246 16.1% 19,520 1.7% 47,488 4.7%
WP_Query::generate_cache_key11 1.6% 1,327 9.7% 575 4.1% 143,952 12.8% 33,792 3.4%
WP_Query::parse_query11 1.6% 948 6.9% 229 1.6% 109,448 9.8% 7,944 0.8%
WP_Tax_Query::get_sql10 1.5% 844 6.2% 811 5.8% 21,400 1.9% 8,112 0.8%
wp_cache_get11 1.6% 548 4.0% 4,711 33.8% 8,368 0.7% 0 0.0%
array_map34 5.0% 545 4.0% 0 0.0% 27,816 2.5% 0 0.0%
get_option19 2.8% 420 3.1% 0 0.0% 848 0.1% 1,752 0.2%
apply_filters_ref_array77 11.3% 345 2.5% 1,000 7.2% 20,384 1.8% 17,896 1.8%
wp_queue_posts_for_term_meta_lazyload3 0.4% 343 2.5% 0 0.0% 17,576 1.6% 488 0.0%
wpdb::prepare10 1.5% 303 2.2% 0 0.0% 14,592 1.3% 0 0.0%
do_action_ref_array11 1.6% 273 2.0% 0 0.0% 12,080 1.1% 0 0.0%
sanitize_title_for_query1 0.1% 150 1.1% 0 0.0% 1,896 0.2% 0 0.0%
WP_Query::parse_tax_query10 1.5% 113 0.8% 0 0.0% 1,736 0.2% 0 0.0%
get_post_stati10 1.5% 85 0.6% 0 0.0% 7,456 0.7% 0 0.0%
get_term_by2 0.3% 77 0.6% 163 1.2% 1,568 0.1% 0 0.0%
WP_Query::parse_orderby8 1.2% 56 0.4% 0 0.0% 4,056 0.4% 0 0.0%
get_current_user_id11 1.6% 43 0.3% 0 0.0% 1,168 0.1% 0 0.0%
md511 1.6% 32 0.2% 0 0.0% 1,232 0.1% 0 0.0%
in_array136 19.9% 29 0.2% 0 0.0% 528 0.0% 0 0.0%
serialize11 1.6% 28 0.2% 0 0.0% 18,192 1.6% 1,952 0.2%
WP_Meta_Query::parse_query_vars11 1.6% 26 0.2% 0 0.0% 1,184 0.1% 0 0.0%
addslashes_gpc8 1.2% 21 0.2% 0 0.0% 1,712 0.2% 0 0.0%
get_post_type_object32 4.7% 16 0.1% 272 2.0% 552 0.0% 0 0.0%
WP_Query::fill_query_vars11 1.6% 13 0.1% 0 0.0% 552 0.0% 0 0.0%
absint13 1.9% 11 0.1% 0 0.0% 528 0.0% 0 0.0%
WP_Query::parse_order8 1.2% 11 0.1% 0 0.0% 1,152 0.1% 0 0.0%
compact6 0.9% 10 0.1% 0 0.0% 15,328 1.4% 7,432 0.7%
implode30 4.4% 8 0.1% 0 0.0% 816 0.1% 0 0.0%
sort12 1.8% 7 0.1% 0 0.0% 1,392 0.1% 0 0.0%
str_replace11 1.6% 7 0.1% 0 0.0% 4,376 0.4% 512 0.1%
explode16 2.3% 7 0.1% 0 0.0% 3,984 0.4% 0 0.0%
apply_filters8 1.2% 6 0.0% 0 0.0% 536 0.0% 0 0.0%
is_user_logged_in2 0.3% 6 0.0% 0 0.0% 536 0.0% 0 0.0%
remove_all_filters11 1.6% 5 0.0% 0 0.0% 552 0.0% 0 0.0%
get_post_status1 0.1% 5 0.0% 0 0.0% 1,720 0.2% 0 0.0%
WP_Query::set4 0.6% 4 0.0% 0 0.0% 536 0.0% 0 0.0%
str_contains11 1.6% 4 0.0% 0 0.0% 536 0.0% 0 0.0%
WP_Meta_Query::__construct11 1.6% 4 0.0% 0 0.0% 552 0.0% 0 0.0%
do_action7 1.0% 4 0.0% 0 0.0% 2,040 0.2% 624 0.1%
is_numeric11 1.6% 4 0.0% 0 0.0% 536 0.0% 0 0.0%
array_merge8 1.2% 3 0.0% 0 0.0% 536 0.0% 0 0.0%
reset7 1.0% 3 0.0% 0 0.0% 528 0.0% 0 0.0%
strtoupper11 1.6% 3 0.0% 0 0.0% 1,240 0.1% 0 0.0%
get_post_status_object1 0.1% 2 0.0% 0 0.0% 552 0.0% 0 0.0%
do_action@14 0.6% 2 0.0% 0 0.0% 1,400 0.1% 0 0.0%
urldecode8 1.2% 2 0.0% 0 0.0% 816 0.1% 0 0.0%
apply_filters@13 0.4% 1 0.0% 0 0.0% 536 0.0% 0 0.0%
trim1 0.1% 0 0.0% 0 0.0% 528 0.0% 0 0.0%