Page Time: 0.0747s

Memory: 5.3933 MB (Peak: 6.6169 MB)

Queries (10, time: 0.0117s, 15.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.001213
    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.000264
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT *
    FROM xf_tag
    WHERE tag_url = ?
    Params: sunfish
    Run Time: 0.000334
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_tagconsttag_urltag_url302const1 
  4. SELECT *
    FROM xf_tag_result_cache
    WHERE tag_id = ?
    	AND user_id = ?
    	AND expiry_date > ?
    Params: 54, 0, 1511494461
    Run Time: 0.000251
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_tag_result_cacheconsttag_id_user_id,expiration_datetag_id_user_id8const,const1 
  5. SELECT tag_content_id, content_type, content_id
    FROM xf_tag_content
    WHERE tag_id = ?
    	AND visible = 1
    ORDER BY content_date DESC
     LIMIT 200
    Params: 54
    Run Time: 0.000504
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_tag_contentreftag_id_content_datetag_id_content_date4const67Using where
  6. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: dark_postrating_ratings
    Run Time: 0.000238
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  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, (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 1) as dark_postrating_1_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 14) as dark_postrating_14_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 2) as dark_postrating_2_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 3) as dark_postrating_3_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 4) as dark_postrating_4_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 5) as dark_postrating_5_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 6) as dark_postrating_6_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 7) as dark_postrating_7_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 8) as dark_postrating_8_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 9) as dark_postrating_9_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 10) as dark_postrating_10_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 11) as dark_postrating_11_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 12) as dark_postrating_12_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 13) as dark_postrating_13_count, 1 as dark_postrating_has_fetched_max
    
    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)
    WHERE thread.thread_id IN (37234, 37147, 37091, 37054, 36883, 36871, 36815, 36786, 36728, 36695, 36664, 36662, 36609, 36607, 36600, 36571, 36569, 36519, 36240, 36211, 36194, 36150, 36094, 36091, 36060, 35979, 35958, 35936, 35806, 35637, 35235, 35133, 35068, 35012, 34999, 34949, 34917, 34893, 34832, 34712, 34667, 34540, 34482, 34479, 34402, 34394, 34389, 34250, 34224, 34092, 33844)
    Run Time: 0.005755
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYthreadrangePRIMARYPRIMARY4 51Using index condition
    PRIMARYusereq_refPRIMARYPRIMARY4SFN_xenforo.thread.user_id1 
    PRIMARYnodeeq_refPRIMARYPRIMARY4SFN_xenforo.thread.node_id1 
    PRIMARYposteq_refPRIMARYPRIMARY4SFN_xenforo.thread.first_post_id1 
    PRIMARYpermissioneq_refPRIMARYPRIMARY35const,const,SFN_xenforo.thread.node_id1Using where
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8SFN_xenforo.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8SFN_xenforo.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8SFN_xenforo.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8SFN_xenforo.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8SFN_xenforo.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8SFN_xenforo.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8SFN_xenforo.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8SFN_xenforo.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8SFN_xenforo.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8SFN_xenforo.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8SFN_xenforo.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8SFN_xenforo.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8SFN_xenforo.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8SFN_xenforo.thread.first_post_id,const1Using index
  8. INSERT INTO xf_tag_result_cache
    	(tag_id, user_id, cache_date, expiry_date, results)
    VALUES
    	(?, ?, ?, ?, ?)
    ON DUPLICATE KEY UPDATE
    	cache_date = VALUES(cache_date),
    	expiry_date = VALUES(expiry_date),
    	results = VALUES(results)
    Params: 54, 0, 1511494461, 1511498061, [["thread",37234],["thread",37147],["thread",37091],["thread",37054],["thread",36883],["thread",36871],["thread",36815],["thread",36786],["thread",36728],["thread",36695],["thread",36664],["thread",36662],["thread",36609],["thread",36607],["thread",36600],["thread",36571],["thread",36569],["thread",36519],["thread",36240],["thread",36211],["thread",36194],["thread",36150],["thread",36094],["thread",36091],["thread",36060],["thread",35979],["thread",35958],["thread",35936],["thread",35806],["thread",35637],["thread",35235],["thread",35133],["thread",35068],["thread",35012],["thread",34999],["thread",34949],["thread",34917],["thread",34893],["thread",34832],["thread",34712],["thread",34667],["thread",34540],["thread",34482],["thread",34479],["thread",34402],["thread",34394],["thread",34389],["thread",34250],["thread",34224],["thread",34092],["thread",33844]]
    Run Time: 0.002796
  9. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 79802c32f0180b7422f0c7a80456bac3, , 1511498061
    Run Time: 0.000223
  10. 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_Tag, Tag, valid, tag_url=sunfish, 1511494461,
    Run Time: 0.000141

