Including Functions.php

Time Before: 0.00047 seconds
Time After: 0.00052 seconds
Time Taken: 0.00006 seconds

Memory Before: 425.117 KB
Memory After: 492.070 KB
Memory Used: 66.953 KB

Connect to Database on Server:

Time Before: 0.00057 seconds
Time After: 0.00121 seconds
Time Taken: 0.00065 seconds

Memory Before: 492.047 KB
Memory After: 492.938 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00146 seconds
Time After: 0.00161 seconds
Time Taken: 0.00015 seconds

Memory Before: 492.961 KB
Memory After: 493.016 KB
Memory Used: 0.055 KB

Datastore Setup
SQL Query
FROM datastore
WHERE title IN ('smiliecache','bbcodecache','blogcategorycache','navdata','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','activitystream','routes')
1SIMPLEdatastore rangePRIMARYPRIMARY52 19100.00Using index condition

Time Before: 0.00222 seconds
Time After: 0.00318 seconds
Time Taken: 0.00096 seconds

Memory Before: 494.906 KB
Memory After: 728.617 KB
Memory Used: 233.711 KB

Time Before: 0.00163 seconds
Time After: 0.01198 seconds
Time Taken: 0.01034 seconds

Memory Before: 492.781 KB
Memory After: 1,073.742 KB
Memory Used: 580.961 KB

Session Handling
SQL Query
FROM session
WHERE userid = 0
	AND host = ''
	AND idhash = 'fe46d39b7c568dad8be6193b9c1e3ee5'
1SIMPLEsession refguest_lookup,user_activityguest_lookup55const,const,const1100.00 

Time Before: 0.01305 seconds
Time After: 0.01332 seconds
Time Taken: 0.00027 seconds

Memory Before: 1,233.375 KB
Memory After: 1,250.141 KB
Memory Used: 16.766 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_activitystream AS phrasegroup_activitystream,
			phrasegroup_user AS phrasegroup_user,
			phrasegroupinfo AS lang_phrasegroupinfo,
			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
1SIMPLElanguage systemPRIMARY   1100.00 

Time Before: 0.01398 seconds
Time After: 0.01448 seconds
Time Taken: 0.00050 seconds

Memory Before: 1,241.375 KB
Memory After: 1,346.203 KB
Memory Used: 104.828 KB

Time Before: 0.01236 seconds
Time After: 0.01459 seconds
Time Taken: 0.00223 seconds

Memory Before: 1,231.453 KB
Memory After: 1,335.180 KB
Memory Used: 103.727 KB

SQL Query
SELECT COUNT(*) AS count FROM user WHERE usergroupid = 4
1SIMPLEuser refusergroupidusergroupid2const1100.00Using index

Time Before: 0.06115 seconds
Time After: 0.06135 seconds
Time Taken: 0.00020 seconds

Memory Before: 1,619.414 KB
Memory After: 1,635.602 KB
Memory Used: 16.188 KB

SQL Query
FROM style
WHERE (styleid = 19 AND userselect = 1)
	OR styleid = 19
ORDER BY styleid ASC
1SIMPLEstyle constPRIMARYPRIMARY2const1100.00 

Time Before: 0.06188 seconds
Time After: 0.06225 seconds
Time Taken: 0.00037 seconds

Memory Before: 1,612.563 KB
Memory After: 1,741.203 KB
Memory Used: 128.641 KB

End call of global.php: 0.068798065185547
SQL Query
SELECT stream.*, type.section, type.type
FROM activitystream AS stream
LEFT JOIN activitystreamtype AS type ON (stream.typeid = type.typeid)
WHERE stream.dateline <> 0 AND stream.dateline <= 1521600527 AND stream.dateline > 1520995727
ORDER BY dateline DESC
LIMIT 0, 30
1SIMPLEstream ALLdateline   66730.28Using where; Using filesort

Time Before: 0.07041 seconds
Time After: 0.07126 seconds
Time Taken: 0.00085 seconds

Memory Before: 2,139.789 KB
Memory After: 2,165.594 KB
Memory Used: 25.805 KB

SQL Query
	p.postid AS p_postid, p.threadid AS p_threadid, p.title AS p_title, p.visible AS p_visible, p.userid AS p_userid, p.pagetext AS p_pagetext, p.username AS p_username,
	t.threadid AS t_threadid, t.title AS t_title, t.forumid AS t_forumid, t.pollid AS t_pollid, AS t_open, t.postusername AS t_postusername,
	t.views AS t_views, t.visible AS t_visible, t.postuserid AS t_postuserid, t.postuserid AS t_userid, t.replycount AS t_replycount, t.prefixid AS t_prefixid,
	fp.pagetext AS t_pagetext
