Including Functions.php

Time Before: 0.00036 seconds
Time After: 0.00041 seconds
Time Taken: 0.00005 seconds

Memory Before: 425.430 KB
Memory After: 492.383 KB
Memory Used: 66.953 KB

Connect to Database on Server:

Time Before: 0.00044 seconds
Time After: 0.00099 seconds
Time Taken: 0.00056 seconds

Memory Before: 492.359 KB
Memory After: 493.250 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00121 seconds
Time After: 0.00139 seconds
Time Taken: 0.00017 seconds

Memory Before: 493.273 KB
Memory After: 493.328 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.00185 seconds
Time After: 0.00242 seconds
Time Taken: 0.00057 seconds

Memory Before: 495.219 KB
Memory After: 728.930 KB
Memory Used: 233.711 KB

Time Before: 0.00141 seconds
Time After: 0.00873 seconds
Time Taken: 0.00732 seconds

Memory Before: 493.094 KB
Memory After: 1,074.055 KB
Memory Used: 580.961 KB

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

Time Before: 0.00956 seconds
Time After: 0.00987 seconds
Time Taken: 0.00031 seconds

Memory Before: 1,233.688 KB
Memory After: 1,250.453 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.01049 seconds
Time After: 0.01083 seconds
Time Taken: 0.00034 seconds

Memory Before: 1,241.688 KB
Memory After: 1,346.516 KB
Memory Used: 104.828 KB

Time Before: 0.00901 seconds
Time After: 0.01091 seconds
Time Taken: 0.00190 seconds

Memory Before: 1,231.766 KB
Memory After: 1,335.492 KB
Memory Used: 103.727 KB

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

Time Before: 0.05181 seconds
Time After: 0.05200 seconds
Time Taken: 0.00020 seconds

Memory Before: 1,619.742 KB
Memory After: 1,635.930 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.05256 seconds
Time After: 0.05294 seconds
Time Taken: 0.00038 seconds

Memory Before: 1,612.922 KB
Memory After: 1,741.563 KB
Memory Used: 128.641 KB

End call of global.php: 0.056766033172607
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 <= 1521381347 AND stream.typeid IN (9, 11, 13)
ORDER BY dateline DESC
LIMIT 0, 30
1SIMPLEstream ALLdateline,typeid,typeid_2   667100.00Using where; Using filesort

Time Before: 0.05784 seconds
Time After: 0.05875 seconds
Time Taken: 0.00091 seconds

Memory Before: 2,140.156 KB
Memory After: 2,165.961 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 (1527423,1527422,1527420,1527418,1527417,1527415,1527414,1527413,1527412,1527411,1527410,1527408,1527407,1527406,1527405,1527402,1527401,1527400,1527396,1527395)
	p.visible <> 2
	t.visible <> 2
1SIMPLEp rangePRIMARY,threadid,threadid_visible_datelinePRIMARY4 2090.00Using where
1SIMPLEt eq_refPRIMARYPRIMARY4webdev.p.threadid190.00Using where
1SIMPLEfp eq_refPRIMARYPRIMARY4webdev.t.firstpostid1100.00 

Time Before: 0.05946 seconds
Time After: 0.06007 seconds
Time Taken: 0.00061 seconds

Memory Before: 2,228.336 KB
Memory After: 2,266.141 KB
Memory Used: 37.805 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 (368752,368750,368748,368745,368747)
	t.visible <> 2
1SIMPLEt rangePRIMARYPRIMARY4 590.00Using where
1SIMPLEfp eq_refPRIMARYPRIMARY4webdev.t.firstpostid1100.00 

Time Before: 0.06085 seconds
Time After: 0.06111 seconds
Time Taken: 0.00026 seconds

Memory Before: 2,282.445 KB
Memory After: 2,299.078 KB
Memory Used: 16.633 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,306097,306102,299837,305989,306098,137110,290305,305628,305900,299839,301551,306110,45844,23216,306008,15415,295317,306104)
1SIMPLEav systemPRIMARY   00.00const row not found
1SIMPLEu rangePRIMARYPRIMARY4 19100.00Using where
1SIMPLEcu eq_refPRIMARYPRIMARY4webdev.u.userid1100.00 

Time Before: 0.06179 seconds
Time After: 0.06247 seconds
Time Taken: 0.00068 seconds

Memory Before: 2,294.711 KB
Memory After: 2,335.344 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.07007 seconds
Time After: 0.07092 seconds
Time Taken: 0.00085 seconds

Memory Before: 2,606.789 KB
Memory After: 2,735.016 KB
Memory Used: 128.227 KB

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

Time Before: 0.07168 seconds
Time After: 0.07183 seconds
Time Taken: 0.00015 seconds

Memory Before: 2,740.930 KB
Memory After: 2,757.211 KB
Memory Used: 16.281 KB

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

Time Before: 0.10509 seconds
Time After: 0.10647 seconds
Time Taken: 0.00138 seconds

Memory Before: 2,933.508 KB
Memory After: 2,933.383 KB
Memory Used: -0.125 KB

Page generated in 0.10469102859497 seconds with 13 queries, spending 0.0073626041412354 doing MySQL queries and 0.097328424453735 doing PHP things.
Shutdown Queries: