Including Functions.php

Time Before: 0.00516 seconds
Time After: 0.01197 seconds
Time Taken: 0.00680 seconds

Memory Before: 2,678.875 KB
Memory After: 4,120.938 KB
Memory Used: 1,442.063 KB

Connect to Database on Server: localhost

Time Before: 0.01208 seconds
Time After: 0.01285 seconds
Time Taken: 0.00077 seconds

Memory Before: 4,120.820 KB
Memory After: 4,121.609 KB
Memory Used: 0.789 KB

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

Time Before: 0.01338 seconds
Time After: 0.01376 seconds
Time Taken: 0.00038 seconds

Memory Before: 4,124.078 KB
Memory After: 4,124.789 KB
Memory Used: 0.711 KB

Time Before: 0.01296 seconds
Time After: 0.01522 seconds
Time Taken: 0.00226 seconds

Memory Before: 4,121.109 KB
Memory After: 5,032.891 KB
Memory Used: 911.781 KB

Session Handling
SQL Query
FROM session
WHERE userid = 0
	AND host = ''
	AND idhash = '326feb4e02ef81b61c8e71e86a0c4f1c'
1SIMPLEsessionALL    22583Using where

Time Before: 0.01607 seconds
Time After: 0.02004 seconds
Time Taken: 0.00397 seconds

Memory Before: 5,083.508 KB
Memory After: 5,084.133 KB
Memory Used: 0.625 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,
			phrasegroup_reputationlevel AS phrasegroup_reputationlevel,
			phrasegroup_prefix AS phrasegroup_prefix,
			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
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.02064 seconds
Time After: 0.02091 seconds
Time Taken: 0.00027 seconds

Memory Before: 5,093.977 KB
Memory After: 5,094.602 KB
Memory Used: 0.625 KB

Time Before: 0.01574 seconds
Time After: 0.02102 seconds
Time Taken: 0.00528 seconds

Memory Before: 5,079.719 KB
Memory After: 5,147.336 KB
Memory Used: 67.617 KB

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


FROM thread AS thread

WHERE thread.threadid = 21384

Time Before: 0.02308 seconds
Time After: 0.02321 seconds
Time Taken: 0.00013 seconds

Memory Before: 5,194.336 KB
Memory After: 5,194.961 KB
Memory Used: 0.625 KB

SQL Query
FROM style
WHERE (styleid = 166 AND userselect = 1)
	OR styleid = 166
ORDER BY styleid ASC
1SIMPLEstylesystemPRIMARY   1 

Time Before: 0.02359 seconds
Time After: 0.02373 seconds
Time Taken: 0.00014 seconds

Memory Before: 5,205.563 KB
Memory After: 5,206.180 KB
Memory Used: 0.617 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (9761,9762,9764,9763,9846,10252,9878,9879,9881,9888,9887,10057,10061,10047,10048,10050,10049,10052,10054,10055,10056,10058,10060,9784,9786,9788,9790,10088,10090,10093,10094,10091,10089,10162,10163,10040,10039,10041,10045,10043,10190,9824,9823,9825,9826,10255,10250,10256,9759,9758,9760,9755,9754,10031,9982,9983,9984,9985,10251,10254,10263,10004,10005,10006,10007,10205,10268,10267,10269,10272)
1SIMPLEtemplaterangePRIMARYPRIMARY4 70Using index condition

Time Before: 0.02446 seconds
Time After: 0.02504 seconds
Time Taken: 0.00058 seconds

Memory Before: 5,383.008 KB
Memory After: 5,383.625 KB
Memory Used: 0.617 KB

End call of global.php: 0.0263259410858
SQL Query
SELECT post.postid
FROM post AS post

WHERE post.threadid = 21384
	AND post.visible = 1
ORDER BY post.dateline 
LIMIT 0, 10
1SIMPLEpostrefthreadidthreadid4const3Using where; Using filesort

Time Before: 0.03205 seconds
Time After: 0.03221 seconds
Time Taken: 0.00016 seconds

Memory Before: 6,324.250 KB
Memory After: 6,324.875 KB
Memory Used: 0.625 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(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
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 = 166 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 166 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
WHERE post.postid IN (0,296307,296310)
ORDER BY post.dateline
1SIMPLEpostparsedsystemPRIMARY   0const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 3Using index condition; Using temporary; Using filesort 
1SIMPLEavatarALLPRIMARY   1Using where; Using join buffer (Block Nested Loop)

Time Before: 0.03315 seconds
Time After: 0.03750 seconds
Time Taken: 0.00435 seconds

Memory Before: 6,331.219 KB
Memory After: 6,331.836 KB
Memory Used: 0.617 KB

Time after parsing all posts: 0.0418388843536 Memory After: 6,442KB
Page generated in 0.0438420772552 seconds with 8 queries, spending 0.0107433795929 doing MySQL queries and 0.0330986976624 doing PHP things.
Shutdown Queries:

SQL Query
UPDATE session
SET lastactivity = 1563826739, location = '/showthread.php?t=21384&explain=1', inforum = 51, inthread = 21384, incalendar = 0, badlocation = 0
WHERE sessionhash = '9b4d0a1222677d72803a8c600a97eedf'

Time Before: 0.04447 seconds
Time After: 0.04467 seconds
Time Taken: 0.00020 seconds

Memory Before: 6,924.023 KB
Memory After: 6,924.531 KB
Memory Used: 0.508 KB

SQL Query
INSERT INTO threadviews (threadid)
VALUES (21384)

Time Before: 0.04473 seconds
Time After: 0.04487 seconds
Time Taken: 0.00014 seconds

Memory Before: 6,918.617 KB
Memory After: 6,919.125 KB
Memory Used: 0.508 KB