Page Time: 0.3865s

Memory: 4.5449 MB (Peak: 4.7866 MB)

Queries (8, time: 0.3706s, 95.9%)

  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.001139
    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.000198
    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.000144
    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 (1,2,4,5,6,7,8,10)) as positive_rating_count
    
    		, ((select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,2,4,5,6,7,8,10)) + user.like_count) as positive_rating_count_incl_likes
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (14,11,12,13)) as negative_rating_count
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (3,9)) as neutral_rating_count
    
    ,(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: 42502
    Run Time: 0.000614
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4const1 
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 2Using index condition
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 4Using index condition
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 8Using index condition
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 8Using index condition
  5. SELECT search_index.content_type, search_index.content_id
    FROM xf_search_index AS search_index
    
    WHERE MATCH(search_index.title, search_index.metadata) AGAINST (? IN BOOLEAN MODE)
    	
    
    ORDER BY search_index.item_date desc
    LIMIT 200
    Params: +(_md_user_42502) +_md_content_thread
    Run Time: 0.366515
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsearch_indexfulltexttitle_metadatatitle_metadata0 1Using where; Using filesort
  6. 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 (37468)
    Run Time: 0.001583
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYthreadconstPRIMARYPRIMARY4const1 
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYnodeconstPRIMARYPRIMARY4const1 
    PRIMARYpostconstPRIMARYPRIMARY4const1 
    PRIMARYpermissionconstPRIMARYPRIMARY35const,const,const1 
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
  7. INSERT INTO `xf_search` (`search_results`, `result_count`, `search_type`, `search_query`, `search_constraints`, `search_order`, `search_grouping`, `user_results`, `warnings`, `user_id`, `search_date`, `query_hash`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    Params: [["thread",37468]], 1, user, , {"user_id":42502,"content":"thread"}, date, 0, , [], 0, 1524241560, 996be970b0ba15f77d7ebbe088b74f1f
    Run Time: 0.000210
  8. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 4a3b1d1390c0472b04a054dbe0e2fe9f, , 1524245160
    Run Time: 0.000173

Included Files (101, 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/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/Search.php
  48. library/XenForo/RouteMatch.php
  49. library/XenForo/ControllerPublic/Search.php
  50. library/XenForo/ControllerPublic/Abstract.php
  51. library/XenForo/Controller.php
  52. library/Waindigo/CustomFields/Listener/LoadClass.php
  53. library/Waindigo/Listener/LoadClass.php
  54. library/Waindigo/Listener/LoadClass/20140604.php
  55. library/Dark/PostRating/EventListener.php
  56. library/Waindigo/CustomFields/Extend/XenForo/ControllerPublic/Search.php
  57. library/XenForo/Input.php
  58. library/XenForo/Session.php
  59. library/XenForo/Helper/Ip.php
  60. library/XenForo/Visitor.php
  61. library/XenForo/Model/User.php
  62. library/Dark/PostRating/Model/User.php
  63. library/WidgetFramework/XenForo/Model/User.php
  64. library/XenResource/Listener/Proxy/ModelUser.php
  65. library/XenForo/Permission.php
  66. library/XenForo/Phrase.php
  67. library/XenForo/Locale.php
  68. library/Waindigo/Listener/Template/20140612.php
  69. library/Waindigo/Listener/TemplateHook/20130522.php
  70. library/Waindigo/Listener/TemplatePostRender/20130522.php
  71. library/Waindigo/Listener/TemplateCreate/20130522.php
  72. library/Dark/PostRating/Model.php
  73. library/XenForo/Model/Search.php
  74. library/Waindigo/IgnoreNewPosts/Listener/LoadClass.php
  75. library/Waindigo/CustomFields/Extend/XenForo/Model/Search.php
  76. library/Waindigo/IgnoreNewPosts/Extend/XenForo/Model/Search.php
  77. library/XenForo/Search/Searcher.php
  78. library/XenForo/Search/SourceHandler/Abstract.php
  79. library/XenForo/Search/SourceHandler/MySqlFt.php
  80. library/XenForo/Search/DataHandler/Thread.php
  81. library/XenForo/Search/DataHandler/Abstract.php
  82. library/XenForo/Model/Thread.php
  83. library/bdImage/XenForo/Model/Thread.php
  84. library/Waindigo/CustomFields/Extend/XenForo/Model/Thread.php
  85. library/Waindigo/IgnoreNewPosts/Extend/XenForo/Model/Thread.php
  86. library/Dark/PostRating/Model/Thread.php
  87. library/WidgetFramework/XenForo/Model/Thread.php
  88. library/XenForo/Model/Forum.php
  89. library/XenForo/ControllerResponse/Redirect.php
  90. library/XenForo/ControllerResponse/Abstract.php
  91. library/XenForo/Helper/Cookie.php
  92. library/XenForo/ViewRenderer/HtmlPublic.php
  93. library/XenForo/ViewRenderer/Abstract.php
  94. library/XenForo/Template/Public.php
  95. library/XenForo/Template/Abstract.php
  96. library/WidgetFramework/Core.php
  97. library/XenForo/Model/Moderator.php
  98. library/XenResource/Listener/Proxy/ModelModerator.php
  99. library/WidgetFramework/Model/Widget.php
  100. library/WidgetFramework/Helper/Sort.php
  101. library/XenForo/Debug.php