Including Functions.php

Time Before: 0.00018 seconds
Time After: 0.00020 seconds
Time Taken: 0.00003 seconds

Memory Before: 490.953 KB
Memory After: 492.852 KB
Memory Used: 1.898 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.00028 seconds
Time After: 0.00271 seconds
Time Taken: 0.00243 seconds

Memory Before: 492.805 KB
Memory After: 493.570 KB
Memory Used: 0.766 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00352 seconds
Time After: 0.00450 seconds
Time Taken: 0.00097 seconds

Memory Before: 493.594 KB
Memory After: 493.672 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.00544 seconds
Time After: 0.00615 seconds
Time Taken: 0.00071 seconds

Memory Before: 494.922 KB
Memory After: 543.039 KB
Memory Used: 48.117 KB

Time Before: 0.00452 seconds
Time After: 0.00922 seconds
Time Taken: 0.00470 seconds

Memory Before: 493.430 KB
Memory After: 655.570 KB
Memory Used: 162.141 KB

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

Time Before: 0.01325 seconds
Time After: 0.01473 seconds
Time Taken: 0.00148 seconds

Memory Before: 672.664 KB
Memory After: 688.984 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.01732 seconds
Time After: 0.01843 seconds
Time Taken: 0.00111 seconds

Memory Before: 678.336 KB
Memory After: 895.000 KB
Memory Used: 216.664 KB

Time Before: 0.00931 seconds
Time After: 0.01859 seconds
Time Taken: 0.00928 seconds

Memory Before: 657.719 KB
Memory After: 787.914 KB
Memory Used: 130.195 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.02169 seconds
Time After: 0.02248 seconds
Time Taken: 0.00078 seconds

Memory Before: 936.719 KB
Memory After: 1,025.039 KB
Memory Used: 88.320 KB

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

Time Before: 0.02526 seconds
Time After: 0.02571 seconds
Time Taken: 0.00044 seconds

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

Time Before: 0.02640 seconds
Time After: 0.02836 seconds
Time Taken: 0.00195 seconds

Memory Before: 1,122.414 KB
Memory After: 1,138.734 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
		(40)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEuserconstPRIMARYPRIMARY4const1Using index
1SIMPLEpostconstPRIMARY,post_postid_threadidPRIMARY4const1 

Time Before: 0.02912 seconds
Time After: 0.02993 seconds
Time Taken: 0.00081 seconds

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

Time Before: 0.03099 seconds
Time After: 0.03156 seconds
Time Taken: 0.00057 seconds

Memory Before: 1,127.766 KB
Memory After: 1,143.461 KB
Memory Used: 15.695 KB

Page generated in 0.032500982284546 seconds with 17 queries, spending 0.011251926422119 doing MySQL queries and 0.021249055862427 doing PHP things.
Shutdown Queries:
DISABLED