FROM post AS p
INNER JOIN thread AS t ON (p.threadid = t.threadid)
INNER JOIN post AS fp ON (t.firstpostid = fp.postid)
	p.postid IN (1527502,1527501,1527500,1527499,1527498,1527496,1527495,1527492,1527491,1527490,1527489,1527488,1527487,1527486,1527485,1527484,1527481,1527480,1527477,1527476,1527475,1527473)
	p.visible <> 2
	t.visible <> 2
1SIMPLEp rangePRIMARY,threadid,threadid_visible_datelinePRIMARY4 2290.00Using where
1SIMPLEt eq_refPRIMARYPRIMARY4webdev.p.threadid190.00Using where
1SIMPLEfp eq_refPRIMARYPRIMARY4webdev.t.firstpostid1100.00 

Time Before: 0.07205 seconds
Time After: 0.07295 seconds
Time Taken: 0.00090 seconds

Memory Before: 2,227.656 KB
Memory After: 2,268.961 KB
Memory Used: 41.305 KB

SQL Query
	t.threadid, t.title, t.forumid, t.pollid,, t.views, t.visible, t.postuserid, t.postuserid AS userid, t.replycount,
	t.postusername, t.prefixid, fp.pagetext
FROM thread AS t
INNER JOIN post AS fp ON (t.firstpostid = fp.postid)
	t.threadid IN (368777,368778,368773,368772,368771,368770)
	t.visible <> 2
1SIMPLEt rangePRIMARYPRIMARY4 690.00Using where
1SIMPLEfp eq_refPRIMARYPRIMARY4webdev.t.firstpostid1100.00 

Time Before: 0.07377 seconds
Time After: 0.07405 seconds
Time Taken: 0.00028 seconds

Memory Before: 2,292.047 KB
Memory After: 2,308.922 KB
Memory Used: 16.875 KB

SQL Query
	, av.avatarpath, NOT ISNULL(cu.userid) AS hascustomavatar,
		cu.dateline AS avatardateline, cu.width AS avwidth, cu.height AS avheight, cu.height_thumb AS avheight_thumb,
		cu.width_thumb AS avwidth_thumb, NOT ISNULL(cu.filedata_thumb) AS filedata_thumb
FROM user AS u

	LEFT JOIN avatar AS av ON(av.avatarid = u.avatarid)
	LEFT JOIN customavatar AS cu ON(cu.userid = u.userid)
WHERE u.userid IN (306131,304269,293249,303233,305900,100989,287941,107492,30882,80845,306097,306118,306085,137110,301807,300947,305628,292421,15415,306135,303643,296353,306129,306133,306132,306134)
1SIMPLEav systemPRIMARY   00.00const row not found
1SIMPLEu rangePRIMARYPRIMARY4 26100.00Using where
1SIMPLEcu eq_refPRIMARYPRIMARY4webdev.u.userid1100.00 

Time Before: 0.07469 seconds
Time After: 0.07564 seconds
Time Taken: 0.00095 seconds

Memory Before: 2,300.750 KB
Memory After: 2,353.648 KB
Memory Used: 52.898 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (23665,23649,23651,23653,23655,23657,23667,23659,23661,23663,23669,23671,23673,23675,23677,16601,25469,25468,24891,14189,14188,14190,14185,14184,14951,14953,14949,14947,14193,14194,14961,24321,21591,16585,24221,24215,24217,16589,24929,0,0,24889,24811,24261,24263,24267,24269,24715,24953,24917,24817,24819,23915,23913,23921,21563,21565)
1SIMPLEtemplate rangePRIMARYPRIMARY4 56100.00Using index condition

Time Before: 0.08375 seconds
Time After: 0.08445 seconds
Time Taken: 0.00070 seconds

Memory Before: 2,690.273 KB
Memory After: 2,818.500 KB
Memory Used: 128.227 KB

SQL Query
SELECT template
FROM template
WHERE templateid = 16587
1SIMPLEtemplate constPRIMARYPRIMARY4const1100.00 

Time Before: 0.08563 seconds
Time After: 0.08578 seconds
Time Taken: 0.00016 seconds

Memory Before: 2,824.414 KB
Memory After: 2,840.695 KB
Memory Used: 16.281 KB

SQL Query
UPDATE session
SET lastactivity = 1521600527, location = '/forum/activity.php?time=week&show=all&sortby=recent&explain=1', inforum = 0, inthread = 0, badlocation = 0
WHERE sessionhash = '866b1f7bce88a164725e711203856daf'

Time Before: 0.11527 seconds
Time After: 0.11683 seconds
Time Taken: 0.00155 seconds

Memory Before: 3,011.984 KB
Memory After: 3,011.734 KB
Memory Used: -0.250 KB

Page generated in 0.11478900909424 seconds with 13 queries, spending 0.0084900856018066 doing MySQL queries and 0.10629892349243 doing PHP things.
Shutdown Queries: