Including Functions.php

Time Before: 0.00366 seconds
Time After: 0.00963 seconds
Time Taken: 0.00597 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.00977 seconds
Time After: 0.01076 seconds
Time Taken: 0.00100 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.01131 seconds
Time After: 0.01176 seconds
Time Taken: 0.00045 seconds

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

Time Before: 0.01087 seconds
Time After: 0.01326 seconds
Time Taken: 0.00239 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 = '463c884f7d3d8b631b2d2c64ab23ab49'
1SIMPLEsessionALL    15253Using where

Time Before: 0.01414 seconds
Time After: 0.01657 seconds
Time Taken: 0.00242 seconds

Memory Before: 5,083.523 KB
Memory After: 5,084.141 KB
Memory Used: 0.617 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.01718 seconds
Time After: 0.01746 seconds
Time Taken: 0.00027 seconds

Memory Before: 5,093.984 KB
Memory After: 5,094.609 KB
Memory Used: 0.625 KB

Time Before: 0.01379 seconds
Time After: 0.01758 seconds
Time Taken: 0.00379 seconds

Memory Before: 5,079.719 KB
Memory After: 5,147.305 KB
Memory Used: 67.586 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 = 290125
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.01964 seconds
Time After: 0.01980 seconds
Time Taken: 0.00016 seconds

Memory Before: 5,194.555 KB
Memory After: 5,195.180 KB
Memory Used: 0.625 KB

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


FROM thread AS thread

WHERE thread.threadid = 20906

Time Before: 0.02014 seconds
Time After: 0.02029 seconds
Time Taken: 0.00015 seconds

Memory Before: 5,201.672 KB
Memory After: 5,202.297 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.02072 seconds
Time After: 0.02087 seconds
Time Taken: 0.00015 seconds

Memory Before: 5,212.852 KB
Memory After: 5,213.469 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.02161 seconds
Time After: 0.02230 seconds
Time Taken: 0.00069 seconds

Memory Before: 5,390.359 KB
Memory After: 5,390.977 KB
Memory Used: 0.617 KB

End call of global.php: 0.023628950119
SQL Query
FROM post AS post
WHERE threadid = 20906 AND visible = 1
AND dateline <= 1451602620
1SIMPLEpostrefthreadid,datelinethreadid4const20Using where

Time Before: 0.02959 seconds
Time After: 0.02977 seconds
Time Taken: 0.00018 seconds

Memory Before: 6,325.047 KB
Memory After: 6,325.672 KB
Memory Used: 0.625 KB

SQL Query
SELECT post.postid
FROM post AS post

WHERE post.threadid = 20906
	AND post.visible = 1
ORDER BY post.dateline 
LIMIT 10, 10
1SIMPLEpostrefthreadidthreadid4const20Using where; Using filesort

Time Before: 0.03017 seconds
Time After: 0.03036 seconds
Time Taken: 0.00019 seconds

Memory Before: 6,331.930 KB
Memory After: 6,332.555 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,290124,290125)
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.03138 seconds
Time After: 0.03618 seconds
Time Taken: 0.00480 seconds

Memory Before: 6,338.898 KB
Memory After: 6,339.516 KB
Memory Used: 0.617 KB

Time after parsing all posts: 0.0416300296783 Memory After: 6,457KB
Page generated in 0.0436561107635 seconds with 10 queries, spending 0.0104532241821 doing MySQL queries and 0.0332028865814 doing PHP things.
Shutdown Queries:

SQL Query
UPDATE session
SET lastactivity = 1561575466, location = '/showthread.php?p=290125&explain=1', inforum = 54, inthread = 20906, incalendar = 0, badlocation = 0
WHERE sessionhash = '966c922983e1203323b66387d60ad670'

Time Before: 0.04434 seconds
Time After: 0.04457 seconds
Time Taken: 0.00023 seconds

Memory Before: 6,954.211 KB
Memory After: 6,954.719 KB
Memory Used: 0.508 KB

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

Time Before: 0.04464 seconds
Time After: 0.04479 seconds
Time Taken: 0.00014 seconds

Memory Before: 6,948.797 KB
Memory After: 6,949.305 KB
Memory Used: 0.508 KB