基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-03-26 19:01:04 HTTP/1.1 GET : xtlts.saascdn.co/cart
- 运行时间 : 0.501914s [ 吞吐率:1.99req/s ] 内存消耗:2,783.45kb 文件加载:315
- 查询信息 : [耗时:0.120598s/0.501914 24.03% ] 16 queries ,4 writes
- 缓存信息 : 6 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=hto0bg1101b41affhsbbhauaf1
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000018s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000458s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000064s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000079s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000085s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'cart',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'xtlts.saascdn.co',
'x-forwarded-for' => '216.73.216.118',
'accept-encoding' => 'gzip, br, zstd, deflate',
'accept' => '*/*',
'user-agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'host' => 'xtlts.saascdn.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.014857s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000050s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000040s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000114s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1692326689477:',
'type' => 'redis',
'host' => 'master.redis-test8.evt7pw.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Cart->index[ /wwwroot/application/index/controller/Cart.php ]
- [ VIEW ] /wwwroot/template/brooklyn-playful/template/cart_index.html [ array (
0 => 'controller_name',
1 => 'action_name',
2 => 'lang_count',
3 => 'lang_array',
4 => 'theme_key',
5 => 'theme_id',
6 => 'theme_name',
7 => 'hook_rute',
8 => 'theme_arr',
9 => 'template_name',
10 => 'payment_icons',
11 => 'payment',
12 => 'theme',
13 => 'theme_diy_mode',
14 => 'theme_config',
15 => 'icon_image',
16 => 'head_code',
17 => 'end_code',
18 => 'controllername',
19 => 'actionname',
20 => 'user',
21 => 'language',
22 => 'lang',
23 => 'is_rtl_lang',
24 => 'site',
25 => 'config',
26 => 'currency_switch',
27 => 'currency_list',
28 => 'currency_site',
29 => 'currency',
30 => 'cart',
31 => 'subscribing',
32 => 'login',
33 => 'policies',
34 => 'is_mobile',
35 => 'not_show_login',
36 => 'customer_login_status',
37 => 'config_site_version',
38 => 'product_id',
39 => 'subtotal',
40 => 'discount',
41 => 'discount_gift',
42 => 'discount_gift_fee',
43 => 'total',
44 => 'discount_format',
45 => 'cart_info',
46 => 'order_info',
47 => 'order_remark',
48 => 'total_format',
49 => 'free_shipping_tips',
50 => 'form_type',
51 => 'page_type',
52 => 'seotitle',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000103s ]
- [ VIEW ] /wwwroot/addons/facebookpixel/view/global_footer.html [ array (
0 => 'facebook_pixel_id',
1 => 'facebook_pixel_pii',
2 => 'facebook_pixel_event_params',
) ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.194408s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002278s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002071s ]
- [ VIEW ] /wwwroot/addons/tiktokpixel/view/tiktok_pixel.html [ array (
0 => 'tiktok_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.003248s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002641s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002142s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001758s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001299s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001107s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000073s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002052s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000078s ]
- 1/22 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.194408s ] [0.194408s/0.229023s=84.89%]
- 2/22 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.014857s ] [0.014857s/0.229023s=6.49%]
- 3/22 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.003248s ] [0.003248s/0.229023s=1.42%]
- 4/22 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002641s ] [0.002641s/0.229023s=1.15%]
- 5/22 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002278s ] [0.002278s/0.229023s=0.99%]
- 6/22 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002142s ] [0.002142s/0.229023s=0.94%]
- 7/22 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002071s ] [0.002071s/0.229023s=0.90%]
- 8/22 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002052s ] [0.002052s/0.229023s=0.90%]
- 9/22 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001758s ] [0.001758s/0.229023s=0.77%]
- 10/22 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001299s ] [0.001299s/0.229023s=0.57%]
- 11/22 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001107s ] [0.001107s/0.229023s=0.48%]
- 12/22 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000458s ] [0.000458s/0.229023s=0.20%]
- 13/22 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000114s ] [0.000114s/0.229023s=0.05%]
- 14/22 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000103s ] [0.000103s/0.229023s=0.04%]
- 15/22 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000085s ] [0.000085s/0.229023s=0.04%]
- 16/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000079s ] [0.000079s/0.229023s=0.03%]
- 17/22 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000078s ] [0.000078s/0.229023s=0.03%]
- 18/22 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000073s ] [0.000073s/0.229023s=0.03%]
- 19/22 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000064s ] [0.000064s/0.229023s=0.03%]
- 20/22 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000050s ] [0.000050s/0.229023s=0.02%]
- 21/22 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000040s ] [0.000040s/0.229023s=0.02%]
- 22/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000018s ] [0.000018s/0.229023s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.004650s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1692326689477;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.010516s ]
- [ SQL ] SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [ RunTime:0.003594s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.002215s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001406s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.002405s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.002741s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.003756s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.003377s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.010404s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1774522864 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'hto0bg1101b41affhsbbhauaf1' ) AND `cart`.`deletetime` IS NULL [ RunTime:0.024466s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.002729s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000792s ]
- [ SQL ] SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'hto0bg1101b41affhsbbhauaf1' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.020665s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000939s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.009238s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (14) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.007731s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.004109s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001588s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001111s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.002166s ]
- 1/21 . UPDATE `cart` SET `deletetime`=1774522864 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'hto0bg1101b41affhsbbhauaf1' ) AND `cart`.`deletetime` IS NULL [0.024466s/0.120598s=20.29%]
- 2/21 . SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'hto0bg1101b41affhsbbhauaf1' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.020665s/0.120598s=17.14%]
- 3/21 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.010516s/0.120598s=8.72%]
- 4/21 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.010404s/0.120598s=8.63%]
- 5/21 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.009238s/0.120598s=7.66%]
- 6/21 . SELECT * FROM `shipping_express` WHERE ( `id` IN (14) ) AND `shipping_express`.`deletetime` IS NULL [0.007731s/0.120598s=6.41%]
- 7/21 . CONNECT:[ UseTime:0.004650s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1692326689477;charset=utf8mb4 [0.004650s/0.120598s=3.86%]
- 8/21 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.004109s/0.120598s=3.41%]
- 9/21 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.003756s/0.120598s=3.11%]
- 10/21 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.003594s/0.120598s=2.98%]
- 11/21 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.003377s/0.120598s=2.80%]
- 12/21 . set time_zone = '+08:00' [0.002741s/0.120598s=2.27%]
- 13/21 . SELECT @@session.sql_mode [0.002729s/0.120598s=2.26%]
- 14/21 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.002405s/0.120598s=1.99%]
- 15/21 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.002215s/0.120598s=1.84%]
- 16/21 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.002166s/0.120598s=1.80%]
- 17/21 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001588s/0.120598s=1.32%]
- 18/21 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001406s/0.120598s=1.17%]
- 19/21 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001111s/0.120598s=0.92%]
- 20/21 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000939s/0.120598s=0.78%]
- 21/21 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000792s/0.120598s=0.66%]
- 1/1. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001731s/0.120598s=1.44%]
- Facebook track: Use:18.427109718323ms