Including Functions.php

Time Before: 0.00148 seconds
Time After: 0.00156 seconds
Time Taken: 0.00007 seconds

Memory Before: 481.156 KB
Memory After: 483.055 KB
Memory Used: 1.898 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.00170 seconds
Time After: 0.00297 seconds
Time Taken: 0.00127 seconds

Memory Before: 483.008 KB
Memory After: 483.773 KB
Memory Used: 0.766 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00333 seconds
Time After: 0.00353 seconds
Time Taken: 0.00020 seconds

Memory Before: 483.797 KB
Memory After: 483.875 KB
Memory Used: 0.078 KB

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

Time Before: 0.00457 seconds
Time After: 0.00537 seconds
Time Taken: 0.00080 seconds

Memory Before: 485.188 KB
Memory After: 549.430 KB
Memory Used: 64.242 KB

Time Before: 0.00361 seconds
Time After: 0.01301 seconds
Time Taken: 0.00941 seconds

Memory Before: 483.633 KB
Memory After: 668.680 KB
Memory Used: 185.047 KB

Session Handling
SQL Query
SELECT sessionhash, lastactivity
FROM session
WHERE userid = 0
	AND host = '216.73.216.218'
	AND idhash = 'ea5a359a73a8141a16de516480d33c34'
ORDER BY lastactivity DESC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefguest_lookup,userid_lastactivityguest_lookup314const,const,const2Using index condition; Using where; Using filesort

Time Before: 0.02546 seconds
Time After: 0.02645 seconds
Time Taken: 0.00099 seconds

Memory Before: 685.805 KB
Memory After: 702.125 KB
Memory Used: 16.320 KB

SQL Query
SELECT userid FROM session WHERE sessionhash = '4daef7da6c438fdeb01b36a6268b4e1c'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionconstPRIMARYPRIMARY128const1 

Time Before: 0.02741 seconds
Time After: 0.02767 seconds
Time Taken: 0.00026 seconds

Memory Before: 686.953 KB
Memory After: 703.164 KB
Memory Used: 16.211 KB

SQL Query
DELETE FROM sessiondata WHERE sessionhash = '4daef7da6c438fdeb01b36a6268b4e1c'

Time Before: 0.02844 seconds
Time After: 0.02873 seconds
Time Taken: 0.00029 seconds

Memory Before: 687.781 KB
Memory After: 687.766 KB
Memory Used: -0.016 KB

SQL Query
DELETE FROM session WHERE sessionhash = '4daef7da6c438fdeb01b36a6268b4e1c'

Time Before: 0.02890 seconds
Time After: 0.03137 seconds
Time Taken: 0.00247 seconds

Memory Before: 688.531 KB
Memory After: 688.516 KB
Memory Used: -0.016 KB

SQL Query
UPDATE sessionguard
SET guestcount = GREATEST(0, guestcount + -1)
WHERE guardid = 1

Time Before: 0.03151 seconds
Time After: 0.06432 seconds
Time Taken: 0.03280 seconds

Memory Before: 688.859 KB
Memory After: 688.875 KB
Memory Used: 0.016 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,
			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
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguageconstPRIMARYPRIMARY2const1 

Time Before: 0.06517 seconds
Time After: 0.06584 seconds
Time Taken: 0.00067 seconds

Memory Before: 694.297 KB
Memory After: 918.961 KB
Memory Used: 224.664 KB

Time Before: 0.01335 seconds
Time After: 0.06602 seconds
Time Taken: 0.05266 seconds

Memory Before: 670.859 KB
Memory After: 808.414 KB
Memory Used: 137.555 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 = 49
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARY,post_postid_threadidPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.07295 seconds
Time After: 0.07325 seconds
Time Taken: 0.00030 seconds

Memory Before: 958.445 KB
Memory After: 974.391 KB
Memory Used: 15.945 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 40
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.07361 seconds
Time After: 0.07387 seconds
Time Taken: 0.00026 seconds

Memory Before: 961.797 KB
Memory After: 977.773 KB
Memory Used: 15.977 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 1 AND userselect = 1)
	OR styleid = 1
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstyleconstPRIMARYPRIMARY2const1 

Time Before: 0.07448 seconds
Time After: 0.07482 seconds
Time Taken: 0.00033 seconds

Memory Before: 966.602 KB
Memory After: 1,054.922 KB
Memory Used: 88.320 KB

End call of global.php: 0.077538967132568
SQL Query
SELECT COUNT(*) AS posts
FROM post AS post
WHERE threadid = 40 AND visible = 1

AND dateline <= 1795348492
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadid,idx_post_datelinethreadid4const1Using where

Time Before: 0.07903 seconds
Time After: 0.07951 seconds
Time Taken: 0.00049 seconds

Memory Before: 1,160.891 KB
Memory After: 1,176.930 KB
Memory Used: 16.039 KB

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

WHERE post.threadid = 40
	AND post.visible = 1
	
	
ORDER BY post.dateline 
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadidthreadid4const1Using where; Using filesort

Time Before: 0.07993 seconds
Time After: 0.08024 seconds
Time Taken: 0.00031 seconds

Memory Before: 1,162.984 KB
Memory After: 1,179.086 KB
Memory Used: 16.102 KB

SQL Query
SELECT
	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 = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 1 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
	
WHERE post.postid IN (0,49)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangePRIMARY,post_postid_threadidpost_postid_threadid4 2Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vb3.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4vbsupport_vb3.user.userid1Using where
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4vbsupport_vb3.user.userid1Using where
1SIMPLEiconeq_refPRIMARYPRIMARY2vbsupport_vb3.post.iconid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2vbsupport_vb3.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4vbsupport_vb3.user.userid1Using where
1SIMPLEeditlogeq_refPRIMARYPRIMARY4vbsupport_vb3.post.postid1 
1SIMPLEpostparsedeq_refPRIMARYPRIMARY8vbsupport_vb3.post.postid,const,const1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8vbsupport_vb3.user.userid,const,const1Using where
1SIMPLEsigpiceq_refPRIMARYPRIMARY4vbsupport_vb3.post.userid1 

Time Before: 0.08301 seconds
Time After: 0.08428 seconds
Time Taken: 0.00127 seconds

Memory Before: 1,168.602 KB
Memory After: 1,223.008 KB
Memory Used: 54.406 KB

Time after parsing all posts: 0.085525989532471 Memory After: 1,195KB
SQL Query
SELECT active, allow_auto_split, allow_auto_soft_delete, allow_auto_hard_delete
FROM ai_thread_processor_config
WHERE configid = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEai_thread_processor_configconstPRIMARYPRIMARY1const1 

Time Before: 0.08820 seconds
Time After: 0.08845 seconds
Time Taken: 0.00024 seconds

Memory Before: 1,216.508 KB
Memory After: 1,232.750 KB
Memory Used: 16.242 KB

SQL Query
INSERT INTO session
	(sessionhash, userid, host, idhash, lastactivity, location, languageid, inforum, inthread, incalendar, badlocation, useragent)
VALUES
	('2218d8c81ed44e18a96f5f2d4210e393', 0, '216.73.216.218', 'ea5a359a73a8141a16de516480d33c34', 1795384564, '/showthread.php?explain=1&p=49', 0, 2, 40, 0, 0, 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)')
ON DUPLICATE KEY UPDATE userid = VALUES(userid), host = VALUES(host), idhash = VALUES(idhash), lastactivity = VALUES(lastactivity), location = VALUES(location), languageid = VALUES(languageid), inforum = VALUES(inforum), inthread = VALUES(inthread), incalendar = VALUES(incalendar), badlocation = VALUES(badlocation), useragent = VALUES(useragent)

Time Before: 0.09090 seconds
Time After: 0.09204 seconds
Time Taken: 0.00113 seconds

Memory Before: 1,306.422 KB
Memory After: 1,306.547 KB
Memory Used: 0.125 KB

SQL Query
UPDATE sessionguard
SET guestcount = guestcount + 1
WHERE guardid = 1 AND guestcount < 1000000

Time Before: 0.09210 seconds
Time After: 0.09300 seconds
Time Taken: 0.00090 seconds

Memory Before: 1,304.984 KB
Memory After: 1,305.125 KB
Memory Used: 0.141 KB

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

Time Before: 0.09304 seconds
Time After: 0.09380 seconds
Time Taken: 0.00075 seconds

Memory Before: 1,301.063 KB
Memory After: 1,301.109 KB
Memory Used: 0.047 KB

Page generated in 0.089098930358887 seconds with 29 queries, spending 0.045734167098999 doing MySQL queries and 0.043364763259888 doing PHP things.
Shutdown Queries:
DISABLED