Including Functions.php

Time Before: 0.00028 seconds
Time After: 0.00035 seconds
Time Taken: 0.00007 seconds

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

Connect to Database on Server:

Time Before: 0.00038 seconds
Time After: 0.00100 seconds
Time Taken: 0.00063 seconds

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

SQL Query
SET @@sql_mode = ''

Time Before: 0.00121 seconds
Time After: 0.00137 seconds
Time Taken: 0.00016 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.00197 seconds
Time After: 0.00294 seconds
Time Taken: 0.00097 seconds

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

Time Before: 0.00139 seconds
Time After: 0.01042 seconds
Time Taken: 0.00903 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 = 'ba7b142566bb0e254094c7d5ef1aa653'
1SIMPLEsession refguest_lookup,user_activityguest_lookup55const,const,const1100.00 

Time Before: 0.01149 seconds
Time After: 0.01191 seconds
Time Taken: 0.00042 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.01303 seconds
Time After: 0.01363 seconds
Time Taken: 0.00061 seconds

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

Time Before: 0.01072 seconds
Time After: 0.01374 seconds
Time Taken: 0.00302 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.09639 seconds
Time After: 0.09668 seconds
Time Taken: 0.00030 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.09743 seconds
Time After: 0.09791 seconds
Time Taken: 0.00048 seconds

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

End call of global.php: 0.10220885276794
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 <= 1521783681 AND stream.dateline > 1521697281
ORDER BY dateline DESC
LIMIT 0, 30
1SIMPLEstream rangedatelinedateline4 40100.00Using index condition

Time Before: 0.10379 seconds
Time After: 0.10474 seconds
Time Taken: 0.00096 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 (1527568,1527567,1527566,1527564,1527563,1527562,1527561,1527560,1527559,1527557,1527556,1527555,1527553,1527552,1527551,1527550,1527549,1527548,1527547,1527546,1527545,1527544,1527543,1527541,1527540)
	p.visible <> 2
	t.visible <> 2
1SIMPLEp rangePRIMARY,threadid,threadid_visible_datelinePRIMARY4 2590.00Using where
1SIMPLEt eq_refPRIMARYPRIMARY4webdev.p.threadid190.00Using where
1SIMPLEfp eq_refPRIMARYPRIMARY4webdev.t.firstpostid1100.00 

Time Before: 0.10588 seconds
Time After: 0.10694 seconds
Time Taken: 0.00106 seconds

Memory Before: 2,227.656 KB
Memory After: 2,256.992 KB
Memory Used: 29.336 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 (368792)
	t.visible <> 2
1SIMPLE         no matching row in const table

Time Before: 0.10811 seconds
Time After: 0.10846 seconds
Time Taken: 0.00035 seconds

Memory Before: 2,279.102 KB
Memory After: 2,294.945 KB
Memory Used: 15.844 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 (80845,160773,306150,299837,305474,306065,306151,298407,305900,299839,306118,304891,263461,23216,305956,305367,306154,306142,306155,297725)
1SIMPLEav systemPRIMARY   00.00const row not found
1SIMPLEu rangePRIMARYPRIMARY4 20100.00Using where
1SIMPLEcu eq_refPRIMARYPRIMARY4webdev.u.userid1100.00 

Time Before: 0.10940 seconds
Time After: 0.11054 seconds
Time Taken: 0.00114 seconds

Memory Before: 2,279.672 KB
Memory After: 2,324.352 KB
Memory Used: 44.680 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.12060 seconds
Time After: 0.12153 seconds
Time Taken: 0.00092 seconds

Memory Before: 2,595.898 KB
Memory After: 2,724.125 KB
Memory Used: 128.227 KB

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

Time Before: 0.12234 seconds
Time After: 0.12251 seconds
Time Taken: 0.00017 seconds

Memory Before: 2,730.039 KB
Memory After: 2,746.320 KB
Memory Used: 16.281 KB

SQL Query
UPDATE session
SET lastactivity = 1521783681, location = '/forum/activity.php?time=today&show=all&sortby=recent&explain=1', incalendar = 0, badlocation = 0
WHERE sessionhash = 'c81f62bd37a9deca4d6579f9ac27e0c9'

Time Before: 0.14487 seconds
Time After: 0.14652 seconds
Time Taken: 0.00165 seconds

Memory Before: 2,915.453 KB
Memory After: 2,915.203 KB
Memory Used: -0.250 KB

Page generated in 0.1444079875946 seconds with 13 queries, spending 0.0098068714141846 doing MySQL queries and 0.13460111618042 doing PHP things.
Shutdown Queries: