Run Report
Run #69e6176a6f9b9: 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,396 4.5% 25,249 3.7% 2,290,080 12.3% 2,057,672 10.9%
Exclusive Metrics for Current Function1,217 3.8% 270 1.1% -224,536 -9.8% 12,784 0.6%
Parent function
WP_Query::query16 100.0% 32,396 100.0% 25,249 100.0% 2,290,080 100.0% 2,057,672 100.0%
Child functions
_prime_post_caches3 0.3% 11,265 34.8% 8,333 33.0% 1,070,832 46.8% 1,222,000 59.4%
update_post_caches8 0.7% 4,058 12.5% 2,906 11.5% 423,336 18.5% 222,584 10.8%
update_menu_item_cache4 0.3% 3,635 11.2% 2,062 8.2% 506,280 22.1% 339,760 16.5%
wpdb::get_col7 0.6% 1,920 5.9% 2,366 9.4% -140,832 -6.1% 0 0.0%
wpdb::get_results8 0.7% 1,726 5.3% 4,214 16.7% 44,608 1.9% 0 0.0%
WP_Query::generate_cache_key16 1.4% 1,711 5.3% 270 1.1% 207,456 9.1% 104,672 5.1%
WP_Query::parse_query16 1.4% 1,612 5.0% 1,000 4.0% 146,864 6.4% 46,448 2.3%
array_map25 2.1% 1,535 4.7% 290 1.1% 35,264 1.5% 2,608 0.1%
apply_filters_ref_array148 12.6% 512 1.6% 1,000 4.0% 26,688 1.2% 20,496 1.0%
get_option31 2.6% 511 1.6% 0 0.0% 848 0.0% 25,248 1.2%
wpdb::prepare17 1.5% 465 1.4% 638 2.5% 24,112 1.1% 1,840 0.1%
wp_queue_posts_for_term_meta_lazyload4 0.3% 433 1.3% 0 0.0% 20,264 0.9% 0 0.0%
do_action_ref_array16 1.4% 404 1.2% 259 1.0% 15,192 0.7% 9,888 0.5%
WP_Tax_Query::get_sql15 1.3% 238 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% 125 0.4% 0 0.0% 12,248 0.5% 2,448 0.1%
WP_Query::parse_orderby18 1.5% 119 0.4% 0 0.0% 5,416 0.2% 2,728 0.1%
WP_Query::set_found_posts14 1.2% 96 0.3% 96 0.4% -4,168 -0.2% 0 0.0%
in_array260 22.2% 65 0.2% 0 0.0% 528 0.0% 480 0.0%
wp_cache_get16 1.4% 64 0.2% 0 0.0% 536 0.0% 0 0.0%
get_current_user_id16 1.4% 63 0.2% 0 0.0% 1,168 0.1% 0 0.0%
md516 1.4% 50 0.2% 0 0.0% 1,552 0.1% 0 0.0%
wp_cache_set15 1.3% 48 0.1% 0 0.0% 1,232 0.1% 360 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% 41 0.1% 0 0.0% 1,184 0.1% 928 0.0%
wp_list_pluck11 0.9% 36 0.1% 0 0.0% 4,480 0.2% 104 0.0%
addslashes_gpc15 1.3% 33 0.1% 0 0.0% 1,712 0.1% 1,712 0.1%
compact23 2.0% 28 0.1% 0 0.0% 27,992 1.2% 13,672 0.7%
WP_Query::parse_order16 1.4% 24 0.1% 1,000 4.0% 1,152 0.1% 896 0.0%
esc_sql1 0.1% 19 0.1% 0 0.0% 824 0.0% 0 0.0%
WP_Query::fill_query_vars16 1.4% 18 0.1% 0 0.0% 552 0.0% 296 0.0%
absint16 1.4% 15 0.0% 0 0.0% 528 0.0% 0 0.0%
sort19 1.6% 15 0.0% 545 2.2% 2,472 0.1% 736 0.0%
get_post_type_object48 4.1% 12 0.0% 0 0.0% 552 0.0% 0 0.0%
str_replace16 1.4% 10 0.0% 0 0.0% 5,464 0.2% 1,240 0.1%
apply_filters24 2.1% 8 0.0% 0 0.0% 2,912 0.1% 480 0.0%
str_contains16 1.4% 8 0.0% 0 0.0% 536 0.0% 536 0.0%
explode24 2.1% 7 0.0% 0 0.0% 5,928 0.3% 816 0.0%
implode50 4.3% 7 0.0% 0 0.0% 1,784 0.1% 264 0.0%
is_user_logged_in2 0.2% 7 0.0% 0 0.0% 536 0.0% 0 0.0%
get_post_status1 0.1% 7 0.0% 0 0.0% 1,720 0.1% 0 0.0%
is_numeric17 1.5% 7 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%
array_merge14 1.2% 5 0.0% 0 0.0% 536 0.0% 0 0.0%
urldecode15 1.3% 4 0.0% 0 0.0% 1,120 0.0% 576 0.0%
strtoupper16 1.4% 4 0.0% 0 0.0% 1,656 0.1% 384 0.0%
do_action9 0.8% 4 0.0% 0 0.0% 2,472 0.1% 472 0.0%
WP_Meta_Query::__construct16 1.4% 4 0.0% 0 0.0% 552 0.0% 296 0.0%
apply_filters@16 0.5% 3 0.0% 0 0.0% 1,184 0.1% 0 0.0%
do_action@14 0.3% 3 0.0% 0 0.0% 1,400 0.1% 0 0.0%
wp_using_ext_object_cache11 0.9% 3 0.0% 0 0.0% 552 0.0% 0 0.0%
reset8 0.7% 2 0.0% 0 0.0% 528 0.0% 0 0.0%
get_post_status_object1 0.1% 2 0.0% 0 0.0% 552 0.0% 0 0.0%
do_action@23 0.3% 1 0.0% 0 0.0% 1,184 0.1% 728 0.0%