Including Functions.php

Time Before: 0.00374 seconds
Time After: 0.00814 seconds
Time Taken: 0.00440 seconds

Memory Before: 1,849.008 KB
Memory After: 2,772.219 KB
Memory Used: 923.211 KB

Connect to Database on Server: localhost

Time Before: 0.00816 seconds
Time After: 0.00893 seconds
Time Taken: 0.00077 seconds

Memory Before: 2,772.180 KB
Memory After: 2,773.102 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.00981 seconds
Time After: 0.01038 seconds
Time Taken: 0.00057 seconds

Memory Before: 2,777.055 KB
Memory After: 2,778.078 KB
Memory Used: 1.023 KB

Time Before: 0.00910 seconds
Time After: 0.01183 seconds
Time Taken: 0.00273 seconds

Memory Before: 2,772.945 KB
Memory After: 3,307.891 KB
Memory Used: 534.945 KB

Session Handling
SQL Query
FROM session
WHERE userid = 0
	AND host = ''
	AND idhash = '13037a3974dc9ca0efb6119a54291b9b'
1SIMPLEsession ALL    1920.52Using where

Time Before: 0.01282 seconds
Time After: 0.01306 seconds
Time Taken: 0.00024 seconds

Memory Before: 3,346.656 KB
Memory After: 3,347.141 KB
Memory Used: 0.484 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.01373 seconds
Time After: 0.01411 seconds
Time Taken: 0.00038 seconds

Memory Before: 3,360.555 KB
Memory After: 3,360.484 KB
Memory Used: -0.070 KB

Time Before: 0.01239 seconds
Time After: 0.01421 seconds
Time Taken: 0.00181 seconds

Memory Before: 3,341.742 KB
Memory After: 3,432.289 KB
Memory Used: 90.547 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 = 170773
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 
1SIMPLEeditlog constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.01575 seconds
Time After: 0.01586 seconds
Time Taken: 0.00011 seconds

Memory Before: 3,486.867 KB
Memory After: 3,487.359 KB
Memory Used: 0.492 KB

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


FROM thread AS thread

WHERE thread.threadid = 109720
1SIMPLEthread constPRIMARYPRIMARY4const1100.00 

Time Before: 0.01616 seconds
Time After: 0.01624 seconds
Time Taken: 0.00008 seconds

Memory Before: 3,494.625 KB
Memory After: 3,495.320 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.01659 seconds
Time After: 0.01668 seconds
Time Taken: 0.00009 seconds

Memory Before: 3,506.430 KB
Memory After: 3,507.047 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.01733 seconds
Time After: 0.01792 seconds
Time Taken: 0.00060 seconds

Memory Before: 3,676.969 KB
Memory After: 3,678.914 KB
Memory Used: 1.945 KB

End call of global.php: 0.018786907196045
SQL Query
FROM post AS post
WHERE threadid = 109720 AND visible = 1
AND dateline <= 1432491972
1SIMPLEpost refthreadidthreadid4const15.00Using where

Time Before: 0.02351 seconds
Time After: 0.02359 seconds
Time Taken: 0.00008 seconds

Memory Before: 4,252.906 KB
Memory After: 4,253.438 KB
Memory Used: 0.531 KB

SQL Query
SELECT post.postid
FROM post AS post

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

Time Before: 0.02388 seconds
Time After: 0.02397 seconds
Time Taken: 0.00009 seconds

Memory Before: 4,260.406 KB
Memory After: 4,260.914 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,170773)
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.02503 seconds
Time After: 0.02542 seconds
Time Taken: 0.00039 seconds

Memory Before: 4,268.180 KB
Memory After: 4,268.023 KB
Memory Used: -0.156 KB

Time after parsing all posts: 0.026501893997192 Memory After: 4,339KB
SQL Query
	(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass, profileupdate)
	('4cf1a89733c0f15f279f674c57147262', 0, '', '13037a3974dc9ca0efb6119a54291b9b', 1606452806, '/showthread.php?p=170773&explain=1', 0, 0, 0, 24, 109720, 0, 0, 'CCBot/2.0 (', 0, 0)

Time Before: 0.02793 seconds
Time After: 0.02801 seconds
Time Taken: 0.00008 seconds

Memory Before: 4,903.102 KB
Memory After: 4,903.109 KB
Memory Used: 0.008 KB

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

Time Before: 0.02803 seconds
Time After: 0.02814 seconds
Time Taken: 0.00011 seconds

Memory Before: 4,898.742 KB
Memory After: 4,899.133 KB
Memory Used: 0.391 KB

Page generated in 0.027628898620605 seconds with 12 queries, spending 0.0035839080810547 doing MySQL queries and 0.024044990539551 doing PHP things.
Shutdown Queries: