Page Time: 0.1727s

Memory: 11.3842 MB (Peak: 12.9483 MB)

Queries (12, time: 0.1031s, 59.7%)

  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.000522
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using index condition
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000236
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: dark_postrating_ratings
    Run Time: 0.000182
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  4. SELECT user.*
    	,
    		user_profile.*,
    		user_option.*,
    		user_privacy.*,
    		0 AS following_0
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (5,1,2,4,8,10)) as positive_rating_count
    
    		, (user.like_count + coalesce((select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (5,1,2,4,8,10)), 0)) as positive_rating_count_incl_likes
    
    ,(select sum(count_received) from dark_postrating_count where user_id = user.user_id) as total_rating_count
    
    FROM xf_user AS user
    
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = user.user_id)
    		LEFT JOIN xf_user_option AS user_option ON
    			(user_option.user_id = user.user_id)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = user.user_id)
    WHERE user.user_id = ?
    Params: 22743
    Run Time: 0.000711
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_optionconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4const4 
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 6Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 6Using index condition
  5. SELECT search_index.content_type, search_index.content_id
    FROM xf_search_index AS search_index
    WHERE search_index.user_id = ?
    	
    ORDER BY search_index.item_date DESC
     LIMIT 15
    Params: 22743
    Run Time: 0.099135
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsearch_indexrefuser_id_item_dateuser_id_item_date4const521Using where
  6. SELECT
    	post.*
    	,
    		thread.*, thread.user_id AS thread_user_id, thread.username AS thread_username,
    		thread.post_date AS thread_post_date,
    		post.user_id, post.username, post.post_date,
    		node.title AS node_title, node.node_name,
    		user.*, IF(user.username IS NULL, post.username, user.username) AS username,
    	permission.cache_value AS node_permission_cache
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (5,1,2,4,8,10)) as positive_rating_count
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    		INNER JOIN xf_thread AS thread ON
    			(thread.thread_id = post.thread_id)
    		INNER JOIN xf_node AS node ON
    			(node.node_id = thread.node_id)
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = post.user_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)
    left join dark_postrating_post_cache pr_cache ON (post.post_id = pr_cache.post_id)
    left join dark_postrating pr2 on (post.post_id = pr2.post_id and pr2.user_id = 0)
    WHERE post.post_id IN (430034, 429995, 429967, 429957, 429950, 429752, 429353, 429280, 428853, 428809, 428544, 428542, 428540)
    Run Time: 0.000798
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostrangePRIMARY,thread_id_post_date,thread_id_positionPRIMARY4 13Using index condition
    PRIMARYusereq_refPRIMARYPRIMARY4tf2maps_site.post.user_id1 
    PRIMARYthreadeq_refPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4tf2maps_site.post.thread_id1 
    PRIMARYnodeeq_refPRIMARYPRIMARY4tf2maps_site.thread.node_id1 
    PRIMARYpermissioneq_refPRIMARYPRIMARY35const,const,tf2maps_site.thread.node_id1Using where
    PRIMARYpr_cacheeq_refPRIMARYPRIMARY4tf2maps_site.post.post_id1 
    PRIMARYpr2eq_refpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8tf2maps_site.post.post_id,const1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4tf2maps_site.post.user_id2Using index condition
  7. SELECT thread.*
    	,
    		user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
    		node.title AS node_title, node.node_name,
    		post.message, post.attach_count,
    		NULL AS thread_read_date,
    		0 AS user_post_count,
    	permission.cache_value AS node_permission_cache,
    		pr_cache.rating_cache
    FROM xf_thread AS thread
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = thread.user_id)
    		LEFT JOIN xf_node AS node ON
    			(node.node_id = thread.node_id)
    		LEFT JOIN xf_post AS post ON
    			(post.post_id = thread.first_post_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)
    		left join dark_postrating_post_cache pr_cache ON (thread.first_post_id = pr_cache.post_id)
    WHERE thread.thread_id IN (34691, 34666)
    Run Time: 0.000562
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 2Using index condition
    SIMPLEusereq_refPRIMARYPRIMARY4tf2maps_site.thread.user_id1 
    SIMPLEnodeeq_refPRIMARYPRIMARY4tf2maps_site.thread.node_id1 
    SIMPLEposteq_refPRIMARYPRIMARY4tf2maps_site.thread.first_post_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,tf2maps_site.thread.node_id1Using where
    SIMPLEpr_cacheeq_refPRIMARYPRIMARY4tf2maps_site.thread.first_post_id1 
  8. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: c652c403595b95bdd3147bfd1240dedf, , 1508662646
    Run Time: 0.000117
  9. 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_Member, RecentContent, valid, user_id=22743, 1508659046,
    Run Time: 0.000078
  10. SELECT COUNT(*) AS total
    	FROM EWRrio_streams
    	LEFT JOIN EWRrio_games ON (EWRrio_games.game_id = EWRrio_streams.game_id)
    Run Time: 0.000108
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLE       Impossible WHERE noticed after reading const tables
  11. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'search_result_post', 'search_result_thread', 'member_recent_content', 'EWRporta2_Navtabs', 'resources_tab_links', 'EWRrio_Navtabs', 'dark_postrating', 'dark_postrating_member', 'dark_postrating_member_totals', 'message_user_info_extra', 'user_criteria_content', 'thread_list_item_icon_key', 'dark_postrating_member_notable_tabs', 'dark_postrating_account_wrapper', 'dark_postrating_navigation_visitor_tab', 'dark_postrating_visitor_panel', 'dark_postrating_member_card', 'dark_postrating_member_info', 'dark_postrating_message_user_info', 'steam_helper_criteria_privs', 'steam_navtabs', 'steam_public_index', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 1
    Run Time: 0.000440
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 24Using index condition
  12. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('nat_bodyjs')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 1
    Run Time: 0.000184
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (136, XenForo Classes: 63)

  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/HtmlCustomTitles/Listener.php
  33. library/Waindigo/Listener/InitDependencies.php
  34. library/Waindigo/Listener/InitDependencies/20150106.php
  35. library/Waindigo/Listener/ControllerPreDispatch/20150209.php
  36. library/LiamW/AllRich/Addon.php
  37. library/bdMedal/Listener.php
  38. library/EWRporta2/Listener/Init.php
  39. library/NodesAsTabs/Listen.php
  40. library/AttachmentHelper/Listener.php
  41. library/XenResource/Listener/Proxy.php
  42. library/EWRrio/Listener/Init.php
  43. library/bdPaygate/Listener.php
  44. library/bdPaygate/ShippableHelper/Updater.php
  45. library/bdPaygate/Option.php
  46. library/Steam/Listener.php
  47. library/XenForo/Router.php
  48. library/XenForo/Route/Filter.php
  49. library/XenForo/Route/Interface.php
  50. library/XenForo/Route/ResponseSuffix.php
  51. library/XenForo/Route/Prefix.php
  52. library/XenForo/Route/Prefix/Members.php
  53. library/XenForo/RouteMatch.php
  54. library/NodesAsTabs/Model/Options.php
  55. library/RmThreadReassign/Listener.php
  56. library/Dark/PostRating/EventListener.php
  57. library/EWRporta2/Listener/Model.php
  58. library/XenForo/ControllerPublic/Member.php
  59. library/XenForo/ControllerPublic/Abstract.php
  60. library/XenForo/Controller.php
  61. library/Nobita/DiscussionsPerPage/Listener.php
  62. library/EWRporta2/Listener/Controller.php
  63. library/Siropu/UsernameChange/Listener.php
  64. library/XFA/ExtendedCover/Extends/XenForo/Proxy.php
  65. library/bdMedal/Extend/ControllerPublic/Member.php
  66. library/Dark/PostRating/ControllerPublic/Member.php
  67. library/XenResource/Listener/Proxy/ControllerMember.php
  68. library/XFA/ExtendedCover/Extends/XenForo/ControllerPublic/Member.php
  69. library/XenForo/Input.php
  70. library/XenForo/Session.php
  71. library/XenForo/Helper/Ip.php
  72. library/XenForo/Visitor.php
  73. library/XenForo/Model/User.php
  74. library/Dark/PostRating/Model/User.php
  75. library/EWRporta2/Model/User.php
  76. library/XenResource/Listener/Proxy/ModelUser.php
  77. library/XenForo/Permission.php
  78. library/XenForo/Helper/Php.php
  79. library/XenForo/Phrase.php
  80. library/XenForo/Locale.php
  81. library/XenForo/ControllerHelper/UserProfile.php
  82. library/XenForo/ControllerHelper/Abstract.php
  83. library/Dark/PostRating/Model.php
  84. library/XenForo/Model/UserProfile.php
  85. library/XenForo/Search/SourceHandler/Abstract.php
  86. library/XenForo/Search/SourceHandler/MySqlFt.php
  87. library/XenForo/Model/Search.php
  88. library/XenForo/Search/DataHandler/Post.php
  89. library/XenForo/Search/DataHandler/Abstract.php
  90. library/XenForo/Search/DataHandler/Thread.php
  91. library/XenForo/Model/Post.php
  92. library/Dark/PostRating/Model/Post.php
  93. library/EWRporta2/Model/Post.php
  94. library/XenForo/Model/Thread.php
  95. library/SV/ThreadReplyBanner/Listener.php
  96. library/SV/ThreadReplyBanner/XenForo/Model/Thread.php
  97. library/RmThreadReassign/Model/Thread.php
  98. library/Dark/PostRating/Model/Thread.php
  99. library/bdPaygate/XenForo/Model/Thread.php
  100. library/XenForo/Model/Forum.php
  101. library/XenForo/Helper/String.php
  102. library/XenForo/ControllerResponse/View.php
  103. library/XenForo/ControllerResponse/Abstract.php
  104. library/XenForo/Helper/Cookie.php
  105. library/XenForo/ViewRenderer/HtmlPublic.php
  106. library/XenForo/ViewRenderer/Abstract.php
  107. library/XenForo/Template/Public.php
  108. library/XenForo/Template/Abstract.php
  109. library/XenForo/ViewPublic/Member/RecentContent.php
  110. library/XenForo/ViewPublic/Base.php
  111. library/XenForo/View.php
  112. library/Dark/ParseHTML/EventListener.php
  113. library/EWRporta2/Listener/ViewPublic.php
  114. library/XenForo/ViewPublic/Helper/Search.php
  115. library/XenResource/Listener/Template.php
  116. library/bdMedal/Option.php
  117. library/EWRporta2/Listener/NavTabs.php
  118. library/EWRporta2/Model/Perms.php
  119. library/EWRrio/Listener/NavTabs.php
  120. library/EWRrio/Model/Perms.php
  121. library/EWRrio/Model/Streams.php
  122. library/NodesAsTabs/NavTabs.php
  123. library/XenForo/Model/Node.php
  124. library/XFA/ExtendedCover/Extends/XenForo/Model/Node.php
  125. library/XenForo/Route/Prefix/LinkForums.php
  126. library/XenForo/Model/Avatar.php
  127. library/XenForo/Route/Prefix/Posts.php
  128. library/LiamW/AllRich/Template/Helper/Core.php
  129. library/XenForo/Route/Prefix/Forums.php
  130. library/XenForo/Route/Prefix/Threads.php
  131. library/Dark/Minorin/EventListener/TemplateHook.php
  132. library/EWRporta2/Listener/Template.php
  133. library/XFA/ExtendedCover/Template.php
  134. library/XenForo/Helper/Criteria.php
  135. library/XenForo/Debug.php
  136. library/XenForo/ViewRenderer/Json.php