Page Time: 0.1149s

Memory: 10.5589 MB (Peak: 11.9382 MB)

Queries (12, time: 0.0051s, 4.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.000679
    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.000138
    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.000209
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  4. SELECT user.*
    	
    	,(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
    
    WHERE user.user_id = ?
    Params: 2363
    Run Time: 0.000448
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4const5 
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 6Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 6Using index condition
  5. SELECT resource_category.*
    	,
    	permission.cache_value AS category_permission_cache
    FROM xf_resource_category AS resource_category
    
    	LEFT JOIN xf_permission_cache_content AS permission
    		ON (permission.permission_combination_id = 1
    			AND permission.content_type = 'resource_category'
    			AND permission.content_id = resource_category.resource_category_id)
    ORDER BY resource_category.lft
    Run Time: 0.000772
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEresource_categoryALL    50Using filesort
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,tf2maps_site.resource_category.resource_category_id1Using where
  6. SELECT COUNT(*) AS total_resources, SUM(resource.rating_sum) AS rating_sum,
    	SUM(resource.rating_count) AS rating_count,
    	MAX(resource.last_update) AS last_update
    FROM xf_resource AS resource
    
    WHERE (resource.user_id = 2363) AND (resource.resource_category_id IN (2, 6, 4, 14, 15, 47, 5, 16, 17, 8, 52, 9, 18, 3, 7, 46, 10, 11, 12, 20, 21, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 50, 43, 44, 51, 53, 22, 25, 27, 23, 24, 26, 28, 19, 49, 54)) AND (resource.resource_state IN ('visible'))
    Run Time: 0.000438
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEresourcerefcategory_last_update,category_rating_weighted,user_id_last_updateuser_id_last_update4const25Using where
  7. SELECT resource.*
    	,
    	category.*, category.last_update AS category_last_update, resource.last_update,
    	version.version_string,
    	version.release_date,
    	version.download_url,
    	version.rating_count AS version_rating_count,
    	version.rating_sum AS version_rating_sum,
    	version.download_count AS version_download_count,
    	user.*, user_profile.*, IF(user.username IS NULL, resource.username, user.username) AS username,
    permission.cache_value AS category_permission_cache
    FROM xf_resource AS resource
    
    	LEFT JOIN xf_resource_category AS category ON
    		(category.resource_category_id = resource.resource_category_id)
    	LEFT JOIN xf_resource_version AS version ON
    		(version.resource_version_id = resource.current_version_id)
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = resource.user_id)
    	LEFT JOIN xf_user_profile AS user_profile ON
    		(user_profile.user_id = resource.user_id)
    LEFT JOIN xf_permission_cache_content AS permission
    	ON (permission.permission_combination_id = 1
    		AND permission.content_type = 'resource_category'
    		AND permission.content_id = resource.resource_category_id)
    WHERE (resource.user_id = 2363) AND (resource.resource_category_id IN (2, 6, 4, 14, 15, 47, 5, 16, 17, 8, 52, 9, 18, 3, 7, 46, 10, 11, 12, 20, 21, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 50, 43, 44, 51, 53, 22, 25, 27, 23, 24, 26, 28, 19, 49, 54)) AND (resource.resource_state IN ('visible'))
    ORDER BY resource.last_update DESC
     LIMIT 20
    Run Time: 0.001336
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEresourcerefcategory_last_update,category_rating_weighted,user_id_last_updateuser_id_last_update4const25Using where
    SIMPLEcategoryeq_refPRIMARYPRIMARY4tf2maps_site.resource.resource_category_id1Using where
    SIMPLEversioneq_refPRIMARYPRIMARY4tf2maps_site.resource.current_version_id1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_profileconstPRIMARYPRIMARY4const1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,tf2maps_site.resource.resource_category_id1Using where
  8. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 58da7a09a6c1592582355ddaede39d9f, , 1508386730
    Run Time: 0.000139
  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, , , XenResource_ControllerPublic_Author, View, valid, user_id=2363, 1508383130,
    Run Time: 0.000077
  10. SELECT COUNT(*) AS total
    	FROM EWRrio_streams
    	LEFT JOIN EWRrio_games ON (EWRrio_games.game_id = EWRrio_streams.game_id)
    Run Time: 0.000100
    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', 'resource_author_view', '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.000554
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 22Using 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.000175
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (125, XenForo Classes: 46)

  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/RouteMatch.php
  53. library/XenResource/Route/Prefix/Resources.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/XenResource/ControllerPublic/Author.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/XenForo/Input.php
  65. library/XenForo/Session.php
  66. library/XenForo/Helper/Ip.php
  67. library/XenForo/Visitor.php
  68. library/XenForo/Model/User.php
  69. library/Dark/PostRating/Model/User.php
  70. library/EWRporta2/Model/User.php
  71. library/XenResource/Listener/Proxy/ModelUser.php
  72. library/XenForo/Permission.php
  73. library/XenForo/Helper/Php.php
  74. library/XenForo/Phrase.php
  75. library/XenForo/Locale.php
  76. library/XenResource/Model/Resource.php
  77. library/Waindigo/ResourceIcons/Listener/LoadClass.php
  78. library/Waindigo/Listener/LoadClass.php
  79. library/Waindigo/Listener/LoadClass/20150106.php
  80. library/Waindigo/ResourceIcons/Extend/XenResource/Model/Resource.php
  81. library/RmThreadReassign/Model/Resource.php
  82. library/bdPaygate/XenResource/Model/Resource.php
  83. library/XenForo/ControllerResponse/Reroute.php
  84. library/XenForo/ControllerResponse/Abstract.php
  85. library/Dark/PostRating/Model.php
  86. library/XenResource/Model/Category.php
  87. library/XFA/ExtendedCover/Extends/XenResource/Proxy.php
  88. library/bdPaygate/XenResource/Model/Category.php
  89. library/XFA/ExtendedCover/Extends/XenResource/Model/Category.php
  90. library/XenForo/Helper/String.php
  91. library/bdPaygate/Helper/Resource.php
  92. library/XenResource/Model/Update.php
  93. library/XenResource/Model/Version.php
  94. library/XenForo/ControllerResponse/View.php
  95. library/XenForo/Helper/Cookie.php
  96. library/XenForo/ViewRenderer/HtmlPublic.php
  97. library/XenForo/ViewRenderer/Abstract.php
  98. library/XenForo/Template/Public.php
  99. library/XenForo/Template/Abstract.php
  100. library/Dark/ParseHTML/EventListener.php
  101. library/EWRporta2/Listener/ViewPublic.php
  102. library/XenForo/ViewPublic/Base.php
  103. library/XenForo/View.php
  104. library/XenResource/Listener/Template.php
  105. library/XenForo/Route/Prefix/Members.php
  106. library/bdMedal/Option.php
  107. library/EWRporta2/Listener/NavTabs.php
  108. library/EWRporta2/Model/Perms.php
  109. library/EWRrio/Listener/NavTabs.php
  110. library/EWRrio/Model/Perms.php
  111. library/EWRrio/Model/Streams.php
  112. library/NodesAsTabs/NavTabs.php
  113. library/XenForo/Model/Node.php
  114. library/XFA/ExtendedCover/Extends/XenForo/Proxy.php
  115. library/XFA/ExtendedCover/Extends/XenForo/Model/Node.php
  116. library/XenForo/Route/Prefix/LinkForums.php
  117. library/XenResource/ViewPublic/Helper/Resource.php
  118. library/XenForo/Model/Avatar.php
  119. library/LiamW/AllRich/Template/Helper/Core.php
  120. library/Dark/Minorin/EventListener/TemplateHook.php
  121. library/EWRporta2/Listener/Template.php
  122. library/XFA/ExtendedCover/Template.php
  123. library/XenForo/Helper/Criteria.php
  124. library/XenForo/Debug.php
  125. library/XenForo/ViewRenderer/Json.php