Run Report
Run #69e66c49cf755: 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,752 2.0% 14,159 2.2% 1,122,352 5.4% 878,096 4.2%
Exclusive Metrics for Current Function771 5.6% 1,000 7.1% -147,560 -13.1% 336 0.0%
Parent function
WP_Query::query11 100.0% 13,752 100.0% 14,159 100.0% 1,122,352 100.0% 878,096 100.0%
Child functions
_prime_post_caches7 1.0% 2,531 18.4% 1,844 13.0% 384,256 34.2% 315,344 35.9%
update_menu_item_cache4 0.6% 1,908 13.9% 1,823 12.9% 406,584 36.2% 501,936 57.2%
update_post_caches7 1.0% 1,538 11.2% 2,373 16.8% 19,520 1.7% 25,168 2.9%
WP_Query::generate_cache_key11 1.6% 1,360 9.9% 1,161 8.2% 143,952 12.8% 16,616 1.9%
WP_Query::parse_query11 1.6% 986 7.2% 129 0.9% 109,448 9.8% 7,944 0.9%
WP_Tax_Query::get_sql10 1.5% 902 6.6% 534 3.8% 21,400 1.9% 8,112 0.9%
wp_cache_get11 1.6% 606 4.4% 3,257 23.0% 8,368 0.7% 0 0.0%
array_map34 5.0% 552 4.0% 0 0.0% 27,816 2.5% 0 0.0%
get_option19 2.8% 424 3.1% 0 0.0% 848 0.1% 1,752 0.2%
apply_filters_ref_array77 11.3% 361 2.6% 818 5.8% 20,384 1.8% 0 0.0%
wp_queue_posts_for_term_meta_lazyload3 0.4% 340 2.5% 230 1.6% 17,576 1.6% 488 0.1%
wpdb::prepare10 1.5% 321 2.3% 532 3.8% 14,592 1.3% 0 0.0%
do_action_ref_array11 1.6% 294 2.1% 0 0.0% 12,080 1.1% 0 0.0%
sanitize_title_for_query1 0.1% 155 1.1% 0 0.0% 1,896 0.2% 0 0.0%
WP_Query::parse_tax_query10 1.5% 149 1.1% 0 0.0% 1,736 0.2% 0 0.0%
get_post_stati10 1.5% 88 0.6% 0 0.0% 7,456 0.7% 0 0.0%
get_term_by2 0.3% 71 0.5% 0 0.0% 1,568 0.1% 0 0.0%
WP_Query::parse_orderby8 1.2% 59 0.4% 0 0.0% 4,056 0.4% 0 0.0%
get_current_user_id11 1.6% 52 0.4% 0 0.0% 1,168 0.1% 0 0.0%
in_array136 19.9% 38 0.3% 458 3.2% 528 0.0% 0 0.0%
md511 1.6% 34 0.2% 0 0.0% 1,232 0.1% 0 0.0%
serialize11 1.6% 28 0.2% 0 0.0% 18,192 1.6% 208 0.0%
WP_Meta_Query::parse_query_vars11 1.6% 25 0.2% 0 0.0% 1,184 0.1% 0 0.0%
addslashes_gpc8 1.2% 22 0.2% 0 0.0% 1,712 0.2% 0 0.0%
WP_Query::fill_query_vars11 1.6% 14 0.1% 0 0.0% 552 0.0% 0 0.0%
WP_Query::parse_order8 1.2% 14 0.1% 0 0.0% 1,152 0.1% 0 0.0%
get_post_type_object32 4.7% 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%
str_replace11 1.6% 10 0.1% 0 0.0% 4,376 0.4% 192 0.0%
is_user_logged_in2 0.3% 10 0.1% 0 0.0% 536 0.0% 0 0.0%
compact6 0.9% 9 0.1% 0 0.0% 15,328 1.4% 0 0.0%
explode16 2.3% 7 0.1% 0 0.0% 3,984 0.4% 0 0.0%
sort12 1.8% 6 0.0% 0 0.0% 1,392 0.1% 0 0.0%
get_post_status1 0.1% 5 0.0% 0 0.0% 1,720 0.2% 0 0.0%
implode30 4.4% 5 0.0% 0 0.0% 816 0.1% 0 0.0%
remove_all_filters11 1.6% 5 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% 0 0.0%
array_merge8 1.2% 4 0.0% 0 0.0% 536 0.0% 0 0.0%
strtoupper11 1.6% 3 0.0% 0 0.0% 1,240 0.1% 0 0.0%
reset7 1.0% 3 0.0% 0 0.0% 528 0.0% 0 0.0%
WP_Query::set4 0.6% 3 0.0% 0 0.0% 536 0.0% 0 0.0%
str_contains11 1.6% 2 0.0% 0 0.0% 536 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%
is_numeric11 1.6% 2 0.0% 0 0.0% 536 0.0% 0 0.0%
apply_filters8 1.2% 2 0.0% 0 0.0% 536 0.0% 0 0.0%
get_post_status_object1 0.1% 1 0.0% 0 0.0% 552 0.0% 0 0.0%
trim1 0.1% 0 0.0% 0 0.0% 528 0.0% 0 0.0%
WP_Meta_Query::__construct11 1.6% 0 0.0% 0 0.0% 552 0.0% 0 0.0%
apply_filters@13 0.4% 0 0.0% 0 0.0% 536 0.0% 0 0.0%