Including Functions.php

Time Before: 0.00236 seconds
Time After: 0.00490 seconds
Time Taken: 0.00254 seconds

Memory Before: 590.742 KB
Memory After: 599.938 KB
Memory Used: 9.195 KB

Connect to Database on Server: localhost

Time Before: 0.00496 seconds
Time After: 0.00597 seconds
Time Taken: 0.00101 seconds

Memory Before: 599.945 KB
Memory After: 600.844 KB
Memory Used: 0.898 KB

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

Time Before: 0.00638 seconds
Time After: 0.00682 seconds
Time Taken: 0.00044 seconds

Memory Before: 604.688 KB
Memory After: 605.133 KB
Memory Used: 0.445 KB

Time Before: 0.00604 seconds
Time After: 0.00839 seconds
Time Taken: 0.00235 seconds

Memory Before: 600.641 KB
Memory After: 1,804.156 KB
Memory Used: 1,203.516 KB

Session Handling
SQL Query
FROM session
WHERE userid = 0
	AND host = ''
	AND idhash = '8150a5be64a8d0b321623b66f23c0005'
1SIMPLEsessionALL    416Using where

Time Before: 0.00903 seconds
Time After: 0.00915 seconds
Time Taken: 0.00011 seconds

Memory Before: 1,823.883 KB
Memory After: 1,824.289 KB
Memory Used: 0.406 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,
			phrasegroup_reputationlevel AS phrasegroup_reputationlevel,
			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

Time Before: 0.00953 seconds
Time After: 0.00972 seconds
Time Taken: 0.00019 seconds

Memory Before: 1,835.781 KB
Memory After: 1,835.469 KB
Memory Used: -0.313 KB

Time Before: 0.00878 seconds
Time After: 0.00983 seconds
Time Taken: 0.00105 seconds

Memory Before: 1,819.016 KB
Memory After: 1,914.930 KB
Memory Used: 95.914 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 = 38100
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.01164 seconds
Time After: 0.01175 seconds
Time Taken: 0.00012 seconds

Memory Before: 2,112.297 KB
Memory After: 2,112.539 KB
Memory Used: 0.242 KB

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


FROM thread AS thread

WHERE thread.threadid = 11586

Time Before: 0.01201 seconds
Time After: 0.01211 seconds
Time Taken: 0.00011 seconds

Memory Before: 2,119.836 KB
Memory After: 2,120.234 KB
Memory Used: 0.398 KB

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

Time Before: 0.01256 seconds
Time After: 0.01268 seconds
Time Taken: 0.00012 seconds

Memory Before: 2,139.523 KB
Memory After: 2,139.953 KB
Memory Used: 0.430 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (755,70,72,71,154,560,186,187,189,196,195,742,369,355,356,358,357,360,362,363,364,366,368,92,94,96,98,743,398,401,402,399,397,470,471,348,347,349,353,351,498,132,131,133,134,745,744,564,67,66,68,63,62,339,741,291,292,293,559,562,571,312,313,314,315,513,576,575,577,580,677,678,679,680,681,682,683,684,685,686,687,689,688,690,691)
1SIMPLEtemplaterangePRIMARYPRIMARY4 85Using index condition

Time Before: 0.01336 seconds
Time After: 0.01409 seconds
Time Taken: 0.00073 seconds

Memory Before: 2,328.672 KB
Memory After: 2,328.844 KB
Memory Used: 0.172 KB

SQL Query
SELECT userip
FROM cybvilxh_guests AS cybvilxh_guests
WHERE userip = ''
1SIMPLEcybvilxh_guestsALL    584Using where

Time Before: 0.01750 seconds
Time After: 0.01773 seconds
Time Taken: 0.00023 seconds

Memory Before: 2,988.383 KB
Memory After: 2,988.828 KB
Memory Used: 0.445 KB

SQL Query
UPDATE cybvilxh_guests
SET dateline = '1531731882'
WHERE userip = ''

Time Before: 0.01783 seconds
Time After: 0.01956 seconds
Time Taken: 0.00172 seconds

Memory Before: 2,989.055 KB
Memory After: 2,989.391 KB
Memory Used: 0.336 KB

SQL Query
DELETE FROM cybvilxh_guests WHERE dateline < '1531645482'

Time Before: 0.01960 seconds
Time After: 0.01981 seconds
Time Taken: 0.00021 seconds

Memory Before: 2,988.250 KB
Memory After: 2,988.633 KB
Memory Used: 0.383 KB

End call of global.php: 0.02046799659729
SQL Query
FROM post AS post
WHERE threadid = 11586 AND visible = 1
AND dateline <= 1519234635
1SIMPLEpostrefthreadidthreadid4const8Using where

Time Before: 0.02488 seconds
Time After: 0.02506 seconds
Time Taken: 0.00018 seconds

Memory Before: 2,624.859 KB
Memory After: 2,625.297 KB
Memory Used: 0.438 KB

SQL Query
SELECT post.postid
FROM post AS post

WHERE post.threadid = 11586
	AND post.visible = 1
ORDER BY post.dateline 
LIMIT 0, 10
1SIMPLEpostrefthreadidthreadid4const8Using where; Using filesort

Time Before: 0.02541 seconds
Time After: 0.02554 seconds
Time Taken: 0.00013 seconds

Memory Before: 2,632.992 KB
Memory After: 2,633.398 KB
Memory Used: 0.406 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
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 = 36 AND postparsed.languageid = 2)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 36 AND sigparsed.languageid = 2)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
WHERE post.postid IN (0,35050,35536,37682,37694,37695,37711,37718,38100)
ORDER BY post.dateline
1SIMPLEpostrangePRIMARYPRIMARY4 9Using index condition; Using filesort 
1SIMPLEavatareq_refPRIMARYPRIMARY2help_lol2.user.avatarid1Using where

Time Before: 0.02624 seconds
Time After: 0.02715 seconds
Time Taken: 0.00090 seconds

Memory Before: 2,640.656 KB
Memory After: 2,639.445 KB
Memory Used: -1.211 KB

SQL Query
SELECT template
FROM template
WHERE templateid = 665

Time Before: 0.03182 seconds
Time After: 0.03188 seconds
Time Taken: 0.00007 seconds

Memory Before: 2,792.922 KB
Memory After: 2,793.406 KB
Memory Used: 0.484 KB

Time after parsing all posts: 0.074971914291382 Memory After: 2,890KB
SQL Query
SELECT user.username, user.usergroupid, user.membergroupids,
	session.userid, session.inthread, session.lastactivity, session.badlocation,
	IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid,
	IF(user.options & 512, 1, 0) AS invisible
FROM session AS session
LEFT JOIN user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > 1531731382
ORDER BY  username ASC, lastactivity DESC
1SIMPLEsessionALL    416Using where; Using temporary; Using filesort

Time Before: 0.07539 seconds
Time After: 0.07572 seconds
Time Taken: 0.00032 seconds

Memory Before: 2,893.617 KB
Memory After: 2,893.711 KB
Memory Used: 0.094 KB

SQL Query
SELECT thread.threadid, thread.forumid, thread.title, thread.prefixid, thread.taglist, postusername, postuserid,
	thread.lastpost, thread.replycount,
	forum.title AS forumtitle
	,post.pagetext AS preview
FROM thread AS thread
INNER JOIN forum AS forum ON (forum.forumid = thread.forumid)
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)

WHERE thread.threadid IN (5534, 9775) AND thread.visible = 1
	AND forum.password = ''
ORDER BY lastpost DESC
1SIMPLEthreadrangePRIMARY,forumidPRIMARY4 2Using index condition; Using where; Using filesort
1SIMPLEforumeq_refPRIMARYPRIMARY2help_lol2.thread.forumid1Using where

Time Before: 0.07617 seconds
Time After: 0.07640 seconds
Time Taken: 0.00023 seconds

Memory Before: 2,895.523 KB
Memory After: 2,895.570 KB
Memory Used: 0.047 KB

SQL Query
UPDATE session
SET lastactivity = 1531731882, location = '/vb/showthread.php?p=38100&explain=1', inforum = 45, inthread = 11586, incalendar = 0, badlocation = 0
WHERE sessionhash = '7c523f502202e473c83425dd0f61247d'

Time Before: 0.08208 seconds
Time After: 0.08221 seconds
Time Taken: 0.00013 seconds

Memory Before: 3,835.445 KB
Memory After: 3,835.664 KB
Memory Used: 0.219 KB

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

Time Before: 0.08229 seconds
Time After: 0.08236 seconds
Time Taken: 0.00007 seconds

Memory Before: 3,829.625 KB
Memory After: 3,830.016 KB
Memory Used: 0.391 KB

Page generated in 0.07997989654541 seconds with 21 queries, spending 0.0071916580200195 doing MySQL queries and 0.072788238525391 doing PHP things.
Shutdown Queries: