Including Functions.php

Time Before: 0.00044 seconds
Time After: 0.00054 seconds
Time Taken: 0.00009 seconds

Memory Before: 490.672 KB
Memory After: 492.570 KB
Memory Used: 1.898 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.00063 seconds
Time After: 0.00907 seconds
Time Taken: 0.00844 seconds

Memory Before: 492.523 KB
Memory After: 493.289 KB
Memory Used: 0.766 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00964 seconds
Time After: 0.00978 seconds
Time Taken: 0.00014 seconds

Memory Before: 493.313 KB
Memory After: 493.391 KB
Memory Used: 0.078 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','iconcache','searchcloud')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastoreALLPRIMARY   29Using where

Time Before: 0.01559 seconds
Time After: 0.01607 seconds
Time Taken: 0.00048 seconds

Memory Before: 494.641 KB
Memory After: 542.758 KB
Memory Used: 48.117 KB

Time Before: 0.00989 seconds
Time After: 0.01893 seconds
Time Taken: 0.00904 seconds

Memory Before: 493.148 KB
Memory After: 653.023 KB
Memory Used: 159.875 KB

Session Handling
SQL Query
SELECT sessionhash, lastactivity
FROM session
WHERE userid = 0
	AND host = '216.73.216.142'
	AND idhash = 'ea5a359a73a8141a16de516480d33c34'
ORDER BY lastactivity DESC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefguest_lookup,userid_lastactivityguest_lookup314const,const,const1Using index condition; Using where; Using filesort

Time Before: 0.02231 seconds
Time After: 0.02267 seconds
Time Taken: 0.00036 seconds

Memory Before: 670.117 KB
Memory After: 686.438 KB
Memory Used: 16.320 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_search AS phrasegroup_search,
			phrasegroup_inlinemod AS phrasegroup_inlinemod,
			phrasegroup_prefix AS phrasegroup_prefix,
			phrasegroup_register AS phrasegroup_register,
			options AS lang_options,
			languagecode AS lang_code,
			charset AS lang_charset,
			locale AS lang_locale,
			imagesoverride AS lang_imagesoverride,
			dateoverride AS lang_dateoverride,
			timeoverride AS lang_timeoverride,
			registereddateoverride AS lang_registereddateoverride,
			calformat1override AS lang_calformat1override,
			calformat2override AS lang_calformat2override,
			logdateoverride AS lang_logdateoverride,
			decimalsep AS lang_decimalsep,
			thousandsep AS lang_thousandsep
FROM language
WHERE languageid = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguageconstPRIMARYPRIMARY2const1 

Time Before: 0.02333 seconds
Time After: 0.02378 seconds
Time Taken: 0.00045 seconds

Memory Before: 675.828 KB
Memory After: 892.492 KB
Memory Used: 216.664 KB

Time Before: 0.01908 seconds
Time After: 0.02394 seconds
Time Taken: 0.00487 seconds

Memory Before: 655.172 KB
Memory After: 785.406 KB
Memory Used: 130.234 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 1 AND userselect = 1)
	OR styleid = 1
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstyleconstPRIMARYPRIMARY2const1 

Time Before: 0.02619 seconds
Time After: 0.02651 seconds
Time Taken: 0.00032 seconds

Memory Before: 934.211 KB
Memory After: 1,022.531 KB
Memory Used: 88.320 KB

End call of global.php: 0.028373003005981
SQL Query
SELECT * FROM search AS search WHERE completed = 1 AND searchid = 11647
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsearchconstPRIMARYPRIMARY4const1 

Time Before: 0.02876 seconds
Time After: 0.02900 seconds
Time Taken: 0.00025 seconds

Memory Before: 1,112.711 KB
Memory After: 1,128.938 KB
Memory Used: 16.227 KB

SQL Query
SELECT threadid AS itemid, forumid, visible AS thread_visible, postuserid,
IF(postuserid = 0, 'self', 'other') AS starter
FROM thread AS thread
WHERE threadid IN(16)
AND thread.open <> 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.02940 seconds
Time After: 0.02966 seconds
Time Taken: 0.00026 seconds

Memory Before: 1,118.734 KB
Memory After: 1,135.055 KB
Memory Used: 16.320 KB

SQL Query
SELECT post.pagetext AS preview,
	thread.threadid, thread.threadid AS postid, thread.title AS threadtitle, thread.iconid AS threadiconid, thread.dateline, thread.forumid,
	thread.sticky, thread.prefixid, thread.taglist, thread.pollid, thread.open, thread.lastpost AS postdateline, thread.visible,
	thread.hiddencount, thread.deletedcount, thread.attach, thread.postusername, thread.forumid,
	
	thread.replycount, IF(thread.views<=thread.replycount, replycount+1, thread.views) AS views,
	thread.lastpost, thread.lastposter, thread.lastposterid, thread.lastpostid
,
	
	user.userid AS postuserid
	
	
	
FROM thread AS thread
LEFT JOIN user AS user ON(user.userid = thread.postuserid)




LEFT JOIN post AS post ON(post.postid = thread.firstpostid)


WHERE thread.threadid IN
		(16)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEuserconstPRIMARYPRIMARY4const1Using index
1SIMPLEpostconstPRIMARY,post_postid_threadidPRIMARY4const1 

Time Before: 0.03015 seconds
Time After: 0.03046 seconds
Time Taken: 0.00031 seconds

Memory Before: 1,120.445 KB
Memory After: 1,136.891 KB
Memory Used: 16.445 KB

SQL Query
SELECT user.userid as userid, user.username as username, user.avatarid, user.avatarrevision, avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline,
	customavatar.width, customavatar.height, customavatar.width_thumb, customavatar.height_thumb
FROM user AS user
LEFT JOIN avatar AS avatar ON avatar.avatarid = user.avatarid
LEFT JOIN customavatar AS customavatar ON customavatar.userid = user.userid
WHERE user.userid IN (112)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEavatarconstPRIMARYPRIMARY2const0Unique row not found
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.03092 seconds
Time After: 0.03120 seconds
Time Taken: 0.00028 seconds

Memory Before: 1,125.414 KB
Memory After: 1,141.109 KB
Memory Used: 15.695 KB

Page generated in 0.031716108322144 seconds with 17 queries, spending 0.011293649673462 doing MySQL queries and 0.020422458648682 doing PHP things.
Shutdown Queries:
DISABLED