Including Functions.php

Time Before: 0.00052 seconds
Time After: 0.00056 seconds
Time Taken: 0.00004 seconds

Memory Before: 417.609 KB
Memory After: 419.445 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00062 seconds
Time After: 0.00180 seconds
Time Taken: 0.00118 seconds

Memory Before: 419.430 KB
Memory After: 420.320 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00221 seconds
Time After: 0.00241 seconds
Time Taken: 0.00020 seconds

Memory Before: 420.367 KB
Memory After: 420.422 KB
Memory Used: 0.055 KB

Datastore Setup

Time Before: 0.00244 seconds
Time After: 0.00325 seconds
Time Taken: 0.00081 seconds

Memory Before: 420.211 KB
Memory After: 547.813 KB
Memory Used: 127.602 KB

Session Handling
SQL Query
SELECT *
FROM vb_session
WHERE userid = 0
	AND host = '18.189.22.136'
	AND idhash = '7edea5935956c0d899b9a332f531b357'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_sessionALL    55Using where

Time Before: 0.00442 seconds
Time After: 0.00474 seconds
Time Taken: 0.00032 seconds

Memory Before: 554.984 KB
Memory After: 571.430 KB
Memory Used: 16.445 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 vb_language
WHERE languageid = 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_languageconstPRIMARYPRIMARY2const1 

Time Before: 0.00579 seconds
Time After: 0.00648 seconds
Time Taken: 0.00068 seconds

Memory Before: 560.930 KB
Memory After: 713.875 KB
Memory Used: 152.945 KB

Time Before: 0.00345 seconds
Time After: 0.00659 seconds
Time Taken: 0.00314 seconds

Memory Before: 552.539 KB
Memory After: 641.367 KB
Memory Used: 88.828 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 vb_post AS post

LEFT JOIN vb_editlog AS editlog ON (editlog.postid = post.postid)

WHERE post.postid = 42
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.00825 seconds
Time After: 0.00867 seconds
Time Taken: 0.00043 seconds

Memory Before: 703.805 KB
Memory After: 720.203 KB
Memory Used: 16.398 KB

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



thread.*


FROM vb_thread AS thread






WHERE thread.threadid = 25
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.00922 seconds
Time After: 0.00954 seconds
Time Taken: 0.00032 seconds

Memory Before: 706.680 KB
Memory After: 723.250 KB
Memory Used: 16.570 KB

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

Time Before: 0.00998 seconds
Time After: 0.01037 seconds
Time Taken: 0.00038 seconds

Memory Before: 711.234 KB
Memory After: 791.742 KB
Memory Used: 80.508 KB

SQL Query
SELECT title, template
FROM vb_template
WHERE templateid IN (1238,1239,1241,1240,1323,1730,1356,1357,1359,1366,1365,1535,1539,1525,1526,1528,1527,1530,1532,1533,1534,1536,1538,1261,1263,1265,1267,1566,1568,1571,1572,1569,1567,1640,1641,1518,1517,1519,1523,1521,1668,1301,1300,1302,1303,1733,1728,1734,1236,1235,1237,1232,1231,1509,1460,1461,1462,1463,1729,1732,1741,1482,1483,1484,1485,1683,1746,1745,1747,1750)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_templaterangePRIMARYPRIMARY4 70Using where

Time Before: 0.01157 seconds
Time After: 0.01261 seconds
Time Taken: 0.00104 seconds

Memory Before: 836.391 KB
Memory After: 995.945 KB
Memory Used: 159.555 KB

End call of global.php: 0.013803005218506
SQL Query
SELECT COUNT(*) AS posts
FROM vb_post AS post
WHERE threadid = 25 AND visible = 1
AND dateline <= 1685306284
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostALLthreadid   3Using where

Time Before: 0.01503 seconds
Time After: 0.01552 seconds
Time Taken: 0.00049 seconds

Memory Before: 1,007.914 KB
Memory After: 1,024.094 KB
Memory Used: 16.180 KB

SQL Query
SELECT post.postid
FROM vb_post AS post

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

Time Before: 0.01627 seconds
Time After: 0.01826 seconds
Time Taken: 0.00198 seconds

Memory Before: 1,010.211 KB
Memory After: 1,026.422 KB
Memory Used: 16.211 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(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
	
	
FROM vb_post AS post
LEFT JOIN vb_user AS user ON(user.userid = post.userid)
LEFT JOIN vb_userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN vb_usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN vb_icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN vb_avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN vb_customavatar AS customavatar ON(customavatar.userid = user.userid)

	
LEFT JOIN vb_editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN vb_postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 1 AND postparsed.languageid = 2)
LEFT JOIN vb_sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 1 AND sigparsed.languageid = 2)
LEFT JOIN vb_sigpic AS sigpic ON(sigpic.userid = post.userid)
	
WHERE post.postid IN (0,40,41,42)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostALLPRIMARY   3Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vbtorrents.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4vbtorrents.user.userid1Using where
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4vbtorrents.user.userid1Using where
1SIMPLEiconeq_refPRIMARYPRIMARY2vbtorrents.post.iconid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2vbtorrents.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4vbtorrents.user.userid1Using where
1SIMPLEeditlogeq_refPRIMARYPRIMARY4vbtorrents.post.postid1 
1SIMPLEpostparsedeq_refPRIMARYPRIMARY8vbtorrents.post.postid,const,const1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8vbtorrents.user.userid,const,const1Using where
1SIMPLEsigpiceq_refPRIMARYPRIMARY4vbtorrents.post.userid1 

Time Before: 0.02003 seconds
Time After: 0.02143 seconds
Time Taken: 0.00139 seconds

Memory Before: 1,015.711 KB
Memory After: 1,078.336 KB
Memory Used: 62.625 KB

Time after parsing all posts: 0.025511980056763 Memory After: 1,048KB
SQL Query
UPDATE vb_session
SET lastactivity = 1715210740, location = '/showthread.php?p=42&explain=1', inforum = 2, inthread = 25, incalendar = 0, badlocation = 0, useragent = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
WHERE sessionhash = 'b06302610c5bd17821157306e4121ec6'

Time Before: 0.02867 seconds
Time After: 0.02908 seconds
Time Taken: 0.00042 seconds

Memory Before: 1,280.313 KB
Memory After: 1,280.109 KB
Memory Used: -0.203 KB

SQL Query
INSERT INTO vb_threadviews (threadid)
VALUES (25)

Time Before: 0.02912 seconds
Time After: 0.03182 seconds
Time Taken: 0.00270 seconds

Memory Before: 1,277.461 KB
Memory After: 1,277.508 KB
Memory Used: 0.047 KB

Page generated in 0.028377056121826 seconds with 12 queries, spending 0.011547088623047 doing MySQL queries and 0.016829967498779 doing PHP things.
Shutdown Queries:
DISABLED