Including Functions.php

Time Before: 0.07705 seconds
Time After: 0.19552 seconds
Time Taken: 0.11847 seconds

Memory Before: 3,417.969 KB
Memory After: 5,776.969 KB
Memory Used: 2,359.000 KB

Connect to Database on Server: sql.local

Time Before: 0.19621 seconds
Time After: 0.19955 seconds
Time Taken: 0.00334 seconds

Memory Before: 5,778.414 KB
Memory After: 5,780.969 KB
Memory Used: 2.555 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.20082 seconds
Time After: 0.20134 seconds
Time Taken: 0.00052 seconds

Memory Before: 5,779.109 KB
Memory After: 5,780.289 KB
Memory Used: 1.180 KB

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

Time Before: 0.20550 seconds
Time After: 0.21161 seconds
Time Taken: 0.00611 seconds

Memory Before: 5,782.789 KB
Memory After: 5,783.594 KB
Memory Used: 0.805 KB

Time Before: 0.20170 seconds
Time After: 0.22827 seconds
Time Taken: 0.02657 seconds

Memory Before: 5,778.234 KB
Memory After: 6,394.898 KB
Memory Used: 616.664 KB

Session Handling
SQL Query
FROM session
WHERE userid = 0
	AND host = ''
	AND idhash = 'f2746251320ed307d23d703d7e2f2062'
1SIMPLEsessionrefguest_lookup,user_activityguest_lookup51const,const,const2Using where

Time Before: 0.26225 seconds
Time After: 0.26347 seconds
Time Taken: 0.00122 seconds

Memory Before: 7,198.758 KB
Memory After: 7,199.711 KB
Memory Used: 0.953 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 = 2
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.26875 seconds
Time After: 0.32742 seconds
Time Taken: 0.05867 seconds

Memory Before: 7,210.055 KB
Memory After: 7,210.297 KB
Memory Used: 0.242 KB

Time Before: 0.25785 seconds
Time After: 0.32915 seconds
Time Taken: 0.07130 seconds

Memory Before: 7,190.602 KB
Memory After: 7,283.383 KB
Memory Used: 92.781 KB

SQL Query
FROM datastore
WHERE title IN ('routes')

Time Before: 0.33475 seconds
Time After: 0.33573 seconds
Time Taken: 0.00097 seconds

Memory Before: 7,297.883 KB
Memory After: 7,298.922 KB
Memory Used: 1.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 = 9952
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.38110 seconds
Time After: 0.38335 seconds
Time Taken: 0.00225 seconds

Memory Before: 7,586.008 KB
Memory After: 7,586.797 KB
Memory Used: 0.789 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 = 6871

Time Before: 0.38753 seconds
Time After: 0.38981 seconds
Time Taken: 0.00227 seconds

Memory Before: 7,614.164 KB
Memory After: 7,614.992 KB
Memory Used: 0.828 KB

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

Time Before: 0.40940 seconds
Time After: 0.41492 seconds
Time Taken: 0.00552 seconds

Memory Before: 7,894.352 KB
Memory After: 7,895.328 KB
Memory Used: 0.977 KB

End call of global.php: 0.43049693107605
SQL Query
FROM post AS post
WHERE threadid = 6871 AND visible = 1

AND dateline <= 1656596503
1SIMPLEpostrefthreadid,threadid_visible_dateline,datelinethreadid4const1Using where

Time Before: 0.53913 seconds
Time After: 0.54055 seconds
Time Taken: 0.00142 seconds

Memory Before: 10,138.320 KB
Memory After: 10,139.305 KB
Memory Used: 0.984 KB

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

WHERE post.threadid = 6871
	AND post.visible = 1
ORDER BY post.dateline 
LIMIT 0, 10
1SIMPLEpostrefthreadid,threadid_visible_datelinethreadid_visible_dateline6const,const1Using where

Time Before: 0.54586 seconds
Time After: 0.54714 seconds
Time Taken: 0.00128 seconds

Memory Before: 10,146.344 KB
Memory After: 10,147.273 KB
Memory Used: 0.930 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 field7
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 = 2 AND postparsed.languageid = 2)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 2 AND sigparsed.languageid = 2)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)

WHERE post.postid IN (09952)
ORDER BY post.dateline
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEsigpicsystemPRIMARY   0const row not found
1SIMPLEiconconstPRIMARYPRIMARY2const0unique row not found
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEsigparsedconstPRIMARYPRIMARY8const,const,const0unique row not found

Time Before: 0.55729 seconds
Time After: 0.61737 seconds
Time Taken: 0.06008 seconds

Memory Before: 10,153.891 KB
Memory After: 10,153.227 KB
Memory Used: -0.664 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (1614,1613,1615,1616,4267,3812,3813,3815,3821,3820,4015,4019,4005,4006,4008,4007,4010,4012,4013,4014,4017,3713,3715,3717,3719,3721,4069,4073,4074,4075,4072,4142,3993,3992,3994,3999,3997,4166,3774,3775,3941,3768,3767,3770,3771,3784,3782,4276,2256,4227,4297,1609,1608,1610,1600,1599,1606,1607,1605,1604,3983,4279,3929,3933,3930,3931,3932,4295,0,0,4258,4260,3953,3954,3956,3957,4180,4222,4221,4271,4223,3780,3779,3783)
1SIMPLEtemplaterangePRIMARYPRIMARY4 83Using index condition

Time Before: 0.63506 seconds
Time After: 0.65095 seconds
Time Taken: 0.01589 seconds

Memory Before: 10,481.891 KB
Memory After: 10,482.523 KB
Memory Used: 0.633 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vb_types.types'

Time Before: 0.74888 seconds
Time After: 0.74991 seconds
Time Taken: 0.00103 seconds

Memory Before: 11,651.180 KB
Memory After: 11,652.188 KB
Memory Used: 1.008 KB

Time after parsing all posts: 0.77954912185669 Memory After: 11,607KB
SQL Query
FROM navigation
WHERE state & 4 = 0
ORDER BY navtype, displayorder
1SIMPLEnavigationALL    37Using where; Using filesort

Time Before: 0.79577 seconds
Time After: 0.79798 seconds
Time Taken: 0.00220 seconds

Memory Before: 11,639.813 KB
Memory After: 11,640.836 KB
Memory Used: 1.023 KB

SQL Query
UPDATE session
SET lastactivity = 1675116538, location = 'showthread.php?t=6871', inforum = 6, inthread = 6871, badlocation = 0
WHERE sessionhash = '8956e00de9224be7e68b7b1e89dc97a9'

Time Before: 0.86614 seconds
Time After: 0.86777 seconds
Time Taken: 0.00163 seconds

Memory Before: 12,060.953 KB
Memory After: 12,061.750 KB
Memory Used: 0.797 KB

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

Time Before: 0.86830 seconds
Time After: 0.86995 seconds
Time Taken: 0.00165 seconds

Memory Before: 12,055.391 KB
Memory After: 12,056.320 KB
Memory Used: 0.930 KB

Page generated in 0.85911703109741 seconds with 16 queries, spending 0.16605710983276 doing MySQL queries and 0.69305992126465 doing PHP things.
Shutdown Queries: