Run Report
Run #69e6175f16668: 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_posts13 0.4% 69,487 4.4% 42,608 5.1% 1,689,656 9.5% 1,748,424 9.7%
Exclusive Metrics for Current Function2,203 3.2% 2,613 6.1% -197,096 -11.7% 10,064 0.6%
Parent function
WP_Query::query13 100.0% 69,487 100.0% 42,608 100.0% 1,689,656 100.0% 1,748,424 100.0%
Child functions
_prime_post_caches2 0.2% 15,065 21.7% 8,793 20.6% 527,432 31.2% 931,848 53.3%
wpdb::get_col6 0.6% 9,145 13.2% 1,745 4.1% -14,944 -0.9% 0 0.0%
update_menu_item_cache4 0.4% 8,232 11.8% 4,666 11.0% 505,664 29.9% 450,824 25.8%
update_post_caches6 0.6% 6,666 9.6% 4,403 10.3% 258,768 15.3% 159,288 9.1%
wpdb::get_results7 0.7% 6,413 9.2% 2,559 6.0% 44,288 2.6% 0 0.0%
WP_Tax_Query::get_sql13 1.4% 5,831 8.4% 4,910 11.5% 37,232 2.2% 22,472 1.3%
WP_Query::generate_cache_key13 1.4% 2,823 4.1% 3,862 9.1% 172,336 10.2% 70,232 4.0%
WP_Query::parse_query13 1.4% 2,731 3.9% 1,999 4.7% 145,560 8.6% 30,384 1.7%
array_map16 1.7% 2,441 3.5% 644 1.5% 30,552 1.8% 0 0.0%
get_term_by2 0.2% 1,085 1.6% 967 2.3% -4,624 -0.3% 3,576 0.2%
wpdb::prepare17 1.8% 1,068 1.5% 1,001 2.3% 24,496 1.4% 1,840 0.1%
get_option23 2.4% 943 1.4% 1,254 2.9% 848 0.1% 13,920 0.8%
apply_filters_ref_array123 12.8% 899 1.3% 1,688 4.0% 25,944 1.5% 17,744 1.0%
do_action_ref_array13 1.4% 699 1.0% 610 1.4% 17,392 1.0% 7,832 0.4%
wp_queue_posts_for_term_meta_lazyload2 0.2% 662 1.0% 0 0.0% 11,776 0.7% 0 0.0%
WP_Query::set_found_posts13 1.4% 635 0.9% 592 1.4% -9,512 -0.6% 0 0.0%
get_post_stati17 1.8% 308 0.4% 0 0.0% 11,664 0.7% 2,448 0.1%
WP_Query::parse_tax_query13 1.4% 238 0.3% 0 0.0% 1,552 0.1% 296 0.0%
WP_Query::parse_orderby14 1.5% 173 0.2% 0 0.0% 4,872 0.3% 2,728 0.2%
get_current_user_id13 1.4% 137 0.2% 0 0.0% 1,168 0.1% 0 0.0%
wp_cache_set13 1.4% 124 0.2% 0 0.0% 1,232 0.1% 0 0.0%
esc_sql2 0.2% 93 0.1% 0 0.0% 1,200 0.1% 0 0.0%
wp_cache_get13 1.4% 88 0.1% 0 0.0% 536 0.0% 0 0.0%
addslashes_gpc11 1.1% 83 0.1% 302 0.7% 1,712 0.1% 1,712 0.1%
wp_list_pluck9 0.9% 79 0.1% 0 0.0% 4,232 0.3% 0 0.0%
WP_Meta_Query::parse_query_vars13 1.4% 66 0.1% 0 0.0% 1,184 0.1% 928 0.1%
compact19 2.0% 65 0.1% 0 0.0% 26,488 1.6% 7,696 0.4%
in_array204 21.2% 63 0.1% 0 0.0% 528 0.0% 480 0.0%
serialize13 1.4% 60 0.1% 0 0.0% 22,800 1.3% 4,696 0.3%
md513 1.4% 45 0.1% 0 0.0% 1,360 0.1% 0 0.0%
is_user_logged_in6 0.6% 34 0.0% 0 0.0% 536 0.0% 0 0.0%
sort15 1.6% 29 0.0% 0 0.0% 2,040 0.1% 736 0.0%
get_post_type_object45 4.7% 27 0.0% 0 0.0% 552 0.0% 0 0.0%
WP_Query::parse_order11 1.1% 26 0.0% 0 0.0% 1,152 0.1% 896 0.1%
WP_Query::fill_query_vars13 1.4% 23 0.0% 0 0.0% 552 0.0% 296 0.0%
implode43 4.5% 22 0.0% 0 0.0% 2,672 0.2% 264 0.0%
str_replace13 1.4% 20 0.0% 0 0.0% 5,528 0.3% 856 0.0%
absint12 1.2% 18 0.0% 0 0.0% 528 0.0% 0 0.0%
apply_filters18 1.9% 17 0.0% 0 0.0% 2,264 0.1% 480 0.0%
explode19 2.0% 13 0.0% 0 0.0% 4,848 0.3% 816 0.0%
remove_all_filters13 1.4% 12 0.0% 0 0.0% 552 0.0% 552 0.0%
urldecode11 1.1% 10 0.0% 0 0.0% 960 0.1% 576 0.0%
strtoupper13 1.4% 9 0.0% 0 0.0% 1,464 0.1% 384 0.0%
is_numeric13 1.4% 8 0.0% 0 0.0% 536 0.0% 0 0.0%
wp_using_ext_object_cache9 0.9% 8 0.0% 0 0.0% 552 0.0% 0 0.0%
str_contains13 1.4% 8 0.0% 0 0.0% 536 0.0% 536 0.0%
WP_Meta_Query::__construct13 1.4% 8 0.0% 0 0.0% 552 0.0% 296 0.0%
reset6 0.6% 7 0.0% 0 0.0% 528 0.0% 0 0.0%
do_action6 0.6% 7 0.0% 0 0.0% 1,824 0.1% 0 0.0%
apply_filters@16 0.6% 5 0.0% 0 0.0% 1,184 0.1% 0 0.0%
array_merge11 1.1% 4 0.0% 0 0.0% 536 0.0% 0 0.0%
WP_Query::set4 0.4% 3 0.0% 0 0.0% 536 0.0% 0 0.0%
do_action@23 0.3% 3 0.0% 0 0.0% 1,184 0.1% 728 0.0%
do_action@14 0.4% 3 0.0% 0 0.0% 1,400 0.1% 0 0.0%