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

Parent/Child report for wp_json_encode [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl. CPU
(microsecs)
ICpu%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
wp_json_encode92 3.3% 824 0.0% 1,999 0.1% 289,672 0.4% 173,872 0.3%
Exclusive Metrics for Current Function64 7.8% 0 0.0% 11,312 3.9% 1,192 0.7%
Parent functions
Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid::render3 3.3% 558 67.7% 1,999 100.0% 176,712 61.0% 143,840 82.7%
WP_Scripts::localize36 39.1% 63 7.6% 0 0.0% 24,040 8.3% 18,288 10.5%
Automattic\WooCommerce\Blocks\BlockTypes\MiniCart::print_lazy_load_scripts1 1.1% 45 5.5% 0 0.0% 33,368 11.5% 0 0.0%
serialize_block_attributes19 20.7% 28 3.4% 0 0.0% 6,888 2.4% 0 0.0%
WC_Product_Variable_Data_Store_CPT::get_price_hash11 12.0% 24 2.9% 0 0.0% 1,240 0.4% 0 0.0%
wp_add_global_styles_for_blocks1 1.1% 18 2.2% 0 0.0% 8,744 3.0% 0 0.0%
WeglotWP\Actions\Front\Translate_Page_Weglot::weglot_custom_settings1 1.1% 15 1.8% 0 0.0% 8,776 3.0% 0 0.0%
Automattic\WooCommerce\Blocks\Utils\BlocksWpQuery::get_cached_posts3 3.3% 13 1.6% 0 0.0% 3,912 1.4% 0 0.0%
wp_print_speculation_rules1 1.1% 12 1.5% 0 0.0% 4,160 1.4% 0 0.0%
acf_get_block_id3 3.3% 11 1.3% 0 0.0% 5,592 1.9% 0 0.0%
RankMath\Schema\JsonLD::json_ld1 1.1% 7 0.8% 0 0.0% 3,624 1.3% 0 0.0%
Automattic\WooCommerce\Blocks\BlockTypesController::add_data_attributes3 3.3% 6 0.7% 0 0.0% 888 0.3% 0 0.0%
Algolia_Template_Loader::load_algolia_config1 1.1% 5 0.6% 0 0.0% 2,360 0.8% 0 0.0%
wp_default_packages_inline_scripts2 2.2% 5 0.6% 0 0.0% 1,608 0.6% 4,680 2.7%
wp_default_scripts1 1.1% 4 0.5% 0 0.0% 3,608 1.2% 3,208 1.8%
WeglotWP\Actions\Front\Translate_Page_Weglot::weglot_dynamics1 1.1% 3 0.4% 0 0.0% 904 0.3% 0 0.0%
wp_default_packages_vendor1 1.1% 3 0.4% 0 0.0% 1,192 0.4% 3,128 1.8%
wp_unique_id_from_values1 1.1% 2 0.2% 0 0.0% 632 0.2% 0 0.0%
Automattic\Jetpack\Assets::wp_default_scripts_hook1 1.1% 1 0.1% 0 0.0% 728 0.3% 728 0.4%
wpcf7_enqueue_scripts1 1.1% 1 0.1% 0 0.0% 696 0.2% 0 0.0%
Child function
json_encode92 100.0% 760 92.2% 1,999 100.0% 278,360 96.1% 172,680 99.3%