Including Functions.php

Time Before: 0.00027 seconds
Time After: 0.00030 seconds
Time Taken: 0.00003 seconds

Memory Before: 491.078 KB
Memory After: 492.977 KB
Memory Used: 1.898 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.00033 seconds
Time After: 0.00160 seconds
Time Taken: 0.00126 seconds

Memory Before: 492.930 KB
Memory After: 493.695 KB
Memory Used: 0.766 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00206 seconds
Time After: 0.00335 seconds
Time Taken: 0.00129 seconds

Memory Before: 493.719 KB
Memory After: 493.797 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
1SIMPLEdatastorerangePRIMARYPRIMARY200 16Using where

Time Before: 0.00400 seconds
Time After: 0.00501 seconds
Time Taken: 0.00101 seconds

Memory Before: 495.047 KB
Memory After: 543.164 KB
Memory Used: 48.117 KB

Time Before: 0.00338 seconds
Time After: 0.00936 seconds
Time Taken: 0.00598 seconds

Memory Before: 493.555 KB
Memory After: 655.695 KB
Memory Used: 162.141 KB

Session Handling
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.01225 seconds
Time After: 0.01284 seconds
Time Taken: 0.00059 seconds

Memory Before: 677.500 KB
Memory After: 894.164 KB
Memory Used: 216.664 KB

Time Before: 0.00946 seconds
Time After: 0.01300 seconds
Time Taken: 0.00354 seconds

Memory Before: 657.844 KB
Memory After: 787.078 KB
Memory Used: 129.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.01531 seconds
Time After: 0.01573 seconds
Time Taken: 0.00043 seconds

Memory Before: 936.883 KB
Memory After: 1,025.203 KB
Memory Used: 88.320 KB

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

Time Before: 0.01888 seconds
Time After: 0.01939 seconds
Time Taken: 0.00051 seconds

Memory Before: 1,115.383 KB
Memory After: 1,131.609 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(41)
AND thread.open <> 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.01989 seconds
Time After: 0.02030 seconds
Time Taken: 0.00041 seconds

Memory Before: 1,122.672 KB
Memory After: 1,138.992 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
		(41)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEuserconstPRIMARYPRIMARY4const1Using index
1SIMPLEpostconstPRIMARY,post_postid_threadidPRIMARY4const1 

Time Before: 0.02115 seconds
Time After: 0.02150 seconds
Time Taken: 0.00036 seconds

Memory Before: 1,124.383 KB
Memory After: 1,140.828 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 (190)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEavatarconstPRIMARYPRIMARY2const0Unique row not found
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.02209 seconds
Time After: 0.02241 seconds
Time Taken: 0.00032 seconds

Memory Before: 1,131.711 KB
Memory After: 1,147.406 KB
Memory Used: 15.695 KB

Page generated in 0.023360967636108 seconds with 15 queries, spending 0.0061728954315186 doing MySQL queries and 0.01718807220459 doing PHP things.
Shutdown Queries:
DISABLED