Run Report
Run #69236c7a97596: 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_posts41 0.7% 44,029 2.2% 32,737 1.7% 12,343,192 6.4% 6,389,296 3.3%
Exclusive Metrics for Current Function2,607 5.9% 2,016 6.2% -639,904 -5.2% 12,896 0.2%
Parent function
WP_Query::query41 100.0% 44,029 100.0% 32,737 100.0% 12,343,192 100.0% 6,389,296 100.0%
Child functions
wpdb::get_results21 0.7% 6,577 14.9% 1,022 3.1% -367,408 -3.0% 0 0.0%
update_menu_item_cache18 0.6% 5,967 13.6% 5,118 15.6% 11,223,040 90.9% 5,772,176 90.3%
WP_Tax_Query::get_sql40 1.4% 3,773 8.6% 3,596 11.0% 84,672 0.7% 89,272 1.4%
update_post_caches26 0.9% 3,714 8.4% 2,373 7.2% 397,176 3.2% 198,560 3.1%
WP_Query::parse_query41 1.4% 3,593 8.2% 3,603 11.0% 358,112 2.9% 32,520 0.5%
WP_Query::generate_cache_key41 1.4% 3,495 7.9% 3,485 10.6% 542,480 4.4% 133,248 2.1%
wpdb::get_col9 0.3% 3,315 7.5% 401 1.2% -17,944 -0.1% 0 0.0%
array_map78 2.7% 2,242 5.1% 2,245 6.9% 68,128 0.6% 0 0.0%
_prime_post_caches14 0.5% 1,835 4.2% 1,482 4.5% 127,784 1.0% 73,448 1.1%
get_option84 2.9% 1,085 2.5% 1,108 3.4% 848 0.0% 41,568 0.7%
wpdb::prepare42 1.4% 962 2.2% 975 3.0% 85,880 0.7% 2,264 0.0%
apply_filters_ref_array369 12.7% 804 1.8% 839 2.6% 22,480 0.2% 5,104 0.1%
do_action_ref_array40 1.4% 751 1.7% 763 2.3% 14,304 0.1% 1,816 0.0%
WP_Meta_Query::get_sql7 0.2% 722 1.6% 718 2.2% 32,336 0.3% 11,056 0.2%
WP_Query::parse_tax_query40 1.4% 340 0.8% 349 1.1% 552 0.0% 1,936 0.0%
get_post_stati40 1.4% 303 0.7% 314 1.0% 28,632 0.2% 0 0.0%
WP_Query::parse_orderby35 1.2% 233 0.5% 238 0.7% 18,216 0.1% 0 0.0%
wp_queue_posts_for_term_meta_lazyload12 0.4% 143 0.3% 145 0.4% 18,440 0.1% 6,128 0.1%
WP_Meta_Query::parse_query_vars41 1.4% 141 0.3% 150 0.5% 12,824 0.1% 0 0.0%
get_current_user_id41 1.4% 134 0.3% 147 0.4% 552 0.0% 0 0.0%
wp_cache_get41 1.4% 125 0.3% 139 0.4% 536 0.0% 0 0.0%
in_array620 21.4% 116 0.3% 178 0.5% 528 0.0% 0 0.0%
WP_Query::set_found_posts25 0.9% 94 0.2% 82 0.3% 5,200 0.0% 0 0.0%
md541 1.4% 91 0.2% 104 0.3% 3,152 0.0% 0 0.0%
wp_cache_set30 1.0% 88 0.2% 100 0.3% 1,496 0.0% 0 0.0%
addslashes_gpc32 1.1% 78 0.2% 81 0.2% 1,712 0.0% 0 0.0%
compact59 2.0% 77 0.2% 95 0.3% 39,608 0.3% 0 0.0%
wp_list_pluck29 1.0% 76 0.2% 89 0.3% 10,176 0.1% 0 0.0%
serialize41 1.4% 73 0.2% 80 0.2% 168,464 1.4% 4,888 0.1%
WP_Query::fill_query_vars41 1.4% 56 0.1% 69 0.2% 552 0.0% 0 0.0%
sanitize_title_for_query1 0.0% 45 0.1% 46 0.1% 584 0.0% 1,480 0.0%
WP_Query::parse_order33 1.1% 44 0.1% 58 0.2% 1,152 0.0% 0 0.0%
get_post_type_object123 4.2% 44 0.1% 46 0.1% 552 0.0% 0 0.0%
apply_filters75 2.6% 30 0.1% 48 0.1% 14,072 0.1% 0 0.0%
str_replace41 1.4% 24 0.1% 37 0.1% 18,232 0.1% 0 0.0%
implode115 4.0% 24 0.1% 43 0.1% 1,656 0.0% 0 0.0%
do_action_ref_array@11 0.0% 20 0.0% 21 0.1% 552 0.0% 0 0.0%
explode63 2.2% 17 0.0% 32 0.1% 24,432 0.2% 0 0.0%
WP_Meta_Query::__construct41 1.4% 14 0.0% 25 0.1% 552 0.0% 0 0.0%
sort43 1.5% 14 0.0% 28 0.1% 3,912 0.0% 0 0.0%
absint20 0.7% 13 0.0% 19 0.1% 528 0.0% 0 0.0%
strtoupper41 1.4% 13 0.0% 32 0.1% 3,256 0.0% 0 0.0%
is_numeric42 1.4% 13 0.0% 16 0.0% 536 0.0% 0 0.0%
wp_using_ext_object_cache29 1.0% 11 0.0% 25 0.1% 552 0.0% 0 0.0%
do_action16 0.6% 11 0.0% 11 0.0% 6,544 0.1% 352 0.0%
remove_all_filters41 1.4% 11 0.0% 31 0.1% 552 0.0% 0 0.0%
reset26 0.9% 11 0.0% 11 0.0% 528 0.0% 0 0.0%
array_merge39 1.3% 11 0.0% 19 0.1% 536 0.0% 0 0.0%
urldecode32 1.1% 9 0.0% 20 0.1% 1,776 0.0% 0 0.0%
str_contains41 1.4% 7 0.0% 21 0.1% 536 0.0% 0 0.0%
get_post1 0.0% 6 0.0% 6 0.0% 976 0.0% 192 0.0%
do_action@115 0.5% 5 0.0% 10 0.0% 6,176 0.1% 0 0.0%
get_post_status1 0.0% 5 0.0% 5 0.0% 1,720 0.0% 0 0.0%
do_action@28 0.3% 5 0.0% 8 0.0% 3,544 0.0% 0 0.0%
wp_basename1 0.0% 4 0.0% 5 0.0% 2,912 0.0% 392 0.0%
is_user_logged_in1 0.0% 3 0.0% 3 0.0% 536 0.0% 0 0.0%
apply_filters@23 0.1% 2 0.0% 2 0.0% 912 0.0% 0 0.0%
do_action@42 0.1% 2 0.0% 3 0.0% 1,288 0.0% 0 0.0%
get_post_status_object1 0.0% 1 0.0% 1 0.0% 552 0.0% 0 0.0%
array_unique3 0.1% 0 0.0% 1 0.0% 912 0.0% 0 0.0%