Included Files (137, XenForo Classes: 61)

  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/Waindigo/Listener/InitDependencies.php
  33. library/Waindigo/Listener/InitDependencies/20140612.php
  34. library/Waindigo/Listener/ControllerPreDispatch/20140603.php
  35. library/WidgetFramework/Listener.php
  36. library/WidgetFramework/Option.php
  37. library/XenResource/Listener/Proxy.php
  38. library/NodesAsTabs/Listen.php
  39. library/bdImage/Listener.php
  40. library/Siropu/AdsManager/Listener.php
  41. library/XenForo/Router.php
  42. library/XenForo/Route/Filter.php
  43. library/XenForo/Route/Interface.php
  44. library/XenForo/Route/ResponseSuffix.php
  45. library/XenForo/Route/Prefix.php
  46. library/WidgetFramework/Route/Filter/PageX.php
  47. library/XenForo/Route/Prefix/Tags.php
  48. library/XenForo/RouteMatch.php
  49. library/XenForo/ControllerPublic/Tag.php
  50. library/XenForo/ControllerPublic/Abstract.php
  51. library/XenForo/Controller.php
  52. library/Dark/PostRating/EventListener.php
  53. library/XenForo/Input.php
  54. library/XenForo/Session.php
  55. library/XenForo/Helper/Ip.php
  56. library/XenForo/Visitor.php
  57. library/XenForo/Model/User.php
  58. library/Dark/PostRating/Model/User.php
  59. library/WidgetFramework/XenForo/Model/User.php
  60. library/XenResource/Listener/Proxy/ModelUser.php
  61. library/XenForo/Permission.php
  62. library/XenForo/Phrase.php
  63. library/XenForo/Locale.php
  64. library/Waindigo/Listener/Template/20140612.php
  65. library/Waindigo/Listener/TemplateHook/20130522.php
  66. library/Waindigo/Listener/TemplatePostRender/20130522.php
  67. library/Waindigo/Listener/TemplateCreate/20130522.php
  68. library/XenForo/ControllerResponse/Reroute.php
  69. library/XenForo/ControllerResponse/Abstract.php
  70. library/XenForo/Model/Tag.php
  71. library/XenForo/TagHandler/Thread.php
  72. library/XenForo/TagHandler/Abstract.php
  73. library/XenForo/Model/Thread.php
  74. library/Waindigo/CustomFields/Listener/LoadClass.php
  75. library/Waindigo/Listener/LoadClass.php
  76. library/Waindigo/Listener/LoadClass/20140604.php
  77. library/Waindigo/IgnoreNewPosts/Listener/LoadClass.php
  78. library/bdImage/XenForo/Model/Thread.php
  79. library/Waindigo/CustomFields/Extend/XenForo/Model/Thread.php
  80. library/Waindigo/IgnoreNewPosts/Extend/XenForo/Model/Thread.php
  81. library/Dark/PostRating/Model/Thread.php
  82. library/WidgetFramework/XenForo/Model/Thread.php
  83. library/Dark/PostRating/Model.php
  84. library/XenForo/Model/Forum.php
  85. library/XenForo/Helper/String.php
  86. library/XenForo/Helper/Discussion.php
  87. library/XenForo/ControllerResponse/View.php
  88. library/XenForo/Helper/Cookie.php
  89. library/XenForo/ViewRenderer/HtmlPublic.php
  90. library/XenForo/ViewRenderer/Abstract.php
  91. library/XenForo/Template/Public.php
  92. library/XenForo/Template/Abstract.php
  93. library/WidgetFramework/Core.php
  94. library/XenForo/Model/Moderator.php
  95. library/XenResource/Listener/Proxy/ModelModerator.php
  96. library/WidgetFramework/Model/Widget.php
  97. library/WidgetFramework/Helper/Sort.php
  98. library/WidgetFramework/WidgetRenderer.php
  99. library/XenForo/ViewPublic/Tag/View.php
  100. library/XenForo/ViewPublic/Base.php
  101. library/XenForo/View.php
  102. library/WidgetFramework/XenForo/View1.php
  103. library/Waindigo/CustomFields/Listener/TemplateCreate.php
  104. library/XenResource/Listener/Template.php
  105. library/XenForo/Route/Prefix/Members.php
  106. library/Siropu/AdsManager/Helper/General.php
  107. library/NodesAsTabs/NavTabs.php
  108. library/NodesAsTabs/Model/Options.php
  109. library/XenForo/Model/Node.php
  110. library/XenForo/Template/FileHandler.php
  111. library/XenForo/Helper/File.php
  112. internal_data/templates/S.4,L.1,nat_childlinks.php
  113. library/XenForo/Route/Prefix/Categories.php
  114. library/XenForo/Route/Prefix/Forums.php
  115. library/Waindigo/CustomFields/Listener/TemplatePostRender.php
  116. library/XenForo/Route/Prefix/Pages.php
  117. library/XenForo/Route/Prefix/LinkForums.php
  118. library/WidgetFramework/Route/Prefix/WidgetPages.php
  119. library/WidgetFramework/Template/Extended.php
  120. internal_data/templates/S.4,L.1,tag_view.php
  121. internal_data/templates/S.4,L.1,page_nav.php
  122. internal_data/templates/S.4,L.1,search_result_thread.php
  123. library/bdImage/Option.php
  124. library/XenForo/Model/Avatar.php
  125. library/XenForo/Route/Prefix/Threads.php
  126. library/Waindigo/CustomFields/Listener/TemplateHook.php
  127. library/Siropu/AdsManager/Model/Ads.php
  128. library/WidgetFramework/WidgetRenderer/Empty.php
  129. library/XenForo/Debug.php
  130. internal_data/templates/S.4,L.1,PAGE_CONTAINER.php
  131. library/XenForo/Helper/Criteria.php
  132. internal_data/templates/S.4,L.1,siropu_ads_manager_ad_type_banner.php
  133. internal_data/templates/S.4,L.1,siropu_ads_manager_ad_type_code.php
  134. internal_data/templates/S.4,L.1,resources_tab_links.php
  135. internal_data/templates/S.4,L.1,nat_linkstemplate.php
  136. library/XenForo/ViewRenderer/Json.php
  137. internal_data/templates/S.4,L.1,nat_bodyjs.php