Including Functions.php

Time Before: 0.00049 seconds
Time After: 0.00055 seconds
Time Taken: 0.00005 seconds

Memory Before: 425.156 KB
Memory After: 492.109 KB
Memory Used: 66.953 KB

Connect to Database on Server:

Time Before: 0.00058 seconds
Time After: 0.00115 seconds
Time Taken: 0.00056 seconds

Memory Before: 492.086 KB
Memory After: 492.977 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00134 seconds
Time After: 0.00147 seconds
Time Taken: 0.00013 seconds

Memory Before: 493.000 KB
Memory After: 493.055 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.00200 seconds
Time After: 0.00255 seconds
Time Taken: 0.00055 seconds

Memory Before: 494.945 KB
Memory After: 728.656 KB
Memory Used: 233.711 KB

Time Before: 0.00149 seconds
Time After: 0.00973 seconds
Time Taken: 0.00823 seconds

Memory Before: 492.820 KB
Memory After: 1,073.781 KB
Memory Used: 580.961 KB

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

Time Before: 0.01073 seconds
Time After: 0.01097 seconds
Time Taken: 0.00024 seconds

Memory Before: 1,233.414 KB
Memory After: 1,250.180 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.01173 seconds
Time After: 0.01217 seconds
Time Taken: 0.00045 seconds

Memory Before: 1,241.414 KB
Memory After: 1,346.242 KB
Memory Used: 104.828 KB

Time Before: 0.01016 seconds
Time After: 0.01226 seconds
Time Taken: 0.00210 seconds

Memory Before: 1,231.492 KB
Memory After: 1,335.219 KB
Memory Used: 103.727 KB

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

Time Before: 0.05569 seconds
Time After: 0.05588 seconds
Time Taken: 0.00019 seconds

Memory Before: 1,619.469 KB
Memory After: 1,635.656 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.05636 seconds
Time After: 0.05669 seconds
Time Taken: 0.00033 seconds

Memory Before: 1,612.617 KB
Memory After: 1,741.258 KB
Memory Used: 128.641 KB

End call of global.php: 0.061244010925293
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 <= 1521853755
ORDER BY dateline DESC
LIMIT 0, 30
1SIMPLEstream ALLdateline   725100.00Using where; Using filesort

Time Before: 0.06221 seconds
Time After: 0.06308 seconds
Time Taken: 0.00087 seconds

Memory Before: 2,138.695 KB
Memory After: 2,164.250 KB
Memory Used: 25.555 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 (1527605,1527604,1527603,1527602,1527601,1527600,1527599,1527598,1527597,1527595,1527594,1527592,1527591,1527590,1527589,1527588,1527587,1527586,1527583,1527581,1527580,1527579,1527578,1527577,1527576,1527574)
	p.visible <> 2
	t.visible <> 2
1SIMPLEp rangePRIMARY,threadid,threadid_visible_datelinePRIMARY4 2690.00Using where
1SIMPLEt eq_refPRIMARYPRIMARY4webdev.p.threadid190.00Using where
1SIMPLEfp eq_refPRIMARYPRIMARY4webdev.t.firstpostid1100.00 

Time Before: 0.06393 seconds
Time After: 0.06465 seconds
Time Taken: 0.00071 seconds

Memory Before: 2,226.563 KB
Memory After: 2,284.836 KB
Memory Used: 58.273 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 (368794)
	t.visible <> 2
1SIMPLE         Impossible WHERE noticed after reading const tables

Time Before: 0.06549 seconds
Time After: 0.06570 seconds
Time Taken: 0.00021 seconds

Memory Before: 2,287.883 KB
Memory After: 2,303.852 KB
Memory Used: 15.969 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 (296353,297725,287941,306118,290305,299839,80845,306164,305900,304791,301807,306032,299969,298407,286279,23216,306166,306168,296827)
1SIMPLEav systemPRIMARY   00.00const row not found
1SIMPLEu rangePRIMARYPRIMARY4 19100.00Using where
1SIMPLEcu eq_refPRIMARYPRIMARY4webdev.u.userid1100.00 

Time Before: 0.06636 seconds
Time After: 0.06714 seconds
Time Taken: 0.00078 seconds

Memory Before: 2,288.453 KB
Memory After: 2,329.086 KB
Memory Used: 40.633 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.07461 seconds
Time After: 0.07529 seconds
Time Taken: 0.00068 seconds

Memory Before: 2,604.125 KB
Memory After: 2,732.352 KB
Memory Used: 128.227 KB

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

Time Before: 0.07610 seconds
Time After: 0.07624 seconds
Time Taken: 0.00014 seconds

Memory Before: 2,738.266 KB
Memory After: 2,754.547 KB
Memory Used: 16.281 KB

SQL Query
UPDATE session
SET lastactivity = 1521853755, location = '/forum/activity.php?time=anytime&show=all&sortby=recent&explain=1', badlocation = 0
WHERE sessionhash = '48b67a747e9612745044df029b2cea39'

Time Before: 0.10558 seconds
Time After: 0.10703 seconds
Time Taken: 0.00145 seconds

Memory Before: 2,945.578 KB
Memory After: 2,945.453 KB
Memory Used: -0.125 KB

Page generated in 0.1051299571991 seconds with 13 queries, spending 0.0072979927062988 doing MySQL queries and 0.097831964492798 doing PHP things.
Shutdown Queries: