Run Report
Run #69cd55356318c: 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_posts20 0.5% 65,895 6.6% 38,818 4.3% 5,831,224 23.3% 5,932,336 23.0%
Exclusive Metrics for Current Function1,562 2.4% 0 0.0% -220,216 -3.8% 110,912 1.9%
Parent function
WP_Query::query20 100.0% 65,895 100.0% 38,818 100.0% 5,831,224 100.0% 5,932,336 100.0%
Child functions
update_menu_item_cache9 0.7% 27,244 41.3% 13,008 33.5% 5,793,784 99.4% 4,554,656 76.8%
update_post_caches11 0.8% 8,965 13.6% 4,313 11.1% 862,328 14.8% 531,104 9.0%
_prime_post_caches5 0.4% 8,193 12.4% 4,497 11.6% -1,388,008 -23.8% 453,448 7.6%
array_map32 2.3% 4,359 6.6% 2,589 6.7% 96,200 1.6% 15,448 0.3%
wpdb::get_results10 0.7% 3,625 5.5% 5,604 14.4% 123,408 2.1% 26,344 0.4%
wpdb::get_col7 0.5% 2,365 3.6% 2,509 6.5% -174,440 -3.0% 0 0.0%
WP_Query::generate_cache_key20 1.4% 2,311 3.5% 4,533 11.7% 259,776 4.5% 87,600 1.5%
WP_Query::parse_query20 1.4% 1,765 2.7% 136 0.4% 198,704 3.4% 51,992 0.9%
apply_filters_ref_array152 11.0% 883 1.3% 569 1.5% 42,648 0.7% 29,176 0.5%
do_action_ref_array19 1.4% 740 1.1% 0 0.0% 20,192 0.3% 8,616 0.1%
get_option38 2.8% 710 1.1% 0 0.0% 848 0.0% 26,296 0.4%
wpdb::prepare20 1.4% 642 1.0% 479 1.2% 28,584 0.5% 2,112 0.0%
WP_Tax_Query::get_sql19 1.4% 472 0.7% 0 0.0% 18,336 0.3% 2,160 0.0%
wp_queue_posts_for_term_meta_lazyload6 0.4% 445 0.7% 524 1.3% 22,600 0.4% 0 0.0%
WP_Query::parse_tax_query19 1.4% 201 0.3% 0 0.0% 552 0.0% 296 0.0%
get_post_stati19 1.4% 181 0.3% 0 0.0% 14,040 0.2% 2,104 0.0%
WP_Query::parse_orderby22 1.6% 153 0.2% 0 0.0% 5,960 0.1% 2,728 0.0%
WP_Query::set_found_posts16 1.2% 112 0.2% 57 0.1% 3,648 0.1% 0 0.0%
get_current_user_id20 1.4% 99 0.2% 0 0.0% 1,168 0.0% 0 0.0%
wp_cache_get20 1.4% 85 0.1% 0 0.0% 536 0.0% 0 0.0%
in_array299 21.7% 68 0.1% 0 0.0% 528 0.0% 480 0.0%
md520 1.4% 63 0.1% 0 0.0% 1,808 0.0% 0 0.0%
wp_cache_set17 1.2% 62 0.1% 0 0.0% 1,552 0.0% 360 0.0%
serialize20 1.4% 57 0.1% 0 0.0% 34,576 0.6% 6,936 0.1%
sanitize_title_for_query1 0.1% 56 0.1% 0 0.0% 600 0.0% 0 0.0%
wp_list_pluck13 0.9% 49 0.1% 0 0.0% 4,792 0.1% 1,168 0.0%
addslashes_gpc18 1.3% 49 0.1% 0 0.0% 1,712 0.0% 1,712 0.0%
WP_Meta_Query::parse_query_vars20 1.4% 47 0.1% 0 0.0% 1,184 0.0% 928 0.0%
do_action_ref_array@11 0.1% 37 0.1% 0 0.0% 2,432 0.0% 0 0.0%
compact25 1.8% 35 0.1% 0 0.0% 30,344 0.5% 7,432 0.1%
WP_Query::parse_order18 1.3% 25 0.0% 0 0.0% 1,152 0.0% 896 0.0%
WP_Query::fill_query_vars20 1.4% 23 0.0% 0 0.0% 552 0.0% 296 0.0%
esc_sql1 0.1% 20 0.0% 0 0.0% 824 0.0% 0 0.0%
absint15 1.1% 18 0.0% 0 0.0% 528 0.0% 0 0.0%
implode57 4.1% 18 0.0% 0 0.0% 1,344 0.0% 264 0.0%
get_post_type_object59 4.3% 17 0.0% 0 0.0% 552 0.0% 0 0.0%
sort20 1.4% 17 0.0% 0 0.0% 1,392 0.0% 736 0.0%
str_replace20 1.4% 15 0.0% 0 0.0% 7,032 0.1% 1,432 0.0%
apply_filters36 2.6% 15 0.0% 0 0.0% 3,992 0.1% 480 0.0%
explode33 2.4% 11 0.0% 0 0.0% 7,944 0.1% 816 0.0%
str_contains20 1.4% 9 0.0% 0 0.0% 536 0.0% 536 0.0%
strtoupper20 1.4% 8 0.0% 0 0.0% 1,944 0.0% 384 0.0%
remove_all_filters20 1.4% 8 0.0% 0 0.0% 552 0.0% 552 0.0%
urldecode18 1.3% 8 0.0% 0 0.0% 1,240 0.0% 576 0.0%
wp_using_ext_object_cache13 0.9% 7 0.0% 0 0.0% 552 0.0% 0 0.0%
is_numeric20 1.4% 7 0.0% 0 0.0% 536 0.0% 0 0.0%
reset11 0.8% 6 0.0% 0 0.0% 528 0.0% 0 0.0%
do_action12 0.9% 6 0.0% 0 0.0% 3,120 0.1% 0 0.0%
array_merge18 1.3% 6 0.0% 0 0.0% 536 0.0% 0 0.0%
is_user_logged_in1 0.1% 5 0.0% 0 0.0% 1,736 0.0% 400 0.0%
WP_Meta_Query::__construct20 1.4% 5 0.0% 0 0.0% 552 0.0% 296 0.0%
do_action@14 0.3% 3 0.0% 0 0.0% 1,400 0.0% 0 0.0%
stripslashes1 0.1% 1 0.0% 0 0.0% 576 0.0% 0 0.0%
trim1 0.1% 1 0.0% 0 0.0% 528 0.0% 0 0.0%
do_action@24 0.3% 1 0.0% 0 0.0% 1,400 0.0% 664 0.0%