基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-16 02:59:37 HTTP/1.1 GET : c708.test3.shoppaas.co/category.html
- 运行时间 : 0.265371s [ 吞吐率:3.77req/s ] 内存消耗:22,254.37kb 文件加载:282
- 查询信息 : [耗时:0.032528s/0.265371 12.26% ] 24 queries ,4 writes
- 缓存信息 : 7 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=m2cuirgj8ncliif8nek00d95ah
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000348s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000059s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000072s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000091s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'category',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'c708.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' => 'c708.test3.shoppaas.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.004550s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000036s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000029s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000088s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1705564158100:',
'type' => 'redis',
'host' => 'master.redis-test8.evt7pw.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Category->index[ /wwwroot/application/index/controller/Category.php ]
- [ VIEW ] /wwwroot/template/ella/template/category_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 => 'global_css',
14 => 'theme_diy_mode',
15 => 'theme_config',
16 => 'icon_image',
17 => 'head_code',
18 => 'end_code',
19 => 'controllername',
20 => 'actionname',
21 => 'user',
22 => 'language',
23 => 'lang',
24 => 'is_rtl_lang',
25 => 'site',
26 => 'config',
27 => 'currency_switch',
28 => 'currency_list',
29 => 'currency_site',
30 => 'currency',
31 => 'cart',
32 => 'subscribing',
33 => 'login',
34 => 'policies',
35 => 'is_mobile',
36 => 'not_show_login',
37 => 'customer_login_status',
38 => 'config_site_version',
39 => 'categoryList',
40 => 'categorySelected',
41 => 'seotitle',
42 => 'page_type',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000124s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001885s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002145s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001894s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001889s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.011873s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.003847s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001237s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001310s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001098s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001965s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000071s ]
- 1/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.011873s ] [0.011873s/0.034628s=34.29%]
- 2/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004550s ] [0.004550s/0.034628s=13.14%]
- 3/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.003847s ] [0.003847s/0.034628s=11.11%]
- 4/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002145s ] [0.002145s/0.034628s=6.19%]
- 5/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001965s ] [0.001965s/0.034628s=5.67%]
- 6/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001894s ] [0.001894s/0.034628s=5.47%]
- 7/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001889s ] [0.001889s/0.034628s=5.46%]
- 8/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001885s ] [0.001885s/0.034628s=5.44%]
- 9/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001310s ] [0.001310s/0.034628s=3.78%]
- 10/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001237s ] [0.001237s/0.034628s=3.57%]
- 11/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001098s ] [0.001098s/0.034628s=3.17%]
- 12/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000348s ] [0.000348s/0.034628s=1.00%]
- 13/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000124s ] [0.000124s/0.034628s=0.36%]
- 14/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000091s ] [0.000091s/0.034628s=0.26%]
- 15/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000088s ] [0.000088s/0.034628s=0.25%]
- 16/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000072s ] [0.000072s/0.034628s=0.21%]
- 17/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000071s ] [0.000071s/0.034628s=0.21%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000059s ] [0.000059s/0.034628s=0.17%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000036s ] [0.000036s/0.034628s=0.10%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000029s ] [0.000029s/0.034628s=0.08%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ] [0.000017s/0.034628s=0.05%]
- [ DB ] CONNECT:[ UseTime:0.001859s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1705564158100;charset=utf8mb4
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001276s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001347s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000859s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001570s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001287s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000894s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765825177 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'm2cuirgj8ncliif8nek00d95ah' AND `createtime` > 1765565977 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001065s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001568s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001082s ]
- [ 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` = 'm2cuirgj8ncliif8nek00d95ah' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001691s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000583s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000826s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000872s ]
- [ SQL ] SELECT * FROM `category` [ RunTime:0.002377s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('1',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000850s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('2',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000914s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('3',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001114s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('4',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000767s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('5',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000764s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('6',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000724s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('7',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000746s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('8',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001218s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('9',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000950s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('10',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000762s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('11',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001113s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000737s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 0,2000 [ RunTime:0.001712s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001001s ]
- 1/29 . SELECT * FROM `category` [0.002377s/0.032528s=7.31%]
- 2/29 . CONNECT:[ UseTime:0.001859s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1705564158100;charset=utf8mb4 [0.001859s/0.032528s=5.72%]
- 3/29 . SELECT * FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 0,2000 [0.001712s/0.032528s=5.26%]
- 4/29 . 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` = 'm2cuirgj8ncliif8nek00d95ah' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001691s/0.032528s=5.20%]
- 5/29 . set time_zone = '+08:00' [0.001570s/0.032528s=4.83%]
- 6/29 . SELECT @@session.sql_mode [0.001568s/0.032528s=4.82%]
- 7/29 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001347s/0.032528s=4.14%]
- 8/29 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001287s/0.032528s=3.96%]
- 9/29 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001276s/0.032528s=3.92%]
- 10/29 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('8',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001218s/0.032528s=3.74%]
- 11/29 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('3',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001114s/0.032528s=3.42%]
- 12/29 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('11',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001113s/0.032528s=3.42%]
- 13/29 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001082s/0.032528s=3.33%]
- 14/29 . UPDATE `cart` SET `deletetime`=1765825177 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'm2cuirgj8ncliif8nek00d95ah' AND `createtime` > 1765565977 ) AND `cart`.`deletetime` IS NULL [0.001065s/0.032528s=3.27%]
- 15/29 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001001s/0.032528s=3.08%]
- 16/29 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('9',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000950s/0.032528s=2.92%]
- 17/29 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('2',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000914s/0.032528s=2.81%]
- 18/29 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000894s/0.032528s=2.75%]
- 19/29 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000872s/0.032528s=2.68%]
- 20/29 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000859s/0.032528s=2.64%]
- 21/29 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('1',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000850s/0.032528s=2.61%]
- 22/29 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000826s/0.032528s=2.54%]
- 23/29 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('4',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000767s/0.032528s=2.36%]
- 24/29 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('5',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000764s/0.032528s=2.35%]
- 25/29 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('10',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000762s/0.032528s=2.34%]
- 26/29 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('7',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000746s/0.032528s=2.29%]
- 27/29 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000737s/0.032528s=2.27%]
- 28/29 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('6',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000724s/0.032528s=2.23%]
- 29/29 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000583s/0.032528s=1.79%]
- 1/1. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001665s/0.032528s=5.12%]