Page Time: 0.9754s

Memory: 6.0907 MB (Peak: 8.8069 MB)

Queries (11, time: 0.8142s, 83.5%)

  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.000769
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using where
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000180
    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.000149
    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,15,4,5,6,7,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 (1,2,15,4,5,6,7,8,10)), 0)) 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)) 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: 59154
    Run Time: 0.001227
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4const2 
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 2Using where
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 3Using where
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 9Using where
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 9Using where
  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 200
    Params: 59154
    Run Time: 0.696824
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsearch_indexrefuser_id_item_dateuser_id_item_date4const3690Using 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,
    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 (4172074, 4162483, 4161283, 4161216, 4161087, 4161080, 4161057, 4161056, 4161055, 4156860, 4156327, 4156326, 4156208, 4155289, 4153640, 4153627, 4153583, 4153197, 4153029, 4152386, 4152220, 4152136, 4152057, 4152055, 4152054, 4151911, 4151851, 4151850, 4151842, 4151834, 4151821, 4151605, 4151410, 4151399, 4151389, 4151385, 4151340, 4151339, 4151261, 4151222, 4151219, 4151218, 4151216, 4151214, 4151099, 4151094, 4151090, 4150604, 4150559, 4150557, 4150078, 4150001, 4149803, 4149727, 4149511, 4149509, 4149508, 4149460, 4149439, 4149187, 4149186, 4149164, 4149130, 4149128, 4149086, 4148890, 4148843, 4148841, 4148837, 4148835, 4148833, 4148830, 4148829, 4148645, 4148580, 4148579, 4148578, 4148574, 4147533, 4146886, 4146831, 4146519, 4146347, 4146346, 4145795, 4145636, 4145286, 4145146, 4144592, 4144263, 4144209, 4144208, 4143738, 4143586, 4143569, 4143525, 4143471, 4143454, 4143414, 4143411, 4143410, 4143388, 4143381, 4143379, 4143127, 4143118, 4143117, 4142890, 4142888, 4142770, 4142754, 4142723, 4142722, 4142721, 4142689, 4142668, 4142666, 4142665, 4142639, 4142638, 4142637, 4142569, 4142506, 4142103, 4142082, 4142061, 4142034, 4142018, 4142015, 4141862, 4141858, 4141850, 4141849, 4141771, 4141770, 4141717, 4141662, 4141455, 4141272, 4141174, 4141138, 4140988, 4140987, 4140985, 4140862, 4140683, 4140592, 4140400, 4140388, 4140034, 4140033, 4140028, 4140027, 4139750, 4139114, 4139113, 4139111, 4139102, 4139100, 4139094, 4139093, 4138272, 4138015, 4136931, 4136864, 4136748, 4136727, 4136726, 4136696, 4136695, 4136694, 4136454, 4135981, 4135907, 4134204, 4134135, 4133805, 4133797, 4133789, 4133745, 4133543, 4133481, 4133475, 4133472, 4133470, 4133469, 4133468, 4133466, 4133461, 4133440, 4133417, 4133399, 4133397, 4133239, 4133196, 4133158, 4133130, 4133119, 4133097)
    Run Time: 0.111784
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostrangePRIMARY,thread_id_post_date,thread_id_positionPRIMARY4 199Using where
    SIMPLEusereq_refPRIMARYPRIMARY4nma_xen.post.user_id1 
    SIMPLEthreadeq_refPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4nma_xen.post.thread_id1 
    SIMPLEnodeeq_refPRIMARYPRIMARY4nma_xen.thread.node_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,nma_xen.node.node_id1 
    SIMPLEpr_cacheeq_refPRIMARYPRIMARY4nma_xen.post.post_id1 
    SIMPLEpr2eq_refpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8nma_xen.post.post_id,const1 
  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 (205484)
    Run Time: 0.001717
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
  8. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: b336bb24a9c6e3a063c8ace4e026beb1, , 1579965121
    Run Time: 0.000203
  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_Search, Member, valid, , 1579961521,
    Run Time: 0.000193
  10. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'message_page', 'sonnb_xengallery_option_copyright', 'sonnbXG_copyright', 'sonnb_xengallery_navbar_template', 'resources_tab_links', 'EWRporta2_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', 'sonnb_xengallery_nav_visitor', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 4, 1
    Run Time: 0.000996
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 22Using where
  11. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('no_results_found')
    Params: 1
    Run Time: 0.000113
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY106const,const1 

