Run Report
Run #69cd1d69f2067: 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_posts22 0.6% 67,556 5.0% 45,472 4.0% 6,381,440 24.6% 6,506,000 24.3%
Exclusive Metrics for Current Function1,756 2.6% 0 0.0% -342,912 -5.4% 16,768 0.3%
Parent function
WP_Query::query22 100.0% 67,556 100.0% 45,472 100.0% 6,381,440 100.0% 6,506,000 100.0%
Child functions
update_menu_item_cache10 0.6% 24,608 36.4% 14,095 31.0% 5,766,584 90.4% 4,539,848 69.8%
_prime_post_caches6 0.4% 9,801 14.5% 5,001 11.0% -1,211,096 -19.0% 453,448 7.0%
update_post_caches13 0.8% 9,787 14.5% 4,627 10.2% 916,968 14.4% 539,904 8.3%
array_map39 2.5% 4,436 6.6% 3,716 8.2% 101,264 1.6% 14,264 0.2%
wpdb::get_results10 0.6% 3,179 4.7% 4,082 9.0% 125,784 2.0% 47,848 0.7%
WP_Query::generate_cache_key22 1.4% 2,624 3.9% 2,408 5.3% 284,168 4.5% 85,872 1.3%
wpdb::get_col8 0.5% 2,581 3.8% 3,277 7.2% -111,000 -1.7% 0 0.0%
WP_Query::parse_query22 1.4% 2,061 3.1% 1,179 2.6% 212,696 3.3% 51,584 0.8%
apply_filters_ref_array198 12.8% 1,142 1.7% 2,331 5.1% 56,616 0.9% 29,176 0.4%
do_action_ref_array22 1.4% 877 1.3% 1,208 2.7% 21,472 0.3% 9,568 0.1%
get_option44 2.8% 844 1.2% 0 0.0% 848 0.0% 26,264 0.4%
wpdb::prepare24 1.6% 737 1.1% 1,000 2.2% 33,920 0.5% 2,112 0.0%
WP_Tax_Query::get_sql21 1.4% 563 0.8% 1,401 3.1% 19,136 0.3% 2,160 0.0%
wp_queue_posts_for_term_meta_lazyload6 0.4% 490 0.7% 0 0.0% 23,920 0.4% 0 0.0%
WP_Query::parse_tax_query21 1.4% 229 0.3% 0 0.0% 552 0.0% 296 0.0%
WP_Query::set_found_posts16 1.0% 203 0.3% 136 0.3% 2,440 0.0% 0 0.0%
get_post_stati21 1.4% 203 0.3% 630 1.4% 15,112 0.2% 1,832 0.0%
wp_basename1 0.1% 179 0.3% 0 0.0% 330,624 5.2% 654,200 10.1%
WP_Query::parse_orderby23 1.5% 155 0.2% 381 0.8% 6,096 0.1% 2,728 0.0%
get_current_user_id22 1.4% 123 0.2% 0 0.0% 1,168 0.0% 0 0.0%
sanitize_title_for_query1 0.1% 117 0.2% 0 0.0% 616 0.0% 0 0.0%
wp_cache_get22 1.4% 90 0.1% 0 0.0% 536 0.0% 0 0.0%
md522 1.4% 69 0.1% 0 0.0% 1,936 0.0% 0 0.0%
in_array318 20.6% 67 0.1% 0 0.0% 528 0.0% 480 0.0%
serialize22 1.4% 66 0.1% 0 0.0% 37,648 0.6% 7,976 0.1%
wp_cache_set18 1.2% 64 0.1% 0 0.0% 1,552 0.0% 360 0.0%
WP_Meta_Query::parse_query_vars22 1.4% 56 0.1% 0 0.0% 1,184 0.0% 928 0.0%
wp_list_pluck14 0.9% 53 0.1% 0 0.0% 5,104 0.1% 1,168 0.0%
addslashes_gpc19 1.2% 51 0.1% 0 0.0% 1,712 0.0% 1,712 0.0%
compact30 1.9% 49 0.1% 0 0.0% 29,984 0.5% 7,432 0.1%
WP_Query::parse_order20 1.3% 30 0.0% 0 0.0% 1,152 0.0% 896 0.0%
get_post_type_object66 4.3% 29 0.0% 0 0.0% 552 0.0% 0 0.0%
WP_Query::fill_query_vars22 1.4% 28 0.0% 0 0.0% 552 0.0% 296 0.0%
implode62 4.0% 19 0.0% 0 0.0% 1,440 0.0% 264 0.0%
sort22 1.4% 18 0.0% 0 0.0% 1,824 0.0% 736 0.0%
apply_filters34 2.2% 18 0.0% 0 0.0% 3,776 0.1% 480 0.0%
remove_all_filters22 1.4% 14 0.0% 0 0.0% 552 0.0% 552 0.0%
str_replace22 1.4% 14 0.0% 0 0.0% 7,736 0.1% 1,176 0.0%
get_post1 0.1% 14 0.0% 0 0.0% 976 0.0% 0 0.0%
urldecode19 1.2% 12 0.0% 0 0.0% 1,288 0.0% 576 0.0%
str_contains22 1.4% 12 0.0% 0 0.0% 536 0.0% 536 0.0%
absint17 1.1% 12 0.0% 0 0.0% 528 0.0% 0 0.0%
is_user_logged_in2 0.1% 10 0.0% 0 0.0% 1,736 0.0% 400 0.0%
wp_using_ext_object_cache14 0.9% 10 0.0% 0 0.0% 552 0.0% 0 0.0%
WP_Meta_Query::__construct22 1.4% 8 0.0% 0 0.0% 552 0.0% 296 0.0%
is_numeric23 1.5% 8 0.0% 0 0.0% 536 0.0% 0 0.0%
explode33 2.1% 8 0.0% 0 0.0% 7,944 0.1% 816 0.0%
array_merge19 1.2% 7 0.0% 0 0.0% 536 0.0% 0 0.0%
strtoupper22 1.4% 6 0.0% 0 0.0% 2,072 0.0% 384 0.0%
get_post_status1 0.1% 5 0.0% 0 0.0% 1,720 0.0% 0 0.0%
do_action14 0.9% 4 0.0% 0 0.0% 3,552 0.1% 0 0.0%
apply_filters@16 0.4% 3 0.0% 0 0.0% 1,184 0.0% 0 0.0%
reset13 0.8% 2 0.0% 0 0.0% 528 0.0% 0 0.0%
do_action@24 0.3% 2 0.0% 0 0.0% 1,400 0.0% 664 0.0%
do_action@14 0.3% 1 0.0% 0 0.0% 1,400 0.0% 0 0.0%
trim1 0.1% 1 0.0% 0 0.0% 528 0.0% 0 0.0%
get_post_status_object1 0.1% 1 0.0% 0 0.0% 552 0.0% 0 0.0%
stripslashes1 0.1% 0 0.0% 0 0.0% 576 0.0% 0 0.0%