Page Time: 0.0384s

Memory: 4.5370 MB (Peak: 5.7179 MB)

Queries (7, time: 0.0041s, 10.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.001097
    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.000251
    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.000279
    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 (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
    
    		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: 37812
    Run Time: 0.001291
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_optionconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    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
    	user.*,
    	user_profile.*,
    	user_privacy.*,
    	news_feed.*
    FROM xf_news_feed AS news_feed 
    INNER JOIN xf_user AS user ON
    	(user.user_id = news_feed.user_id)
    INNER JOIN xf_user_profile AS user_profile ON
    	(user_profile.user_id = user.user_id)
    LEFT JOIN xf_user_follow AS user_follow ON
    	(user_follow.user_id = user.user_id
    	AND user_follow.follow_user_id = 0)
    INNER JOIN xf_user_privacy AS user_privacy ON
    	(user_privacy.user_id = user.user_id
    		
    			AND (user.user_id = 0
    				OR (
    					user_privacy.allow_receive_news_feed <> 'none'
    					AND IF(user_privacy.allow_receive_news_feed = 'members', 0, 1)
    					AND IF(user_privacy.allow_receive_news_feed = 'followed', user_follow.user_id IS NOT NULL, 1)
    				)
    			)
    		
    	)
    WHERE (news_feed.user_id = 37812)
    ORDER BY news_feed.event_date DESC
     LIMIT 15
    Run Time: 0.000706
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_profileconstPRIMARYPRIMARY4const1 
    SIMPLEuser_followconstPRIMARY,follow_user_idPRIMARY8const,const0unique row not found
    SIMPLEuser_privacyconstPRIMARYPRIMARY4const1 
    SIMPLEnews_feedrefuserId_eventDateuserId_eventDate4const1Using where
  6. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 414c8f0e3b42d2d107ce1b70047601ac, a:7:{s:12:"sessionStart";i:1508285718;s:2:"ip";s:4:"6QI";s:11:"sessionCsrf";s:16:"cIX42My-h2tzsfUZ";s:9:"userAgent";s:39:"CCBot/2.0 (http://commoncrawl.org/faq/)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;s:10:"isIpBanned";a:2:{s:6:"result";b:0;s:7:"version";i:1442197292;}}, 1508289318
    Run Time: 0.000288
  7. 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, 6QI, 6QI, XenForo_ControllerPublic_Member, RecentActivity, valid, user_id=37812, 1508285718,
    Run Time: 0.000192

Included Files (122, XenForo Classes: 55)

  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/Members.php
  48. library/XenForo/RouteMatch.php
  49. library/XenForo/ControllerPublic/Member.php
  50. library/XenForo/ControllerPublic/Abstract.php
  51. library/XenForo/Controller.php
  52. library/Dark/PostRating/EventListener.php
  53. library/Dark/PostRating/ControllerPublic/Member.php
  54. library/XenResource/Listener/Proxy/ControllerMember.php
  55. library/XenForo/Input.php
  56. library/XenForo/Session.php
  57. library/XenForo/Helper/Ip.php
  58. library/XenForo/Visitor.php
  59. library/XenForo/Model/User.php
  60. library/Dark/PostRating/Model/User.php
  61. library/WidgetFramework/XenForo/Model/User.php
  62. library/XenResource/Listener/Proxy/ModelUser.php
  63. library/XenForo/Permission.php
  64. library/XenForo/Phrase.php
  65. library/XenForo/Locale.php
  66. library/Waindigo/Listener/Template/20140612.php
  67. library/Waindigo/Listener/TemplateHook/20130522.php
  68. library/Waindigo/Listener/TemplatePostRender/20130522.php
  69. library/Waindigo/Listener/TemplateCreate/20130522.php
  70. library/XenForo/ControllerHelper/UserProfile.php
  71. library/XenForo/ControllerHelper/Abstract.php
  72. library/Dark/PostRating/Model.php
  73. library/XenForo/Model/UserProfile.php
  74. library/XenForo/Model/NewsFeed.php
  75. library/Dark/PostRating/Model/NewsFeed.php
  76. library/XenForo/ControllerResponse/View.php
  77. library/XenForo/ControllerResponse/Abstract.php
  78. library/XenForo/Helper/Cookie.php
  79. library/XenForo/ViewRenderer/HtmlPublic.php
  80. library/XenForo/ViewRenderer/Abstract.php
  81. library/XenForo/Template/Public.php
  82. library/XenForo/Template/Abstract.php
  83. library/WidgetFramework/Core.php
  84. library/XenForo/Model/Moderator.php
  85. library/XenResource/Listener/Proxy/ModelModerator.php
  86. library/WidgetFramework/Model/Widget.php
  87. library/WidgetFramework/Helper/Sort.php
  88. library/WidgetFramework/WidgetRenderer.php
  89. library/XenForo/ViewPublic/Member/RecentActivity.php
  90. library/XenForo/ViewPublic/Base.php
  91. library/XenForo/View.php
  92. library/WidgetFramework/XenForo/View1.php
  93. library/XenForo/ViewPublic/Helper/NewsFeed.php
  94. library/Waindigo/CustomFields/Listener/TemplateCreate.php
  95. library/XenResource/Listener/Template.php
  96. library/Siropu/AdsManager/Helper/General.php
  97. library/NodesAsTabs/NavTabs.php
  98. library/NodesAsTabs/Model/Options.php
  99. library/XenForo/Model/Node.php
  100. library/XenForo/Template/FileHandler.php
  101. library/XenForo/Helper/File.php
  102. internal_data/templates/S.4,L.1,nat_childlinks.php
  103. library/XenForo/Route/Prefix/Categories.php
  104. library/XenForo/Route/Prefix/Forums.php
  105. library/Waindigo/CustomFields/Listener/TemplatePostRender.php
  106. library/XenForo/Route/Prefix/Pages.php
  107. library/XenForo/Route/Prefix/LinkForums.php
  108. library/WidgetFramework/Route/Prefix/WidgetPages.php
  109. library/WidgetFramework/Template/Extended.php
  110. internal_data/templates/S.4,L.1,member_recent_activity.php
  111. library/WidgetFramework/WidgetRenderer/Empty.php
  112. library/XenForo/Debug.php
  113. internal_data/templates/S.4,L.1,PAGE_CONTAINER.php
  114. library/Waindigo/CustomFields/Listener/TemplateHook.php
  115. library/Siropu/AdsManager/Model/Ads.php
  116. library/XenForo/Helper/Criteria.php
  117. internal_data/templates/S.4,L.1,siropu_ads_manager_ad_type_banner.php
  118. internal_data/templates/S.4,L.1,siropu_ads_manager_ad_type_code.php
  119. internal_data/templates/S.4,L.1,resources_tab_links.php
  120. internal_data/templates/S.4,L.1,nat_linkstemplate.php
  121. library/XenForo/ViewRenderer/Json.php
  122. internal_data/templates/S.4,L.1,nat_bodyjs.php