Included Files (94, XenForo Classes: 50)

  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/XenResource/Listener/Proxy.php
  33. library/sonnb/XenGallery/Listener.php
  34. library/EWRporta2/Listener/Init.php
  35. library/XenForo/Router.php
  36. library/XenForo/Route/Filter.php
  37. library/XenForo/Route/Interface.php
  38. library/XenForo/Route/ResponseSuffix.php
  39. library/XenForo/Route/Prefix.php
  40. library/XenForo/Route/Prefix/Search.php
  41. library/XenForo/RouteMatch.php
  42. library/XenForo/ControllerPublic/Search.php
  43. library/XenForo/ControllerPublic/Abstract.php
  44. library/XenForo/Controller.php
  45. library/Dark/PostRating/EventListener.php
  46. library/XenForo/Input.php
  47. library/XenForo/Session.php
  48. library/XenForo/Helper/Ip.php
  49. library/XenForo/Visitor.php
  50. library/XenForo/Model/User.php
  51. library/EWRporta2/Listener/Model.php
  52. library/Dark/PostRating/Model/User.php
  53. library/sonnb/XenGallery/XenForo/Model/User.php
  54. library/XenResource/Listener/Proxy/ModelUser.php
  55. library/EWRporta2/Model/User.php
  56. library/XenForo/Permission.php
  57. library/XenForo/Helper/Php.php
  58. library/XenForo/Phrase.php
  59. library/XenForo/Locale.php
  60. library/Waindigo/Listener/ControllerPreDispatch.php
  61. library/Waindigo/Listener/ControllerPreDispatch/20131003.php
  62. library/Waindigo/Listener/Template/20140101.php
  63. library/Waindigo/Listener/TemplatePostRender/20130522.php
  64. library/Waindigo/Listener/InitDependencies.php
  65. library/Waindigo/Listener/InitDependencies/20140101.php
  66. library/Dark/PostRating/Model.php
  67. library/XenForo/Model/Search.php
  68. library/XenForo/Search/Searcher.php
  69. library/XenForo/Search/SourceHandler/Abstract.php
  70. library/XenForo/Search/SourceHandler/MySqlFt.php
  71. library/XenForo/Search/DataHandler/Post.php
  72. library/XenForo/Search/DataHandler/Abstract.php
  73. library/XenForo/Search/DataHandler/Thread.php
  74. library/XenForo/Model/Post.php
  75. library/Dark/PostRating/Model/Post.php
  76. library/EWRporta2/Model/Post.php
  77. library/XenForo/Model/Thread.php
  78. library/Dark/PostRating/Model/Thread.php
  79. library/XenForo/Model/Forum.php
  80. library/XenForo/ControllerResponse/Message.php
  81. library/XenForo/ControllerResponse/Abstract.php
  82. library/XenForo/Helper/Cookie.php
  83. library/XenForo/ViewRenderer/HtmlPublic.php
  84. library/XenForo/ViewRenderer/Abstract.php
  85. library/XenForo/Template/Public.php
  86. library/XenForo/Template/Abstract.php
  87. library/XenResource/Listener/Template.php
  88. library/XenForo/Route/Prefix/Members.php
  89. library/EWRporta2/Listener/NavTabs.php
  90. library/EWRporta2/Model/Perms.php
  91. library/Waindigo/SmilieImporter/Listener/TemplatePostRender.php
  92. library/XenForo/Debug.php
  93. library/EWRporta2/Listener/Template.php
  94. library/XenForo/ViewRenderer/Json.php