Run Report
Run #69e66bc0a4fd2: 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,957 1.3% 13,427 1.5% 1,085,368 4.8% 516,288 2.3%
Exclusive Metrics for Current Function887 6.4% 368 2.7% -144,504 -13.3% 6,112 1.2%
Parent function
WP_Query::query11 100.0% 13,957 100.0% 13,427 100.0% 1,085,368 100.0% 516,288 100.0%
Child functions
_prime_post_caches7 1.0% 2,381 17.1% 1,967 14.6% 373,200 34.4% 106,832 20.7%
update_menu_item_cache4 0.6% 1,936 13.9% 1,763 13.1% 397,360 36.6% 286,424 55.5%
WP_Query::parse_query11 1.6% 1,469 10.5% 0 0.0% 108,808 10.0% 11,544 2.2%
WP_Query::generate_cache_key11 1.6% 1,456 10.4% 1,354 10.1% 143,432 13.2% 46,456 9.0%
update_post_caches6 0.9% 1,357 9.7% 1,658 12.3% 19,088 1.8% 11,560 2.2%
wp_cache_get11 1.6% 1,099 7.9% 5,029 37.5% 8,840 0.8% 0 0.0%
array_map31 4.5% 516 3.7% 0 0.0% 24,304 2.2% 0 0.0%
get_option21 3.0% 488 3.5% 0 0.0% 848 0.1% 2,408 0.5%
wpdb::prepare11 1.6% 418 3.0% 289 2.2% 15,680 1.4% 0 0.0%
apply_filters_ref_array77 11.1% 368 2.6% 999 7.4% 20,384 1.9% 18,088 3.5%
do_action_ref_array11 1.6% 351 2.5% 0 0.0% 12,080 1.1% 0 0.0%
WP_Tax_Query::get_sql10 1.4% 214 1.5% 0 0.0% 14,336 1.3% 8,112 1.6%
wp_queue_posts_for_term_meta_lazyload2 0.3% 200 1.4% 0 0.0% 7,976 0.7% 3,752 0.7%
sanitize_title_for_query1 0.1% 135 1.0% 0 0.0% 1,864 0.2% 1,864 0.4%
WP_Query::parse_tax_query10 1.4% 106 0.8% 0 0.0% 552 0.1% 0 0.0%
get_post_stati10 1.4% 98 0.7% 0 0.0% 7,776 0.7% 0 0.0%
WP_Query::parse_orderby9 1.3% 72 0.5% 0 0.0% 4,192 0.4% 0 0.0%
get_current_user_id11 1.6% 62 0.4% 0 0.0% 1,168 0.1% 0 0.0%
in_array151 21.7% 40 0.3% 0 0.0% 528 0.0% 0 0.0%
WP_Meta_Query::parse_query_vars11 1.6% 34 0.2% 0 0.0% 1,184 0.1% 0 0.0%
md511 1.6% 32 0.2% 0 0.0% 1,232 0.1% 0 0.0%
serialize11 1.6% 31 0.2% 0 0.0% 18,448 1.7% 2,688 0.5%
addslashes_gpc9 1.3% 31 0.2% 0 0.0% 1,712 0.2% 0 0.0%
WP_Query::parse_order10 1.4% 17 0.1% 0 0.0% 1,152 0.1% 0 0.0%
get_post1 0.1% 17 0.1% 0 0.0% 976 0.1% 944 0.2%
WP_Query::fill_query_vars11 1.6% 15 0.1% 0 0.0% 552 0.1% 0 0.0%
sort11 1.6% 13 0.1% 0 0.0% 1,176 0.1% 0 0.0%
absint13 1.9% 13 0.1% 0 0.0% 528 0.0% 0 0.0%
compact6 0.9% 11 0.1% 0 0.0% 15,328 1.4% 8,120 1.6%
wp_basename1 0.1% 10 0.1% 0 0.0% 2,944 0.3% 424 0.1%
get_post_type_object32 4.6% 9 0.1% 0 0.0% 552 0.1% 0 0.0%
str_replace11 1.6% 8 0.1% 0 0.0% 3,832 0.4% 416 0.1%
get_post_status1 0.1% 6 0.0% 0 0.0% 1,720 0.2% 0 0.0%
implode30 4.3% 6 0.0% 0 0.0% 672 0.1% 0 0.0%
explode16 2.3% 6 0.0% 0 0.0% 3,984 0.4% 0 0.0%
apply_filters8 1.2% 5 0.0% 0 0.0% 536 0.0% 0 0.0%
remove_all_filters11 1.6% 5 0.0% 0 0.0% 552 0.1% 0 0.0%
is_user_logged_in1 0.1% 5 0.0% 0 0.0% 536 0.0% 0 0.0%
urldecode9 1.3% 5 0.0% 0 0.0% 856 0.1% 0 0.0%
str_contains11 1.6% 5 0.0% 0 0.0% 536 0.0% 0 0.0%
strtoupper11 1.6% 5 0.0% 0 0.0% 1,240 0.1% 0 0.0%
is_numeric12 1.7% 3 0.0% 0 0.0% 536 0.0% 0 0.0%
reset6 0.9% 3 0.0% 0 0.0% 528 0.0% 0 0.0%
WP_Meta_Query::__construct11 1.6% 2 0.0% 0 0.0% 552 0.1% 0 0.0%
do_action7 1.0% 2 0.0% 0 0.0% 2,040 0.2% 544 0.1%
get_post_status_object1 0.1% 2 0.0% 0 0.0% 552 0.1% 0 0.0%
array_merge9 1.3% 1 0.0% 0 0.0% 536 0.0% 0 0.0%
apply_filters@13 0.4% 1 0.0% 0 0.0% 536 0.0% 0 0.0%
do_action@14 0.6% 1 0.0% 0 0.0% 1,400 0.1% 0 0.0%
trim1 0.1% 0 0.0% 0 0.0% 528 0.0% 0 0.0%