Including Functions.php

Time Before: 0.00054 seconds
Time After: 0.00061 seconds
Time Taken: 0.00007 seconds

Memory Before: 442.086 KB
Memory After: 509.039 KB
Memory Used: 66.953 KB

Connect to Database on Server:

Time Before: 0.00065 seconds
Time After: 0.00120 seconds
Time Taken: 0.00055 seconds

Memory Before: 509.016 KB
Memory After: 509.906 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00142 seconds
Time After: 0.00155 seconds
Time Taken: 0.00013 seconds

Memory Before: 509.930 KB
Memory After: 509.984 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.00206 seconds
Time After: 0.00262 seconds
Time Taken: 0.00056 seconds

Memory Before: 511.875 KB
Memory After: 745.805 KB
Memory Used: 233.930 KB

Time Before: 0.00157 seconds
Time After: 0.01428 seconds
Time Taken: 0.01270 seconds

Memory Before: 509.750 KB
Memory After: 1,090.828 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.01546 seconds
Time After: 0.01570 seconds
Time Taken: 0.00024 seconds

Memory Before: 1,254.789 KB
Memory After: 1,271.555 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.01637 seconds
Time After: 0.01673 seconds
Time Taken: 0.00036 seconds

Memory Before: 1,263.039 KB
Memory After: 1,347.617 KB
Memory Used: 84.578 KB

Time Before: 0.01494 seconds
Time After: 0.01684 seconds
Time Taken: 0.00189 seconds

Memory Before: 1,251.016 KB
Memory After: 1,335.094 KB
Memory Used: 84.078 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 = 368673 LIMIT 1
1SIMPLEthread constPRIMARYPRIMARY4const1100.00 
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 

Time Before: 0.02464 seconds
Time After: 0.02489 seconds
Time Taken: 0.00025 seconds

Memory Before: 1,533.383 KB
Memory After: 1,549.961 KB
Memory Used: 16.578 KB

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

Time Before: 0.08933 seconds
Time After: 0.08952 seconds
Time Taken: 0.00019 seconds

Memory Before: 1,620.492 KB
Memory After: 1,636.680 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.09009 seconds
Time After: 0.09040 seconds
Time Taken: 0.00031 seconds

Memory Before: 1,613.672 KB
Memory After: 1,742.313 KB
Memory Used: 128.641 KB

End call of global.php: 0.094230890274048
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.10392 seconds
Time After: 0.10475 seconds
Time Taken: 0.00083 seconds

Memory Before: 2,329.273 KB
Memory After: 2,533.836 KB
Memory Used: 204.563 KB

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

Time Before: 0.10583 seconds
Time After: 0.10603 seconds
Time Taken: 0.00021 seconds

Memory Before: 2,528.555 KB
Memory After: 2,544.836 KB
Memory Used: 16.281 KB

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

WHERE post.threadid = 368673
	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.10830 seconds
Time After: 0.10853 seconds
Time Taken: 0.00023 seconds

Memory Before: 2,537.727 KB
Memory After: 2,553.805 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 (01527132)
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.10944 seconds
Time After: 0.11002 seconds
Time Taken: 0.00058 seconds

Memory Before: 2,547.367 KB
Memory After: 2,564.133 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.11348 seconds
Time After: 0.11365 seconds
Time Taken: 0.00016 seconds

Memory Before: 2,693.883 KB
Memory After: 2,710.336 KB
Memory Used: 16.453 KB

Time after parsing all posts: 0.1151020526886 Memory After: 2,695KB
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 > 1521358719
ORDER BY  lastactivity DESC
1SIMPLEsession ALLlast_activity   95295.48Using where; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4webdev.session.userid1100.00 

Time Before: 0.11556 seconds
Time After: 0.11798 seconds
Time Taken: 0.00243 seconds

Memory Before: 2,696.633 KB
Memory After: 2,916.797 KB
Memory Used: 220.164 KB

SQL Query
UPDATE session
SET lastactivity = 1521360519, location = 'showthread.php?t=368673', inforum = 7, inthread = 368673, badlocation = 0
WHERE sessionhash = '775cf0a2c427d787d1744b7a89f91307'

Time Before: 0.12199 seconds
Time After: 0.12317 seconds
Time Taken: 0.00118 seconds

Memory Before: 2,851.164 KB
Memory After: 2,851.070 KB
Memory Used: -0.094 KB

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

Time Before: 0.12320 seconds
Time After: 0.12410 seconds
Time Taken: 0.00090 seconds

Memory Before: 2,848.172 KB
Memory After: 2,848.297 KB
Memory Used: 0.125 KB

Page generated in 0.12137889862061 seconds with 15 queries, spending 0.0091085433959961 doing MySQL queries and 0.11227035522461 doing PHP things.
Shutdown Queries: