Including Functions.php

Time Before: 0.00026 seconds
Time After: 0.00030 seconds
Time Taken: 0.00004 seconds

Memory Before: 420.633 KB
Memory After: 422.469 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00034 seconds
Time After: 0.00133 seconds
Time Taken: 0.00099 seconds

Memory Before: 422.453 KB
Memory After: 423.344 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00153 seconds
Time After: 0.00169 seconds
Time Taken: 0.00016 seconds

Memory Before: 423.391 KB
Memory After: 423.445 KB
Memory Used: 0.055 KB

Datastore Setup

Time Before: 0.00171 seconds
Time After: 0.00244 seconds
Time Taken: 0.00072 seconds

Memory Before: 423.234 KB
Memory After: 551.063 KB
Memory Used: 127.828 KB

Session Handling
SQL Query
SELECT *
FROM vb_session
WHERE sessionhash = 'f9e61b54cc964713ce3d8f790b0bece7'
	AND lastactivity > 1716182967
	AND idhash = '5edd0b0e1219f6ae684f5febcc773a60'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_sessionconstPRIMARYPRIMARY96const1 

Time Before: 0.00368 seconds
Time After: 0.00394 seconds
Time Taken: 0.00027 seconds

Memory Before: 558.305 KB
Memory After: 574.875 KB
Memory Used: 16.570 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.00508 seconds
Time After: 0.00562 seconds
Time Taken: 0.00054 seconds

Memory Before: 564.070 KB
Memory After: 717.016 KB
Memory Used: 152.945 KB

Time Before: 0.00301 seconds
Time After: 0.00573 seconds
Time Taken: 0.00271 seconds

Memory Before: 555.828 KB
Memory After: 644.320 KB
Memory Used: 88.492 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.00705 seconds
Time After: 0.00745 seconds
Time Taken: 0.00041 seconds

Memory Before: 706.641 KB
Memory After: 723.039 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.00796 seconds
Time After: 0.00827 seconds
Time Taken: 0.00031 seconds

Memory Before: 709.516 KB
Memory After: 726.086 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.00884 seconds
Time After: 0.00917 seconds
Time Taken: 0.00032 seconds

Memory Before: 714.070 KB
Memory After: 794.578 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.01134 seconds
Time After: 0.01231 seconds
Time Taken: 0.00096 seconds

Memory Before: 836.906 KB
Memory After: 996.461 KB
Memory Used: 159.555 KB

End call of global.php: 0.013334035873413
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.01406 seconds
Time After: 0.01432 seconds
Time Taken: 0.00026 seconds

Memory Before: 1,008.367 KB
Memory After: 1,024.547 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.01536 seconds
Time After: 0.01566 seconds
Time Taken: 0.00030 seconds

Memory Before: 1,010.664 KB
Memory After: 1,026.875 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.01681 seconds
Time After: 0.01827 seconds
Time Taken: 0.00146 seconds

Memory Before: 1,016.164 KB
Memory After: 1,078.750 KB
Memory Used: 62.586 KB

Time after parsing all posts: 0.02163290977478 Memory After: 1,048KB
SQL Query
UPDATE vb_session
SET location = '/showthread.php?p=42&nojs=1&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 = 'f9e61b54cc964713ce3d8f790b0bece7'

Time Before: 0.02448 seconds
Time After: 0.02477 seconds
Time Taken: 0.00029 seconds

Memory Before: 1,273.711 KB
Memory After: 1,273.508 KB
Memory Used: -0.203 KB

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

Time Before: 0.02480 seconds
Time After: 0.02618 seconds
Time Taken: 0.00138 seconds

Memory Before: 1,270.883 KB
Memory After: 1,270.930 KB
Memory Used: 0.047 KB

Page generated in 0.024252891540527 seconds with 12 queries, spending 0.0076580047607422 doing MySQL queries and 0.016594886779785 doing PHP things.
Shutdown Queries:
DISABLED