Page Time: 0.0220s

Memory: 2.2474 MB (Peak: 2.8896 MB)

Queries (12, time: 0.0036s, 16.4%)

  1. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'deferredRun', 'simpleCache', 'addOns', 'defaultStyleProperties', 'routeFiltersIn', 'routeFiltersOut', 'routesPublic', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'userBanners', 'smilies', 'bbCode', 'threadPrefixes', 'userTitleLadder', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
    Run Time: 0.000438
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryALLPRIMARY   35Using where
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000162
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT profile_post.*
    	,
    	posting_user.*,
    	IF(posting_user.username IS NULL, profile_post.username, posting_user.username) AS username,
    	receiving_user.username
    		AS profile_username,
    	receiving_user.gender
    		AS profile_gender,
    	receiving_user.user_state
    		AS profile_user_state,
    	receiving_user.user_group_id
    		AS profile_user_group_id,
    	receiving_user.secondary_group_ids
    		AS profile_secondary_group_ids,
    	receiving_user.display_style_group_id
    		AS profile_display_style_group_id,
    	receiving_user.is_banned
    		AS profile_is_banned,
    	receiving_user.is_admin
    		AS profile_is_admin,
    	receiving_user.is_moderator
    		AS profile_is_moderator,
    	receiving_user.avatar_date
    		AS profile_avatar_date,
    	receiving_user.gravatar
    		AS profile_gravatar,
    	receiving_user.warning_points
    		AS profile_warning_points,
    	receiving_user.permission_combination_id
    		AS profile_permission_combination_id,
    	receiving_user_privacy.allow_view_profile
    		AS profile_allow_view_profile,
    	receiving_user_privacy.allow_post_profile
    		AS profile_allow_post_profile,
    	receiving_user_privacy.allow_send_personal_conversation
    		AS profile_allow_send_personal_conversation,
    	receiving_user_privacy.allow_view_identities
    		AS profile_allow_view_identities,
    	receiving_user_privacy.allow_receive_news_feed
    		AS profile_allow_allow_receive_news_feed,
    	IF (receiving_user_follow.follow_user_id, 1, 0)
    		AS following_0
    FROM xf_profile_post AS profile_post
    
    	LEFT JOIN xf_user AS posting_user ON
    		(posting_user.user_id = profile_post.user_id)
    	LEFT JOIN xf_user AS receiving_user ON
    		(receiving_user.user_id = profile_post.profile_user_id)
    	LEFT JOIN xf_user_privacy AS receiving_user_privacy ON
    		(receiving_user_privacy.user_id = profile_post.profile_user_id)
    	LEFT JOIN xf_user_follow AS receiving_user_follow ON
    		(receiving_user_follow.user_id = profile_post.profile_user_id AND follow_user_id = 0)
    WHERE (profile_post.message_state IN ('visible'))
    ORDER BY profile_post.post_date DESC
     LIMIT 10
    Run Time: 0.000574
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postALL    18Using where; Using filesort
    SIMPLEposting_usereq_refPRIMARYPRIMARY4xf.profile_post.user_id1 
    SIMPLEreceiving_usereq_refPRIMARYPRIMARY4xf.profile_post.profile_user_id1 
    SIMPLEreceiving_user_privacyeq_refPRIMARYPRIMARY4xf.profile_post.profile_user_id1 
    SIMPLEreceiving_user_followeq_refPRIMARY,follow_user_idPRIMARY8xf.profile_post.profile_user_id,const1Using index
  4. SELECT thread.*
    	,
    	last_post_user.gender AS last_post_gender,
    	last_post_user.avatar_date AS last_post_avatar_date,
    	last_post_user.gravatar AS last_post_gravatar,
    	IF(last_post_user.username IS NULL, thread.last_post_username, last_post_user.username) AS last_post_username,
    	node.title AS node_title, node.node_name,
    	forum.*,
    	forum.last_post_id AS forum_last_post_id,
    	forum.last_post_date AS forum_last_post_date,
    	forum.last_post_user_id AS forum_last_post_user_id,
    	forum.last_post_username AS forum_last_post_username,
    	forum.last_thread_title AS forum_last_thread_title,
    	thread.last_post_id,
    	thread.last_post_date,
    	thread.last_post_user_id,
    	thread.last_post_username,
    	NULL AS thread_read_date,
    permission.cache_value AS node_permission_cache
    FROM xf_thread AS thread FORCE INDEX (last_post_date)
    
    	LEFT JOIN xf_user AS last_post_user ON
    		(last_post_user.user_id = thread.last_post_user_id)
    	LEFT JOIN xf_node AS node ON
    		(node.node_id = thread.node_id)
    	LEFT JOIN xf_forum AS forum ON
    		(forum.node_id = thread.node_id)
    LEFT JOIN xf_permission_cache_content AS permission
    	ON (permission.permission_combination_id = 1
    		AND permission.content_type = 'node'
    		AND permission.content_id = thread.node_id)
    WHERE (thread.discussion_type <> 'redirect') AND (thread.discussion_state IN ('visible')) AND (thread.last_post_date > 1711460301) AND (forum.find_new = 1)
    ORDER BY thread.last_post_date DESC
     LIMIT 10
    Run Time: 0.000461
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangelast_post_datelast_post_date4 3Using index condition; Using where
    SIMPLEforumeq_refPRIMARYPRIMARY4xf.thread.node_id1Using where
    SIMPLElast_post_usereq_refPRIMARYPRIMARY4xf.thread.last_post_user_id1 
    SIMPLEnodeeq_refPRIMARYPRIMARY4xf.thread.node_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,xf.thread.node_id1Using where
  5. SELECT *
    FROM xf_node
    WHERE display_in_list = 1
    ORDER BY lft ASC
    Run Time: 0.000193
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALLdisplay_in_list   8Using where; Using filesort
  6. SELECT content_id, cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = 'node'
    Params: 1
    Run Time: 0.000168
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentrefPRIMARYPRIMARY31const,const8Using where
  7. SELECT forum.*
    	,
    		NULL AS forum_read_date
    FROM xf_forum AS forum
    INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
    
    WHERE forum.node_id IN (6, 8, 9, 5, 7, 10)
    Run Time: 0.000222
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumALLPRIMARY   6Using where
    SIMPLEnodeeq_refPRIMARYPRIMARY4xf.forum.node_id1Using index
  8. SELECT session_activity.*
    	,
    	user.*
    FROM xf_session_activity AS session_activity
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = session_activity.user_id)
    WHERE (session_activity.view_date > 1714051401)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.000644
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 39Using where
    SIMPLEusereq_refPRIMARYPRIMARY4xf.session_activity.user_id1 
  9. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: boardTotals
    Run Time: 0.000142
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  10. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: ac98eac8c44d02f39da5647bd7b691fd, , 1714055901
    Run Time: 0.000144
  11. INSERT INTO xf_session_activity
    	(user_id, unique_key, ip, controller_name, controller_action, view_state, params, view_date, robot_key)
    VALUES
    	(?, ?, ?, ?, ?, ?, ?, ?, ?)
    ON DUPLICATE KEY UPDATE
    	ip = VALUES(ip),
    	controller_name = VALUES(controller_name),
    	controller_action = VALUES(controller_action),
    	view_state = VALUES(view_state),
    	params = VALUES(params),
    	view_date = VALUES(view_date),
    	robot_key = VALUES(robot_key)
    Params: 0, , , XenForo_ControllerPublic_Forum, Index, valid, node_name=, 1714052301,
    Run Time: 0.000090
  12. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'xengallery_bb_code_tag_gallery', 'node_forum_level_2', 'node_category_level_1', 'forum_list', 'xengallery_tab_links', 'xengallery_comments_block', 'xengallery_media_block_items', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 1
    Run Time: 0.000385
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 9Using where

