Including Functions.php

Time Before: 0.00046 seconds
Time After: 0.00053 seconds
Time Taken: 0.00006 seconds

Memory Before: 443.297 KB
Memory After: 510.250 KB
Memory Used: 66.953 KB

Connect to Database on Server:

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

Memory Before: 510.227 KB
Memory After: 511.117 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00133 seconds
Time After: 0.00145 seconds
Time Taken: 0.00012 seconds

Memory Before: 511.141 KB
Memory After: 511.195 KB
Memory Used: 0.055 KB

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

Time Before: 0.00190 seconds
Time After: 0.00260 seconds
Time Taken: 0.00070 seconds

Memory Before: 513.086 KB
Memory After: 747.016 KB
Memory Used: 233.930 KB

Time Before: 0.00147 seconds
Time After: 0.00990 seconds
Time Taken: 0.00843 seconds

Memory Before: 510.961 KB
Memory After: 1,092.039 KB
Memory Used: 581.078 KB

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

Time Before: 0.01107 seconds
Time After: 0.01144 seconds
Time Taken: 0.00037 seconds

Memory Before: 1,255.984 KB
Memory After: 1,272.750 KB
Memory Used: 16.766 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_posting AS phrasegroup_posting,
			phrasegroup_postbit AS phrasegroup_postbit,
			phrasegroup_showthread AS phrasegroup_showthread,
			phrasegroup_inlinemod AS phrasegroup_inlinemod,
			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.01217 seconds
Time After: 0.01258 seconds
Time Taken: 0.00041 seconds

Memory Before: 1,264.234 KB
Memory After: 1,348.813 KB
Memory Used: 84.578 KB

Time Before: 0.01047 seconds
Time After: 0.01268 seconds
Time Taken: 0.00221 seconds

Memory Before: 1,251.898 KB
Memory After: 1,336.289 KB
Memory Used: 84.391 KB

SQL Query
SELECT post.*,
IF(post.visible = 2, 1, 0) AS isdeleted,

editlog.userid AS edit_userid, editlog.dateline AS edit_dateline, editlog.reason AS edit_reason, editlog.hashistory

FROM post AS post

LEFT JOIN editlog AS editlog ON (editlog.postid = post.postid)

WHERE post.postid = 1527082 LIMIT 1
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 
1SIMPLEeditlog constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.01766 seconds
Time After: 0.01792 seconds
Time Taken: 0.00026 seconds

Memory Before: 1,534.398 KB
Memory After: 1,550.914 KB
Memory Used: 16.516 KB

SQL Query
SELECT IF(thread.visible = 2, 1, 0) AS isdeleted,

post.pagetext AS description,

FROM thread AS thread

LEFT JOIN post AS post ON(post.postid = thread.firstpostid)

WHERE thread.threadid = 368659 LIMIT 1
1SIMPLEthread constPRIMARYPRIMARY4const1100.00 
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 

Time Before: 0.01833 seconds
Time After: 0.01858 seconds
Time Taken: 0.00025 seconds

Memory Before: 1,539.555 KB
Memory After: 1,556.133 KB
Memory Used: 16.578 KB

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

Time Before: 0.05955 seconds
Time After: 0.05975 seconds
Time Taken: 0.00020 seconds

Memory Before: 1,627.633 KB
Memory After: 1,643.820 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.06029 seconds
Time After: 0.06061 seconds
Time Taken: 0.00032 seconds

Memory Before: 1,620.781 KB
Memory After: 1,749.422 KB
Memory Used: 128.641 KB

