基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-03-20 03:23:14 HTTP/1.1 GET : democoffee.shoppaas.com/login
- 运行时间 : 0.128600s [ 吞吐率:7.78req/s ] 内存消耗:2,372.50kb 文件加载:248
- 查询信息 : [耗时:0.045025s/0.128600 35.01% ] 26 queries ,4 writes
- 缓存信息 : 7 reads,3 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=u7h3n651m7hid2ip62mk27nshg
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000307s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000050s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000060s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000063s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'user',
2 => 'login',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'democoffee.shoppaas.com',
'x-forwarded-for' => '18.97.14.81',
'if-modified-since' => 'Thu, 14 Nov 2024 14:52:35 GMT',
'accept-language' => 'en-US,en;q=0.5',
'accept-encoding' => 'br,gzip',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'user-agent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'host' => 'democoffee.shoppaas.com',
'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.002183s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000035s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000038s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000074s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1692268519851:',
'type' => 'redis',
'host' => '172.31.98.126',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ BEHAVIOR ] Run addons\visituser\Hook @visit_record [ RunTime:0.016438s ]
- [ RUN ] app\index\controller\User->login[ /wwwroot/application/index/controller/User.php ]
- [ VIEW ] /wwwroot/template/coffee/template/user/login.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 => 'callback',
39 => 'customer_login_config',
40 => 'preview',
) ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @global_header [ RunTime:0.001066s ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000055s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.000943s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000913s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000004s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000915s ]
- [ VIEW ] /wwwroot/addons/visituser/view/visit_record_page_stay_time.html [ array (
0 => 'unique_id',
1 => 'product_id',
) ]
- [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.000343s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000006s ]
- [ VIEW ] /wwwroot/addons/visituser/view/visit_record_page_stay_time.html [ array (
0 => 'unique_id',
1 => 'product_id',
) ]
- [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.000283s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000642s ]
- [ VIEW ] /wwwroot/addons/activitybar/view/product_buy_paypal_fast.html [ array (
0 => 'config_site_version',
1 => 'type',
2 => 'path',
3 => 'payment_element_id',
4 => 'container_id',
5 => 'key',
6 => 'theme_id',
7 => 'btn_style',
) ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000313s ]
- [ VIEW ] /wwwroot/addons/activitybar/view/product_buy_paypal_fast.html [ array (
0 => 'config_site_version',
1 => 'type',
2 => 'path',
3 => 'payment_element_id',
4 => 'container_id',
5 => 'key',
6 => 'theme_id',
7 => 'btn_style',
) ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000221s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000046s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000953s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000049s ]
- [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.001450s ]
- 1/26 . [ BEHAVIOR ] Run addons\visituser\Hook @visit_record [ RunTime:0.016438s ] [0.016438s/0.027464s=59.85%]
- 2/26 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002183s ] [0.002183s/0.027464s=7.95%]
- 3/26 . [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.001450s ] [0.001450s/0.027464s=5.28%]
- 4/26 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_header [ RunTime:0.001066s ] [0.001066s/0.027464s=3.88%]
- 5/26 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000953s ] [0.000953s/0.027464s=3.47%]
- 6/26 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.000943s ] [0.000943s/0.027464s=3.43%]
- 7/26 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000915s ] [0.000915s/0.027464s=3.33%]
- 8/26 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000913s ] [0.000913s/0.027464s=3.32%]
- 9/26 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000642s ] [0.000642s/0.027464s=2.34%]
- 10/26 . [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.000343s ] [0.000343s/0.027464s=1.25%]
- 11/26 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000313s ] [0.000313s/0.027464s=1.14%]
- 12/26 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000307s ] [0.000307s/0.027464s=1.12%]
- 13/26 . [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.000283s ] [0.000283s/0.027464s=1.03%]
- 14/26 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000221s ] [0.000221s/0.027464s=0.80%]
- 15/26 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000074s ] [0.000074s/0.027464s=0.27%]
- 16/26 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000063s ] [0.000063s/0.027464s=0.23%]
- 17/26 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000060s ] [0.000060s/0.027464s=0.22%]
- 18/26 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000055s ] [0.000055s/0.027464s=0.20%]
- 19/26 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000050s ] [0.000050s/0.027464s=0.18%]
- 20/26 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000049s ] [0.000049s/0.027464s=0.18%]
- 21/26 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000046s ] [0.000046s/0.027464s=0.17%]
- 22/26 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000038s ] [0.000038s/0.027464s=0.14%]
- 23/26 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000035s ] [0.000035s/0.027464s=0.13%]
- 24/26 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ] [0.000014s/0.027464s=0.05%]
- 25/26 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000006s ] [0.000006s/0.027464s=0.02%]
- 26/26 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000004s ] [0.000004s/0.027464s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.000874s ] mysql:host=172.31.96.182;port=3306;dbname=shoppaas_1692268519851;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `themes_lang` [ RunTime:0.004561s ]
- [ 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.000712s ]
- [ SQL ] SHOW COLUMNS FROM `payment` [ RunTime:0.003741s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.000687s ]
- [ SQL ] SHOW COLUMNS FROM `config` [ RunTime:0.002506s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000630s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000450s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000513s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000444s ]
- [ SQL ] SHOW COLUMNS FROM `cart` [ RunTime:0.002555s ]
- [ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.002559s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1742412194 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'u7h3n651m7hid2ip62mk27nshg' AND `createtime` > 1742152994 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.000868s ]
- [ SQL ] SHOW COLUMNS FROM `activity` [ RunTime:0.002059s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000536s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000618s ]
- [ 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` = 'u7h3n651m7hid2ip62mk27nshg' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [ RunTime:0.001063s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000599s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000488s ]
- [ SQL ] SHOW COLUMNS FROM `visit_user` [ RunTime:0.002530s ]
- [ SQL ] SELECT * FROM `visit_user` WHERE `visit_code` = '08f5783464efb4bdccc24e5cb673fd74' LIMIT 1 [ RunTime:0.002125s ]
- [ SQL ] SHOW COLUMNS FROM `visit_log` [ RunTime:0.002692s ]
- [ SQL ] SELECT * FROM `visit_log` WHERE ( `visit_session` = 'f7370b82d046dc1f66fe6aea7fb527e3' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002879s ]
- [ SQL ] SHOW COLUMNS FROM `app_center` [ RunTime:0.001834s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000688s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000581s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000593s ]
- [ 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.000738s ]
- [ SQL ] SHOW COLUMNS FROM `themes_menu_item` [ RunTime:0.002732s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000675s ]
- [ 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.000495s ]
- 1/31 . SHOW COLUMNS FROM `themes_lang` [0.004561s/0.045025s=10.13%]
- 2/31 . SHOW COLUMNS FROM `payment` [0.003741s/0.045025s=8.31%]
- 3/31 . SELECT * FROM `visit_log` WHERE ( `visit_session` = 'f7370b82d046dc1f66fe6aea7fb527e3' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [0.002879s/0.045025s=6.39%]
- 4/31 . SHOW COLUMNS FROM `themes_menu_item` [0.002732s/0.045025s=6.07%]
- 5/31 . SHOW COLUMNS FROM `visit_log` [0.002692s/0.045025s=5.98%]
- 6/31 . SHOW COLUMNS FROM `product` [0.002559s/0.045025s=5.68%]
- 7/31 . SHOW COLUMNS FROM `cart` [0.002555s/0.045025s=5.67%]
- 8/31 . SHOW COLUMNS FROM `visit_user` [0.002530s/0.045025s=5.62%]
- 9/31 . SHOW COLUMNS FROM `config` [0.002506s/0.045025s=5.57%]
- 10/31 . SELECT * FROM `visit_user` WHERE `visit_code` = '08f5783464efb4bdccc24e5cb673fd74' LIMIT 1 [0.002125s/0.045025s=4.72%]
- 11/31 . SHOW COLUMNS FROM `activity` [0.002059s/0.045025s=4.57%]
- 12/31 . SHOW COLUMNS FROM `app_center` [0.001834s/0.045025s=4.07%]
- 13/31 . 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` = 'u7h3n651m7hid2ip62mk27nshg' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [0.001063s/0.045025s=2.36%]
- 14/31 . CONNECT:[ UseTime:0.000874s ] mysql:host=172.31.96.182;port=3306;dbname=shoppaas_1692268519851;charset=utf8mb4 [0.000874s/0.045025s=1.94%]
- 15/31 . UPDATE `cart` SET `deletetime`=1742412194 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'u7h3n651m7hid2ip62mk27nshg' AND `createtime` > 1742152994 ) AND `cart`.`deletetime` IS NULL [0.000868s/0.045025s=1.93%]
- 16/31 . 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.000738s/0.045025s=1.64%]
- 17/31 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.000712s/0.045025s=1.58%]
- 18/31 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000688s/0.045025s=1.53%]
- 19/31 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.000687s/0.045025s=1.53%]
- 20/31 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000675s/0.045025s=1.50%]
- 21/31 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000630s/0.045025s=1.40%]
- 22/31 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000618s/0.045025s=1.37%]
- 23/31 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000599s/0.045025s=1.33%]
- 24/31 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000593s/0.045025s=1.32%]
- 25/31 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000581s/0.045025s=1.29%]
- 26/31 . SELECT @@session.sql_mode [0.000536s/0.045025s=1.19%]
- 27/31 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000513s/0.045025s=1.14%]
- 28/31 . 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.000495s/0.045025s=1.10%]
- 29/31 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000488s/0.045025s=1.08%]
- 30/31 . set time_zone = '+08:00' [0.000450s/0.045025s=1.00%]
- 31/31 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000444s/0.045025s=0.99%]
- 1/3. SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [3 times, 0.001662s/0.045025s=3.69%]
- 2/3. 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.001233s/0.045025s=2.74%]
- 3/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001217s/0.045025s=2.70%]
- generateVisitCode:08f5783464efb4bdccc24e5cb673fd74
- 发布普通任务:shoppaas_1692268519851:-addons-job-job-VisitUser@requestJob:82284