Included Files (84, XenForo Classes: 62)

  1. index.php
  2. library/XenForo/Autoloader.php
  3. library/XenForo/Application.php
  4. library/Zend/Registry.php
  5. library/Lgpl/utf8.php
  6. library/Zend/Config.php
  7. library/config.php
  8. library/XenForo/FrontController.php
  9. library/XenForo/Dependencies/Public.php
  10. library/XenForo/Dependencies/Abstract.php
  11. library/Zend/Controller/Request/Http.php
  12. library/Zend/Controller/Request/Abstract.php
  13. library/Zend/Uri.php
  14. library/Zend/Controller/Response/Http.php
  15. library/Zend/Controller/Response/Abstract.php
  16. library/XenForo/Model/DataRegistry.php
  17. library/XenForo/Model.php
  18. library/Zend/Db.php
  19. library/Zend/Db/Adapter/Mysqli.php
  20. library/Zend/Db/Adapter/Abstract.php
  21. library/Zend/Db/Select.php
  22. library/Zend/Db/Expr.php
  23. library/Zend/Db/Profiler.php
  24. library/Zend/Db/Statement/Mysqli.php
  25. library/Zend/Db/Statement.php
  26. library/Zend/Db/Statement/Interface.php
  27. library/Zend/Db/Profiler/Query.php
  28. library/XenForo/CodeEvent.php
  29. library/XenForo/Options.php
  30. library/XenForo/Link.php
  31. library/XenForo/Template/Helper/Core.php
  32. library/XenGallery/Listener.php
  33. library/XenForo/Router.php
  34. library/XenForo/Route/Filter.php
  35. library/XenForo/Route/Interface.php
  36. library/XenForo/Route/ResponseSuffix.php
  37. library/XenForo/Route/Prefix.php
  38. library/XenForo/Route/Prefix/Index.php
  39. library/XenForo/RouteMatch.php
  40. library/XenForo/ControllerPublic/Index.php
  41. library/XenForo/ControllerPublic/Abstract.php
  42. library/XenForo/Controller.php
  43. library/XenForo/Input.php
  44. library/XenForo/Session.php
  45. library/XenForo/Helper/Ip.php
  46. library/XenForo/Visitor.php
  47. library/XenForo/Model/User.php
  48. library/XenGallery/Model/User.php
  49. library/XenForo/Permission.php
  50. library/XenForo/Helper/Php.php
  51. library/XenForo/Phrase.php
  52. library/XenForo/Locale.php
  53. library/XenForo/ControllerResponse/ReroutePath.php
  54. library/XenForo/ControllerResponse/Abstract.php
  55. library/XenForo/Route/Prefix/Forums.php
  56. library/XenForo/ControllerPublic/Forum.php
  57. library/XenForo/Model/ProfilePost.php
  58. library/XenForo/Model/UserProfile.php
  59. library/XenForo/Model/Thread.php
  60. library/XenForo/Model/Forum.php
  61. library/XenForo/Helper/String.php
  62. library/XenForo/Model/Node.php
  63. library/XenForo/NodeHandler/Category.php
  64. library/XenForo/NodeHandler/Abstract.php
  65. library/XenForo/NodeHandler/Forum.php
  66. library/XenForo/Model/Category.php
  67. library/XenForo/Model/Session.php
  68. library/XenForo/ControllerResponse/View.php
  69. library/XenForo/Helper/Cookie.php
  70. library/XenForo/ViewRenderer/HtmlPublic.php
  71. library/XenForo/ViewRenderer/Abstract.php
  72. library/XenForo/Template/Public.php
  73. library/XenForo/Template/Abstract.php
  74. library/XenForo/ViewPublic/Forum/List.php
  75. library/XenForo/ViewPublic/Base.php
  76. library/XenForo/View.php
  77. library/XenForo/ViewPublic/Helper/Node.php
  78. library/XenForo/Route/Prefix/Members.php
  79. library/XenForo/Route/Prefix/Categories.php
  80. library/XenForo/Route/Prefix/Posts.php
  81. library/XenForo/Model/Avatar.php
  82. library/XenForo/Route/Prefix/ProfilePosts.php
  83. library/XenForo/Debug.php
  84. library/XenForo/ViewRenderer/Json.php