End call of global.php: 0.065143823623657
SQL Query
SELECT title, template
FROM template
WHERE templateid IN (14194,14193,14961,14963,24831,23979,23981,23985,23997,23995,21587,24393,24365,24367,24371,24369,24375,24379,24381,24383,24389,23779,23783,23787,23791,23795,16593,24501,24503,24505,24499,24639,24341,24339,24343,24353,24349,24687,23903,23905,24237,23891,23889,23895,23897,23923,23919,16601,25469,25468,24891,14189,14188,14190,14185,14184,14951,14953,14949,14947,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 85100.00Using index condition

Time Before: 0.07401 seconds
Time After: 0.07491 seconds
Time Taken: 0.00090 seconds

Memory Before: 2,336.555 KB
Memory After: 2,541.117 KB
Memory Used: 204.563 KB

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

Time Before: 0.07617 seconds
Time After: 0.07630 seconds
Time Taken: 0.00013 seconds

Memory Before: 2,535.898 KB
Memory After: 2,552.180 KB
Memory Used: 16.281 KB

SQL Query
FROM post AS post
WHERE threadid = 368659 AND visible = 1

AND dateline <= 1520365384
1SIMPLEpost refthreadid,dateline,threadid_visible_datelinethreadid4const15.00Using where

Time Before: 0.07827 seconds
Time After: 0.07849 seconds
Time Taken: 0.00022 seconds

Memory Before: 2,539.203 KB
Memory After: 2,555.453 KB
Memory Used: 16.250 KB

SQL Query
SELECT  post.postid, post.attach
FROM post AS post

WHERE post.threadid = 368659
	AND post.visible = 1
ORDER BY post.dateline 
LIMIT 0, 15
1SIMPLEpost refthreadid,threadid_visible_datelinethreadid_visible_dateline6const,const110.00Using index condition

Time Before: 0.07894 seconds
Time After: 0.07913 seconds
Time Taken: 0.00019 seconds

Memory Before: 2,545.422 KB
Memory After: 2,561.500 KB
Memory Used: 16.078 KB

SQL Query
	post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
	user.*, userfield.*, usertextfield.*,
	icon.title as icontitle, icon.iconpath,
	avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
	editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
	editlog.reason AS edit_reason, editlog.hashistory,
	postparsed.pagetext_html, postparsed.hasimages,
	sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,
	sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight,
	IF(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
	, '' AS field5, '' AS field6, '' AS field7, '' AS field18, '' AS field8, '' AS field9, '' AS field10, '' AS field11, '' AS field12, '' AS field13, '' AS field14, '' AS field15, '' AS field16, '' AS field17
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)

LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 19 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 19 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)

WHERE post.postid IN (01527082)
ORDER BY post.dateline
1SIMPLEavatar systemPRIMARY   00.00const row not found
1SIMPLEpostparsed systemPRIMARY   00.00const row not found
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 
1SIMPLEuser constPRIMARYPRIMARY4const1100.00 
1SIMPLEuserfield constPRIMARYPRIMARY4const1100.00 
1SIMPLEusertextfield constPRIMARYPRIMARY4const1100.00 
1SIMPLEicon constPRIMARYPRIMARY2const00.00unique row not found
1SIMPLEcustomavatar constPRIMARYPRIMARY4const00.00unique row not found
1SIMPLEeditlog constPRIMARYPRIMARY4const00.00unique row not found
1SIMPLEsigparsed constPRIMARYPRIMARY8const,const,const00.00unique row not found
1SIMPLEsigpic constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.08025 seconds
Time After: 0.08098 seconds
Time Taken: 0.00074 seconds

Memory Before: 2,555.063 KB
Memory After: 2,571.828 KB
Memory Used: 16.766 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vb_types.types'
1SIMPLEcache constPRIMARYPRIMARY66const1100.00 

Time Before: 0.08486 seconds
Time After: 0.08503 seconds
Time Taken: 0.00017 seconds

Memory Before: 2,702.141 KB
Memory After: 2,718.594 KB
Memory Used: 16.453 KB

Time after parsing all posts: 0.086500883102417 Memory After: 2,703KB
SQL Query
SELECT user.username, user.usergroupid, user.membergroupids,
	session.userid, session.inthread, session.lastactivity, session.badlocation,
	IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid,
	IF(user.options & 512, 1, 0) AS invisible
FROM session AS session
LEFT JOIN user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > 1521664795
ORDER BY  lastactivity DESC
1SIMPLEsession ALLlast_activity   103395.93Using where; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4webdev.session.userid1100.00 

Time Before: 0.08695 seconds
Time After: 0.08991 seconds
Time Taken: 0.00296 seconds

Memory Before: 2,704.781 KB
Memory After: 2,944.242 KB
Memory Used: 239.461 KB

SQL Query
UPDATE session
SET lastactivity = 1521666595, location = 'showthread.php?t=368659', inforum = 10, inthread = 368659, incalendar = 0, badlocation = 0
WHERE sessionhash = 'e39e1dcc66481926c051fc589cedf104'

Time Before: 0.09418 seconds
Time After: 0.09600 seconds
Time Taken: 0.00182 seconds

Memory Before: 2,863.750 KB
Memory After: 2,863.625 KB
Memory Used: -0.125 KB

SQL Query
UPDATE thread
SET views = views + 1
WHERE threadid = 368659

Time Before: 0.09604 seconds
Time After: 0.09757 seconds
Time Taken: 0.00153 seconds

Memory Before: 2,860.688 KB
Memory After: 2,860.813 KB
Memory Used: 0.125 KB

Page generated in 0.093569993972778 seconds with 17 queries, spending 0.011857032775879 doing MySQL queries and 0.081712961196899 doing PHP things.
Shutdown Queries: