Run Report
Run #692367b508df9: XHProf Run (Namespace=myapp)
Tip
Click a function name below to drill down.

Parent/Child report for wpdb::prepare [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl. CPU
(microsecs)
ICpu%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
wpdb::prepare731 4.9% 19,639 0.2% 19,563 0.2% 3,009,080 1.4% 122,872 0.1%
Exclusive Metrics for Current Function6,286 32.0% 4,953 25.3% 561,240 18.7% 26,624 21.7%
Parent functions
wpdb::_insert_replace_helper116 15.9% 5,850 29.8% 5,852 29.9% 1,662,304 55.2% 30,600 24.9%
update_metadata116 15.9% 3,335 17.0% 3,330 17.0% 245,512 8.2% 0 0.0%
WP_Post::get_instance169 23.1% 2,504 12.8% 2,507 12.8% 274,992 9.1% 34,944 28.4%
Elementor\Utils::get_post_autosave96 13.1% 2,412 12.3% 2,430 12.4% 191,784 6.4% 0 0.0%
get_option83 11.4% 1,953 9.9% 1,842 9.4% 177,976 5.9% 35,496 28.9%
WP_Query::get_posts75 10.3% 1,548 7.9% 1,571 8.0% 153,424 5.1% 4,232 3.4%
wpdb::update12 1.6% 487 2.5% 489 2.5% 148,240 4.9% 0 0.0%
WP_Meta_Query::get_sql_for_clause18 2.5% 369 1.9% 371 1.9% 36,880 1.2% 3,824 3.1%
wp_prime_option_caches12 1.6% 358 1.8% 362 1.9% 20,408 0.7% 9,808 8.0%
update_option12 1.6% 278 1.4% 277 1.4% 25,872 0.9% 0 0.0%
Elementor\Core\Base\BackgroundProcess\WP_Background_Process::is_queue_empty5 0.7% 100 0.5% 100 0.5% 11,760 0.4% 0 0.0%
WP_Comment_Query::get_comment_ids6 0.8% 92 0.5% 95 0.5% 11,720 0.4% 0 0.0%
ActionScheduler_DBStore::get_query_actions_sql2 0.3% 82 0.4% 77 0.4% 5,792 0.2% 0 0.0%
wpdb::set_charset2 0.3% 77 0.4% 66 0.3% 22,128 0.7% 0 0.0%
add_option1 0.1% 43 0.2% 42 0.2% 4,464 0.1% 0 0.0%
WP_User::get_data_by2 0.3% 36 0.2% 37 0.2% 4,672 0.2% 0 0.0%
Elementor\Core\Common\Modules\EventTracker\DB::__construct1 0.1% 34 0.2% 34 0.2% 2,672 0.1% 0 0.0%
Red_Item::get_for_matched_url1 0.1% 34 0.2% 34 0.2% 3,104 0.1% 3,968 3.2%
ILJ\Database\Linkindex::getRules1 0.1% 28 0.1% 28 0.1% 2,720 0.1% 0 0.0%
get_option@11 0.1% 19 0.1% 19 0.1% 2,656 0.1% 0 0.0%
Child functions
wpdb::_real_escape702 6.1% 7,108 36.2% 7,125 36.4% 882,120 29.3% 49,608 40.4%
wpdb::add_placeholder_escape731 6.3% 2,857 14.5% 2,914 14.9% 1,768 0.1% 24,880 20.2%
preg_split731 6.3% 701 3.6% 820 4.2% 444,456 14.8% 13,480 11.0%
substr3,123 27.0% 651 3.3% 863 4.4% 520 0.0% 0 0.0%
preg_replace731 6.3% 439 2.2% 538 2.8% 528 0.0% 224 0.2%
vsprintf731 6.3% 387 2.0% 466 2.4% 1,075,408 35.7% 4,032 3.3%
str_replace1,462 12.6% 340 1.7% 522 2.7% 528 0.0% 0 0.0%
array_intersect731 6.3% 336 1.7% 520 2.7% 41,464 1.4% 4,024 3.3%
strpos1,434 12.4% 304 1.5% 488 2.5% 520 0.0% 0 0.0%
in_array1,210 10.4% 230 1.2% 354 1.8% 528 0.0% 0 0.0%