基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-13 16:30:24 HTTP/1.1 GET : 1115.test3.shoppaas.co/policies/tracking-order
- 运行时间 : 0.150933s [ 吞吐率:6.63req/s ] 内存消耗:2,211.13kb 文件加载:247
- 查询信息 : [耗时:0.051254s/0.150933 33.96% ] 18 queries ,4 writes
- 缓存信息 : 5 reads,5 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=lscdc0hpuf7189fvc166v75ahu
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000267s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000038s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000047s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000055s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'policies',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => '1115.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.55',
'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' => '1115.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'name' => 'tracking-order',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004298s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000065s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000064s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1686534694843:',
'type' => 'redis',
'host' => 'master.redis-test8.evt7pw.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Policies->index[ /wwwroot/application/index/controller/Policies.php ]
- [ VIEW ] /wwwroot/template/brooklyn-playful/template/policies_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 => 'policy',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000129s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001831s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001707s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001635s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001630s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001640s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001641s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001177s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000070s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001759s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000069s ]
- 1/20 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004298s ] [0.004298s/0.018161s=23.67%]
- 2/20 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001831s ] [0.001831s/0.018161s=10.08%]
- 3/20 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001759s ] [0.001759s/0.018161s=9.69%]
- 4/20 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001707s ] [0.001707s/0.018161s=9.40%]
- 5/20 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001641s ] [0.001641s/0.018161s=9.04%]
- 6/20 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001640s ] [0.001640s/0.018161s=9.03%]
- 7/20 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001635s ] [0.001635s/0.018161s=9.00%]
- 8/20 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001630s ] [0.001630s/0.018161s=8.98%]
- 9/20 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001177s ] [0.001177s/0.018161s=6.48%]
- 10/20 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000267s ] [0.000267s/0.018161s=1.47%]
- 11/20 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000129s ] [0.000129s/0.018161s=0.71%]
- 12/20 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000070s ] [0.000070s/0.018161s=0.39%]
- 13/20 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000069s ] [0.000069s/0.018161s=0.38%]
- 14/20 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000065s ] [0.000065s/0.018161s=0.36%]
- 15/20 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000064s ] [0.000064s/0.018161s=0.35%]
- 16/20 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000055s ] [0.000055s/0.018161s=0.30%]
- 17/20 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000047s ] [0.000047s/0.018161s=0.26%]
- 18/20 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000038s ] [0.000038s/0.018161s=0.21%]
- 19/20 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ] [0.000028s/0.018161s=0.15%]
- 20/20 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ] [0.000011s/0.018161s=0.06%]
- [ DB ] CONNECT:[ UseTime:0.002763s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1686534694843;charset=utf8mb4
- [ 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.002035s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.002122s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' AND ( code != 'test' ) [ RunTime:0.001523s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.002762s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001095s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000793s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000813s ]
- [ SQL ] SELECT * FROM `currency` WHERE `status` = 1 ORDER BY `sort` DESC [ RunTime:0.009458s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000955s ]
- [ SQL ] SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [ RunTime:0.001017s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765614624 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'lscdc0hpuf7189fvc166v75ahu' AND `createtime` > 1765355424 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.006457s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000750s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000646s ]
- [ 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` = 'lscdc0hpuf7189fvc166v75ahu' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.003050s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000788s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000930s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.002085s ]
- [ SQL ] SELECT * FROM `policies` WHERE `name` = 'tracking-order' LIMIT 1 [ RunTime:0.004736s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001042s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.003024s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.001251s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.001159s ]
- 1/23 . SELECT * FROM `currency` WHERE `status` = 1 ORDER BY `sort` DESC [0.009458s/0.051254s=18.45%]
- 2/23 . UPDATE `cart` SET `deletetime`=1765614624 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'lscdc0hpuf7189fvc166v75ahu' AND `createtime` > 1765355424 ) AND `cart`.`deletetime` IS NULL [0.006457s/0.051254s=12.60%]
- 3/23 . SELECT * FROM `policies` WHERE `name` = 'tracking-order' LIMIT 1 [0.004736s/0.051254s=9.24%]
- 4/23 . 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` = 'lscdc0hpuf7189fvc166v75ahu' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.003050s/0.051254s=5.95%]
- 5/23 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.003024s/0.051254s=5.90%]
- 6/23 . CONNECT:[ UseTime:0.002763s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1686534694843;charset=utf8mb4 [0.002763s/0.051254s=5.39%]
- 7/23 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.002762s/0.051254s=5.39%]
- 8/23 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.002122s/0.051254s=4.14%]
- 9/23 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.002085s/0.051254s=4.07%]
- 10/23 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.002035s/0.051254s=3.97%]
- 11/23 . SELECT * FROM `payment` WHERE `status` = '1' AND ( code != 'test' ) [0.001523s/0.051254s=2.97%]
- 12/23 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.001251s/0.051254s=2.44%]
- 13/23 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.001159s/0.051254s=2.26%]
- 14/23 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001095s/0.051254s=2.14%]
- 15/23 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001042s/0.051254s=2.03%]
- 16/23 . SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [0.001017s/0.051254s=1.98%]
- 17/23 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000955s/0.051254s=1.86%]
- 18/23 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000930s/0.051254s=1.81%]
- 19/23 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000813s/0.051254s=1.59%]
- 20/23 . set time_zone = '+08:00' [0.000793s/0.051254s=1.55%]
- 21/23 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000788s/0.051254s=1.54%]
- 22/23 . SELECT @@session.sql_mode [0.000750s/0.051254s=1.46%]
- 23/23 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000646s/0.051254s=1.26%]
- 1/2. SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [2 times, 0.00241s/0.051254s=4.70%]
- 2/2. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001434s/0.051254s=2.80%]