Including Functions.php

Time Before: 0.00235 seconds
Time After: 0.00590 seconds
Time Taken: 0.00355 seconds

Memory Before: 1,849.039 KB
Memory After: 2,772.195 KB
Memory Used: 923.156 KB

Connect to Database on Server: localhost

Time Before: 0.00593 seconds
Time After: 0.00653 seconds
Time Taken: 0.00060 seconds

Memory Before: 2,772.156 KB
Memory After: 2,773.078 KB
Memory Used: 0.922 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')
1SIMPLEdatastore rangePRIMARYPRIMARY150 18100.00Using index condition

Time Before: 0.00707 seconds
Time After: 0.00750 seconds
Time Taken: 0.00043 seconds

Memory Before: 2,777.047 KB
Memory After: 2,778.070 KB
Memory Used: 1.023 KB

Time Before: 0.00658 seconds
Time After: 0.00817 seconds
Time Taken: 0.00159 seconds

Memory Before: 2,772.922 KB
Memory After: 3,307.914 KB
Memory Used: 534.992 KB

Session Handling
SQL Query
FROM session
WHERE userid = 0
	AND host = ''
	AND idhash = '9f979d70e263cee2c9dec3046b0e4a4c'
1SIMPLEsession ALL    841.19Using where

Time Before: 0.00872 seconds
Time After: 0.00883 seconds
Time Taken: 0.00011 seconds

Memory Before: 3,346.703 KB
Memory After: 3,347.328 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,
			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 = 2
1SIMPLElanguage constPRIMARYPRIMARY2const1100.00 

Time Before: 0.00935 seconds
Time After: 0.00964 seconds
Time Taken: 0.00029 seconds

Memory Before: 3,358.703 KB
Memory After: 3,358.633 KB
Memory Used: -0.070 KB

Time Before: 0.00844 seconds
Time After: 0.00970 seconds
Time Taken: 0.00126 seconds

Memory Before: 3,341.789 KB
Memory After: 3,430.828 KB
Memory Used: 89.039 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 = 180001
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 
1SIMPLEeditlog constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.01070 seconds
Time After: 0.01082 seconds
Time Taken: 0.00012 seconds

Memory Before: 3,487.547 KB
Memory After: 3,488.039 KB
Memory Used: 0.492 KB

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


FROM thread AS thread

WHERE thread.threadid = 117152
1SIMPLEthread constPRIMARYPRIMARY4const1100.00 

Time Before: 0.01112 seconds
Time After: 0.01121 seconds
Time Taken: 0.00009 seconds

Memory Before: 3,496.164 KB
Memory After: 3,496.859 KB
Memory Used: 0.695 KB

SQL Query
FROM style
WHERE (styleid = 1 AND userselect = 1)
	OR styleid = 1
ORDER BY styleid ASC
1SIMPLEstyle systemPRIMARY   1100.00 

Time Before: 0.01156 seconds
Time After: 0.01168 seconds
Time Taken: 0.00012 seconds

Memory Before: 3,508.039 KB
Memory After: 3,508.656 KB
Memory Used: 0.617 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (69,70,72,71,154,560,186,187,189,196,195,365,369,355,356,358,357,360,362,363,364,366,368,92,94,96,98,396,398,401,402,399,397,470,471,348,347,349,353,351,498,132,131,133,134,563,581,564,585,586,68,63,62,339,290,291,292,293,559,562,571,312,313,314,315,513,576,575,577,580)
1SIMPLEtemplate rangePRIMARYPRIMARY4 70100.00Using index condition

Time Before: 0.01228 seconds
Time After: 0.01284 seconds
Time Taken: 0.00056 seconds

Memory Before: 3,678.570 KB
Memory After: 3,680.516 KB
Memory Used: 1.945 KB

End call of global.php: 0.013465881347656
SQL Query
FROM post AS post
WHERE threadid = 117152 AND visible = 1
AND dateline <= 1522165055
1SIMPLEpost refthreadidthreadid4const23.33Using where

Time Before: 0.01729 seconds
Time After: 0.01737 seconds
Time Taken: 0.00008 seconds

Memory Before: 4,254.727 KB
Memory After: 4,255.258 KB
Memory Used: 0.531 KB

SQL Query
SELECT post.postid
FROM post AS post

WHERE post.threadid = 117152
	AND post.visible = 1
ORDER BY post.dateline 
LIMIT 0, 10
1SIMPLEpost refthreadidthreadid4const210.00Using index condition; Using where; Using filesort

Time Before: 0.01766 seconds
Time After: 0.01775 seconds
Time Taken: 0.00009 seconds

Memory Before: 4,261.828 KB
Memory After: 4,262.336 KB
Memory Used: 0.508 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
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 = 1 AND postparsed.languageid = 2)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 1 AND sigparsed.languageid = 2)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
WHERE post.postid IN (0,180001)
ORDER BY post.dateline
1SIMPLEavatar systemPRIMARY   00.00const row not found
1SIMPLEcustomavatar systemPRIMARY   00.00const row not found
1SIMPLEpostparsed systemPRIMARY   00.00const row not found
1SIMPLEsigparsed systemPRIMARY   00.00const row not found
1SIMPLEsigpic systemPRIMARY   00.00const row not found
1SIMPLEpost rangePRIMARYPRIMARY4 2100.00Using index condition; Using filesort
1SIMPLEuserfield eq_refPRIMARYPRIMARY4h23696_denezka.user.userid1100.00 
1SIMPLEusertextfield eq_refPRIMARYPRIMARY4h23696_denezka.user.userid1100.00 

Time Before: 0.01892 seconds
Time After: 0.01930 seconds
Time Taken: 0.00038 seconds

Memory Before: 4,269.602 KB
Memory After: 4,269.445 KB
Memory Used: -0.156 KB

Time after parsing all posts: 0.021914005279541 Memory After: 4,343KB
SQL Query
UPDATE session
SET lastactivity = 1594370557, location = '/showthread.php?p=180001&explain=1', inforum = 40, inthread = 117152, incalendar = 0, badlocation = 0
WHERE sessionhash = 'c4220b1b9d3d7255d994fe406f8ad29d'

Time Before: 0.02418 seconds
Time After: 0.02426 seconds
Time Taken: 0.00008 seconds

Memory Before: 4,911.891 KB
Memory After: 4,912.102 KB
Memory Used: 0.211 KB

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

Time Before: 0.02430 seconds
Time After: 0.02442 seconds
Time Taken: 0.00013 seconds

Memory Before: 4,906.195 KB
Memory After: 4,906.586 KB
Memory Used: 0.391 KB

Page generated in 0.023684978485107 seconds with 12 queries, spending 0.0030732154846191 doing MySQL queries and 0.020611763000488 doing PHP things.
Shutdown Queries: