Run Report
Run #69e6152b25794: 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_posts16 0.5% 32,468 3.2% 24,595 2.5% 2,309,784 10.8% 2,043,064 9.4%
Exclusive Metrics for Current Function1,138 3.5% 0 0.0% -224,536 -9.7% 11,416 0.6%
Parent function
WP_Query::query16 100.0% 32,468 100.0% 24,595 100.0% 2,309,784 100.0% 2,043,064 100.0%
Child functions
_prime_post_caches3 0.3% 11,627 35.8% 7,447 30.3% 1,070,832 46.4% 1,222,000 59.8%
update_post_caches8 0.7% 3,715 11.4% 3,085 12.5% 423,336 18.3% 222,584 10.9%
update_menu_item_cache4 0.4% 3,580 11.0% 2,092 8.5% 506,280 21.9% 336,976 16.5%
wpdb::get_col7 0.6% 2,104 6.5% 3,755 15.3% -140,832 -6.1% 0 0.0%
wpdb::get_results8 0.7% 1,856 5.7% 4,938 20.1% 45,664 2.0% 0 0.0%
WP_Query::generate_cache_key16 1.4% 1,709 5.3% 0 0.0% 207,456 9.0% 74,112 3.6%
WP_Query::parse_query16 1.4% 1,581 4.9% 478 1.9% 146,864 6.4% 46,448 2.3%
array_map25 2.2% 1,541 4.7% 375 1.5% 35,264 1.5% 2,608 0.1%
get_option31 2.7% 515 1.6% 326 1.3% 848 0.0% 25,088 1.2%
apply_filters_ref_array148 13.0% 505 1.6% 0 0.0% 47,168 2.0% 57,504 2.8%
wpdb::prepare17 1.5% 456 1.4% 0 0.0% 24,112 1.0% 1,840 0.1%
wp_queue_posts_for_term_meta_lazyload4 0.4% 416 1.3% 0 0.0% 20,264 0.9% 0 0.0%
do_action_ref_array16 1.4% 380 1.2% 1,000 4.1% 15,192 0.7% 9,888 0.5%
WP_Tax_Query::get_sql15 1.3% 231 0.7% 0 0.0% 14,336 0.6% 10,272 0.5%
WP_Query::parse_tax_query15 1.3% 139 0.4% 0 0.0% 552 0.0% 296 0.0%
get_post_stati16 1.4% 119 0.4% 0 0.0% 11,632 0.5% 1,832 0.1%
WP_Query::parse_orderby18 1.6% 110 0.3% 0 0.0% 5,416 0.2% 2,728 0.1%
WP_Query::set_found_posts14 1.2% 97 0.3% 99 0.4% -4,168 -0.2% 0 0.0%
in_array232 20.3% 64 0.2% 1,000 4.1% 528 0.0% 480 0.0%
wp_cache_get16 1.4% 62 0.2% 0 0.0% 536 0.0% 0 0.0%
get_current_user_id16 1.4% 61 0.2% 0 0.0% 1,168 0.1% 0 0.0%
wp_cache_set15 1.3% 49 0.2% 0 0.0% 1,232 0.1% 360 0.0%
md516 1.4% 48 0.1% 0 0.0% 1,552 0.1% 0 0.0%
serialize16 1.4% 42 0.1% 0 0.0% 27,152 1.2% 8,072 0.4%
WP_Meta_Query::parse_query_vars16 1.4% 39 0.1% 0 0.0% 1,184 0.1% 928 0.0%
wp_list_pluck11 1.0% 35 0.1% 0 0.0% 3,264 0.1% 104 0.0%
addslashes_gpc15 1.3% 34 0.1% 0 0.0% 1,712 0.1% 1,712 0.1%
compact23 2.0% 23 0.1% 0 0.0% 27,992 1.2% 48 0.0%
WP_Query::parse_order16 1.4% 21 0.1% 0 0.0% 1,152 0.0% 896 0.0%
WP_Query::fill_query_vars16 1.4% 19 0.1% 0 0.0% 552 0.0% 296 0.0%
esc_sql1 0.1% 18 0.1% 0 0.0% 824 0.0% 0 0.0%
get_post_type_object48 4.2% 16 0.0% 0 0.0% 552 0.0% 0 0.0%
absint16 1.4% 15 0.0% 0 0.0% 528 0.0% 0 0.0%
sort19 1.7% 12 0.0% 0 0.0% 2,472 0.1% 736 0.0%
implode50 4.4% 12 0.0% 0 0.0% 1,784 0.1% 264 0.0%
str_replace16 1.4% 9 0.0% 0 0.0% 5,464 0.2% 384 0.0%
urldecode15 1.3% 9 0.0% 0 0.0% 1,120 0.0% 576 0.0%
explode24 2.1% 7 0.0% 0 0.0% 5,928 0.3% 816 0.0%
apply_filters24 2.1% 7 0.0% 0 0.0% 2,912 0.1% 480 0.0%
is_user_logged_in2 0.2% 6 0.0% 0 0.0% 536 0.0% 0 0.0%
remove_all_filters16 1.4% 6 0.0% 0 0.0% 552 0.0% 552 0.0%
get_post_status1 0.1% 5 0.0% 0 0.0% 1,720 0.1% 0 0.0%
str_contains16 1.4% 5 0.0% 0 0.0% 536 0.0% 0 0.0%
is_numeric17 1.5% 5 0.0% 0 0.0% 536 0.0% 0 0.0%
wp_using_ext_object_cache11 1.0% 4 0.0% 0 0.0% 552 0.0% 0 0.0%
strtoupper16 1.4% 3 0.0% 0 0.0% 1,656 0.1% 0 0.0%
do_action@14 0.4% 3 0.0% 0 0.0% 1,400 0.1% 0 0.0%
array_merge14 1.2% 3 0.0% 0 0.0% 536 0.0% 0 0.0%
reset8 0.7% 3 0.0% 0 0.0% 528 0.0% 0 0.0%
apply_filters@16 0.5% 2 0.0% 0 0.0% 1,184 0.1% 0 0.0%
do_action9 0.8% 1 0.0% 0 0.0% 2,472 0.1% 472 0.0%
get_post_status_object1 0.1% 1 0.0% 0 0.0% 552 0.0% 0 0.0%
WP_Meta_Query::__construct16 1.4% 0 0.0% 0 0.0% 552 0.0% 296 0.0%
do_action@23 0.3% 0 0.0% 0 0.0% 1,184 0.1% 0 0.0%