Including Functions.php

Time Before: 0.00032 seconds
Time After: 0.00037 seconds
Time Taken: 0.00005 seconds

Memory Before: 420.984 KB
Memory After: 423.625 KB
Memory Used: 2.641 KB

Connect to Database on Server: localhost

Time Before: 0.00042 seconds
Time After: 0.00067 seconds
Time Taken: 0.00025 seconds

Memory Before: 423.578 KB
Memory After: 424.469 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00084 seconds
Time After: 0.00092 seconds
Time Taken: 0.00009 seconds

Memory Before: 424.492 KB
Memory After: 424.547 KB
Memory Used: 0.055 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','adv_modules','adv_portal_cale','adv_portal_home','adv_portal_opts','adv_portal_page','adv_portal_pars','adv_portal_stat','attachmentcache','bbcodecache','birthdaycache','eventcache','iconcache','maxloggedin','prefixcache','ranks','tagcloud','smiliecache','userstats')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastoreALLPRIMARY   49Using where

Time Before: 0.00141 seconds
Time After: 0.00224 seconds
Time Taken: 0.00083 seconds

Memory Before: 426.508 KB
Memory After: 540.336 KB
Memory Used: 113.828 KB

Time Before: 0.00094 seconds
Time After: 0.00777 seconds
Time Taken: 0.00682 seconds

Memory Before: 424.336 KB
Memory After: 827.594 KB
Memory Used: 403.258 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.162.163.181'
	AND idhash = 'dab7d2b07630ecdd64e74fbdc749712b'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    106Using where

Time Before: 0.00829 seconds
Time After: 0.00862 seconds
Time Taken: 0.00033 seconds

Memory Before: 834.008 KB
Memory After: 850.570 KB
Memory Used: 16.563 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_adv_portal AS phrasegroup_adv_portal,
			phrasegroup_calendar AS phrasegroup_calendar,
			phrasegroup_postbit AS phrasegroup_postbit,
			phrasegroup_prefix AS phrasegroup_prefix,
			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.00975 seconds
Time After: 0.00990 seconds
Time Taken: 0.00015 seconds

Memory Before: 841.211 KB
Memory After: 902.023 KB
Memory Used: 60.813 KB

Time Before: 0.00805 seconds
Time After: 0.01000 seconds
Time Taken: 0.00194 seconds

Memory Before: 831.758 KB
Memory After: 891.000 KB
Memory Used: 59.242 KB

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

Time Before: 0.01204 seconds
Time After: 0.01211 seconds
Time Taken: 0.00006 seconds

Memory Before: 1,032.797 KB
Memory After: 1,081.359 KB
Memory Used: 48.563 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (17929,17939,17938,17937,17936,17934,17935,17471,17947,17513,17956,0,17944,17945,17946,17446,17444,17446,17440,17955,17954,17952,17953,17941,11515,10694,17912,17415,17414,17416,17411,17410,17687,9293,17639,17640,17641,17907,17910,17919,17660,17661,17662,17663,17861,17924,17923,17925,17928)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 48Using where

Time Before: 0.01346 seconds
Time After: 0.01360 seconds
Time Taken: 0.00014 seconds

Memory Before: 1,156.844 KB
Memory After: 1,236.383 KB
Memory Used: 79.539 KB

SQL Query
SELECT moderator.*, user.username,
IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
FROM moderator AS moderator
INNER JOIN user AS user USING(userid)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEmoderatorALLuserid_forumid   5 
1SIMPLEusereq_refPRIMARYPRIMARY4pmorg.moderator.userid1 

Time Before: 0.01508 seconds
Time After: 0.01537 seconds
Time Taken: 0.00028 seconds

Memory Before: 1,284.672 KB
Memory After: 1,301.422 KB
Memory Used: 16.750 KB

End call of global.php: 0.015937089920044
Processing Module: Mini Calendar
Time Before: 0.01597
Time After: 0.01719
Time Taken: 0.00122

Memory Before: 1,298.414 KB
Memory After: 1,334.125 KB
Memory Used: 35.711 KB

Mini Calendar module generated in 0.00122 seconds with 0 queries.
0 seconds doing MySQL queries and 0.00122 doing PHP things.

Processing Module: Online Users
SQL Query
SELECT session.userid, username, usergroupid, (user.options & 512) AS invisible, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM session AS session
LEFT JOIN user AS user USING (userid)
WHERE session.lastactivity > 1527426191
	
ORDER BY username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    106Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4pmorg.session.userid1 

Time Before: 0.01767 seconds
Time After: 0.01871 seconds
Time Taken: 0.00104 seconds

Memory Before: 1,336.344 KB
Memory After: 1,355.641 KB
Memory Used: 19.297 KB

Time Before: 0.01724
Time After: 0.01913
Time Taken: 0.00189

Memory Before: 1,334.125 KB
Memory After: 1,335.727 KB
Memory Used: 1.602 KB

Online Users module generated in 0.00189 seconds with 1 queries.
0.00104 seconds doing MySQL queries and 0.00085 doing PHP things.

Processing Module: Stats
SQL Query
SELECT threadcount, replycount
FROM forum
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEforumALL    26 

Time Before: 0.01938 seconds
Time After: 0.01943 seconds
Time Taken: 0.00005 seconds

Memory Before: 1,339.828 KB
Memory After: 1,357.859 KB
Memory Used: 18.031 KB

SQL Query
SELECT userid, username, posts FROM user WHERE userid = '8'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserconstPRIMARYPRIMARY4const1 

Time Before: 0.01968 seconds
Time After: 0.01983 seconds
Time Taken: 0.00015 seconds

Memory Before: 1,340.125 KB
Memory After: 1,356.453 KB
Memory Used: 16.328 KB

Time Before: 0.01916
Time After: 0.02002
Time Taken: 0.00086

Memory Before: 1,338.820 KB
Memory After: 1,337.727 KB
Memory Used: -1.094 KB

Stats module generated in 0.00086 seconds with 2 queries.
0.00020 seconds doing MySQL queries and 0.00065 doing PHP things.

Processing Module: Today's Birthdays
Time Before: 0.02005
Time After: 0.02018
Time Taken: 0.00013

Memory Before: 1,336.820 KB
Memory After: 1,337.211 KB
Memory Used: 0.391 KB

Today's Birthdays module generated in 0.00013 seconds with 0 queries.
0 seconds doing MySQL queries and 0.00013 doing PHP things.

Processing Module: News
SQL Query
SELECT  threadid, firstpostid
FROM thread AS thread
WHERE visible = 1
	AND open != 10
	AND (thread.forumid IN(3)
	
	)
	AND thread.dateline > 663514391
ORDER BY dateline DESC
LIMIT 5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumid,datelineforumid4const,const15Using where; Using filesort

Time Before: 0.02064 seconds
Time After: 0.02093 seconds
Time Taken: 0.00029 seconds

Memory Before: 1,342.219 KB
Memory After: 1,358.625 KB
Memory Used: 16.406 KB

SQL Query
SELECT  user.*, thread.threadid, post.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, sticky, thread.attach, thread.lastpostid, thread.lastposter, thread.lastpost, IF(views<=thread.replycount, thread.replycount+1, views) AS views, thread.forumid, post.postid, pagetext
, allowsmilie, pagetext_html, postparsed.hasimages, thread.prefixid
FROM thread AS thread
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN user AS user ON (user.userid = post.userid)
 LEFT JOIN postparsed AS postparsed ON (postparsed.postid = post.postid AND postparsed.styleid = 6 AND postparsed.languageid = 1)
WHERE thread.threadid IN(251,250,249,248,247)
AND thread.dateline > 663514391


ORDER BY thread.dateline DESC
LIMIT 5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangePRIMARY,datelinePRIMARY4 5Using where; Using filesort
1SIMPLEposteq_refPRIMARYPRIMARY4pmorg.thread.firstpostid1 
1SIMPLEusereq_refPRIMARYPRIMARY4pmorg.post.userid1 
1SIMPLEpostparsedeq_refPRIMARYPRIMARY8pmorg.post.postid,const,const1 

Time Before: 0.02135 seconds
Time After: 0.02214 seconds
Time Taken: 0.00079 seconds

Memory Before: 1,363.219 KB
Memory After: 1,406.719 KB
Memory Used: 43.500 KB

Time Before: 0.02023
Time After: 0.02423
Time Taken: 0.00400

Memory Before: 1,336.711 KB
Memory After: 1,360.516 KB
Memory Used: 23.805 KB

News module generated in 0.00400 seconds with 2 queries.
0.00108 seconds doing MySQL queries and 0.00292 doing PHP things.

Processing Module: Search Forums
Time Before: 0.02426
Time After: 0.02439
Time Taken: 0.00012

Memory Before: 1,360.492 KB
Memory After: 1,361.344 KB
Memory Used: 0.852 KB

Search Forums module generated in 0.00012 seconds with 0 queries.
0 seconds doing MySQL queries and 0.00012 doing PHP things.

Processing Module: Recent Threads
SQL Query
SELECT  thread.threadid, thread.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, IF(views <= thread.replycount, thread.replycount+1, views) AS views, thread.lastposter, thread.lastpost, thread.lastpostid, pollid, thread.forumid, thread.open, sticky
, post.pagetext AS preview
FROM thread as thread
 LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
WHERE open != 10
	AND thread.visible = 1 AND thread.lastpost > 663514391
	 AND (thread.forumid IN(29,19,4,31,18,17,2,16,12,13,33))
ORDER BY lastpost DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangeforumid,lastpostforumid4 35Using where; Using filesort
1SIMPLEposteq_refPRIMARYPRIMARY4pmorg.thread.firstpostid1 

Time Before: 0.02488 seconds
Time After: 0.02545 seconds
Time Taken: 0.00057 seconds

Memory Before: 1,365.305 KB
Memory After: 1,383.711 KB
Memory Used: 18.406 KB

Time Before: 0.02441
Time After: 0.02872
Time Taken: 0.00431

Memory Before: 1,361.664 KB
Memory After: 1,388.469 KB
Memory Used: 26.805 KB

Recent Threads module generated in 0.00431 seconds with 1 queries.
0.00057 seconds doing MySQL queries and 0.00374 doing PHP things.

SQL Query
UPDATE session
SET lastactivity = 1527427991, location = '/?explain=1', incalendar = 1
WHERE sessionhash = '5b341ee6bb0a273d75bc84623ae772a2'

Time Before: 0.02952 seconds
Time After: 0.02971 seconds
Time Taken: 0.00019 seconds

Memory Before: 1,483.734 KB
Memory After: 1,483.672 KB
Memory Used: -0.063 KB

Page generated in 0.02927303314209 seconds with 14 queries, spending 0.0052142143249512 doing MySQL queries and 0.024058818817139 doing PHP things.
Shutdown Queries:
DISABLED