Including Functions.php

Time Before: 0.00033 seconds
Time After: 0.00040 seconds
Time Taken: 0.00006 seconds

Memory Before: 425.148 KB
Memory After: 492.102 KB
Memory Used: 66.953 KB

Connect to Database on Server:

Time Before: 0.00044 seconds
Time After: 0.00092 seconds
Time Taken: 0.00048 seconds

Memory Before: 492.078 KB
Memory After: 492.969 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00110 seconds
Time After: 0.00121 seconds
Time Taken: 0.00011 seconds

Memory Before: 492.992 KB
Memory After: 493.047 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.00171 seconds
Time After: 0.00241 seconds
Time Taken: 0.00069 seconds

Memory Before: 494.938 KB
Memory After: 728.648 KB
Memory Used: 233.711 KB

Time Before: 0.00123 seconds
Time After: 0.00856 seconds
Time Taken: 0.00732 seconds

Memory Before: 492.813 KB
Memory After: 1,073.773 KB
Memory Used: 580.961 KB

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

Time Before: 0.00934 seconds
Time After: 0.00958 seconds
Time Taken: 0.00025 seconds

Memory Before: 1,233.406 KB
Memory After: 1,250.172 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.01036 seconds
Time After: 0.01080 seconds
Time Taken: 0.00044 seconds

Memory Before: 1,241.406 KB
Memory After: 1,346.234 KB
Memory Used: 104.828 KB

Time Before: 0.00887 seconds
Time After: 0.01088 seconds
Time Taken: 0.00201 seconds

Memory Before: 1,231.484 KB
Memory After: 1,335.211 KB
Memory Used: 103.727 KB

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

Time Before: 0.05589 seconds
Time After: 0.05609 seconds
Time Taken: 0.00020 seconds

Memory Before: 1,619.461 KB
Memory After: 1,635.648 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.05671 seconds
Time After: 0.05705 seconds
Time Taken: 0.00034 seconds

Memory Before: 1,612.641 KB
Memory After: 1,741.281 KB
Memory Used: 128.641 KB

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

Time Before: 0.06210 seconds
Time After: 0.06301 seconds
Time Taken: 0.00091 seconds

Memory Before: 2,138.719 KB
Memory After: 2,164.273 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 (1527408,1527407,1527406,1527405,1527402,1527401,1527400,1527398,1527397,1527396,1527395,1527392,1527391,1527390,1527389,1527388,1527387,1527386,1527385,1527384,1527383,1527382,1527381)
	p.visible <> 2
	t.visible <> 2
1SIMPLEp rangePRIMARY,threadid,threadid_visible_datelinePRIMARY4 2390.00Using where
1SIMPLEt eq_refPRIMARYPRIMARY4webdev.p.threadid190.00Using where
1SIMPLEfp eq_refPRIMARYPRIMARY4webdev.t.firstpostid1100.00 

Time Before: 0.06385 seconds
Time After: 0.06439 seconds
Time Taken: 0.00054 seconds

Memory Before: 2,226.586 KB
Memory After: 2,273.563 KB
Memory Used: 46.977 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 (368745,368747)
	t.visible <> 2
1SIMPLEt rangePRIMARYPRIMARY4 290.00Using where
1SIMPLEfp eq_refPRIMARYPRIMARY4webdev.t.firstpostid1100.00 

Time Before: 0.06526 seconds
Time After: 0.06551 seconds
Time Taken: 0.00026 seconds

Memory Before: 2,285.000 KB
Memory After: 2,301.094 KB
Memory Used: 16.094 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 (158405,306094,306085,168203,306080,23216,80845,296353,147743,306065,306047,45844,306097,305911,306098,306102,299837,305989,137110,290305,305628)
1SIMPLEav systemPRIMARY   00.00const row not found
1SIMPLEu rangePRIMARYPRIMARY4 21100.00Using where
1SIMPLEcu eq_refPRIMARYPRIMARY4webdev.u.userid1100.00 

Time Before: 0.06620 seconds
Time After: 0.06697 seconds
Time Taken: 0.00077 seconds

Memory Before: 2,285.445 KB
Memory After: 2,330.203 KB
Memory Used: 44.758 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.07509 seconds
Time After: 0.07588 seconds
Time Taken: 0.00079 seconds

Memory Before: 2,620.719 KB
Memory After: 2,748.945 KB
Memory Used: 128.227 KB

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

Time Before: 0.07672 seconds
Time After: 0.07690 seconds
Time Taken: 0.00018 seconds

Memory Before: 2,754.734 KB
Memory After: 2,771.016 KB
Memory Used: 16.281 KB

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

Time Before: 0.10979 seconds
Time After: 0.11133 seconds
Time Taken: 0.00155 seconds

Memory Before: 2,947.234 KB
Memory After: 2,947.109 KB
Memory Used: -0.125 KB

Page generated in 0.10933399200439 seconds with 13 queries, spending 0.0075159072875977 doing MySQL queries and 0.1018180847168 doing PHP things.
Shutdown Queries: