Including Functions.php

Time Before: 0.00322 seconds
Time After: 0.00552 seconds
Time Taken: 0.00230 seconds

Memory Before: 509.313 KB
Memory After: 532.086 KB
Memory Used: 22.773 KB

Connect to Database on Server: localhost

Time Before: 0.00571 seconds
Time After: 0.00683 seconds
Time Taken: 0.00112 seconds

Memory Before: 532.023 KB
Memory After: 532.938 KB
Memory Used: 0.914 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00718 seconds
Time After: 0.00735 seconds
Time Taken: 0.00017 seconds

Memory Before: 533.492 KB
Memory After: 534.016 KB
Memory Used: 0.523 KB

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

Time Before: 0.00854 seconds
Time After: 0.00936 seconds
Time Taken: 0.00082 seconds

Memory Before: 537.008 KB
Memory After: 537.883 KB
Memory Used: 0.875 KB

Time Before: 0.00745 seconds
Time After: 0.01134 seconds
Time Taken: 0.00389 seconds

Memory Before: 533.266 KB
Memory After: 1,148.188 KB
Memory Used: 614.922 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '18.224.73.125'
	AND idhash = 'c2e604564242fa6131a58f0e70e1eecf'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefguest_lookup,user_activityguest_lookup51const,const,const2Using where

Time Before: 0.01449 seconds
Time After: 0.01480 seconds
Time Taken: 0.00031 seconds

Memory Before: 1,645.219 KB
Memory After: 1,645.828 KB
Memory Used: 0.609 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 = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.01586 seconds
Time After: 0.01657 seconds
Time Taken: 0.00071 seconds

Memory Before: 1,657.938 KB
Memory After: 1,657.867 KB
Memory Used: -0.070 KB

Time Before: 0.01365 seconds
Time After: 0.01677 seconds
Time Taken: 0.00312 seconds

Memory Before: 1,637.305 KB
Memory After: 1,728.008 KB
Memory Used: 90.703 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('routes')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastoreconstPRIMARYPRIMARY50const1 

Time Before: 0.01732 seconds
Time After: 0.01752 seconds
Time Taken: 0.00021 seconds

Memory Before: 1,729.328 KB
Memory After: 1,729.906 KB
Memory Used: 0.578 KB

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



post.pagetext AS description,
thread.*


FROM thread AS thread




LEFT JOIN post AS post ON(post.postid = thread.firstpostid)


WHERE thread.threadid = 19
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.02113 seconds
Time After: 0.02148 seconds
Time Taken: 0.00035 seconds

Memory Before: 2,104.227 KB
Memory After: 2,104.820 KB
Memory Used: 0.594 KB

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

Time Before: 0.02258 seconds
Time After: 0.02325 seconds
Time Taken: 0.00067 seconds

Memory Before: 2,138.031 KB
Memory After: 2,138.625 KB
Memory Used: 0.594 KB

End call of global.php: 0.024776935577393
SQL Query
SELECT title, template
FROM template
WHERE templateid IN (72,71,656,657,1245,790,791,793,799,798,978,997,983,984,986,985,988,990,991,992,995,691,693,695,697,699,1047,1051,1052,1053,1050,1120,971,970,972,977,975,1144,752,753,919,746,745,748,749,762,760,1254,1264,1205,1275,67,66,68,63,62,651,652,650,649,961,1257,907,911,908,909,910,1273,0,0,1236,1238,931,932,934,935,1158,1200,1199,1249,1201,758,757,761)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 83Using index condition

Time Before: 0.02775 seconds
Time After: 0.02946 seconds
Time Taken: 0.00171 seconds

Memory Before: 2,940.211 KB
Memory After: 2,942.320 KB
Memory Used: 2.109 KB

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

WHERE post.threadid = 19
	AND post.visible = 1
	
	
ORDER BY post.dateline 
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangethreadid,threadid_visible_datelinethreadid_visible_dateline6 1Using where

Time Before: 0.03618 seconds
Time After: 0.03650 seconds
Time Taken: 0.00032 seconds

Memory Before: 3,121.617 KB
Memory After: 3,122.078 KB
Memory Used: 0.461 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 = 2 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 2 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)

	
WHERE post.postid IN (020)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0Const row not found
1SIMPLEcustomavatarsystemPRIMARY   0Const row not found
1SIMPLEpostparsedsystemPRIMARY   0Const row not found
1SIMPLEsigparsedsystemPRIMARY   0Const row not found
1SIMPLEsigpicsystemPRIMARY   0Const row not found
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEiconconstPRIMARYPRIMARY2const0Unique row not found
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.03797 seconds
Time After: 0.03892 seconds
Time Taken: 0.00095 seconds

Memory Before: 3,129.117 KB
Memory After: 3,128.992 KB
Memory Used: -0.125 KB

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

Time Before: 0.04232 seconds
Time After: 0.04253 seconds
Time Taken: 0.00021 seconds

Memory Before: 3,313.672 KB
Memory After: 3,314.211 KB
Memory Used: 0.539 KB

Time after parsing all posts: 0.045158863067627 Memory After: 3,341KB
SQL Query
SELECT *
FROM navigation
WHERE state & 4 = 0
ORDER BY navtype, displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEnavigationALL    27Using where; Using filesort

Time Before: 0.04743 seconds
Time After: 0.04780 seconds
Time Taken: 0.00036 seconds

Memory Before: 3,373.156 KB
Memory After: 3,376.617 KB
Memory Used: 3.461 KB

SQL Query
UPDATE session
SET lastactivity = 1714496118, location = 'showthread.php?t=19', inforum = 29, inthread = 19, badlocation = 0, useragent = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
WHERE sessionhash = 'd7135867c62ff22a41ca2bee00b024da'

Time Before: 0.05244 seconds
Time After: 0.05275 seconds
Time Taken: 0.00031 seconds

Memory Before: 3,717.297 KB
Memory After: 3,717.398 KB
Memory Used: 0.102 KB

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

Time Before: 0.05286 seconds
Time After: 0.05317 seconds
Time Taken: 0.00032 seconds

Memory Before: 3,710.750 KB
Memory After: 3,711.094 KB
Memory Used: 0.344 KB

Page generated in 0.05167293548584 seconds with 14 queries, spending 0.0085444450378418 doing MySQL queries and 0.043128490447998 doing PHP things.
Shutdown Queries:
DISABLED