Including Functions.php

Time Before: 0.00038 seconds
Time After: 0.00043 seconds
Time Taken: 0.00005 seconds

Memory Before: 420.672 KB
Memory After: 423.313 KB
Memory Used: 2.641 KB

Connect to Database on Server: localhost

Time Before: 0.00046 seconds
Time After: 0.00071 seconds
Time Taken: 0.00025 seconds

Memory Before: 423.266 KB
Memory After: 424.156 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00094 seconds
Time After: 0.00102 seconds
Time Taken: 0.00008 seconds

Memory Before: 424.180 KB
Memory After: 424.234 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.00149 seconds
Time After: 0.00180 seconds
Time Taken: 0.00031 seconds

Memory Before: 426.195 KB
Memory After: 540.023 KB
Memory Used: 113.828 KB

Time Before: 0.00104 seconds
Time After: 0.00720 seconds
Time Taken: 0.00616 seconds

Memory Before: 424.023 KB
Memory After: 827.281 KB
Memory Used: 403.258 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.145.51.250'
	AND idhash = 'b8822dace4bc7ceceb24bf2048f28fdc'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    590Using where

Time Before: 0.00794 seconds
Time After: 0.00862 seconds
Time Taken: 0.00068 seconds

Memory Before: 833.695 KB
Memory After: 850.258 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.00974 seconds
Time After: 0.00982 seconds
Time Taken: 0.00008 seconds

Memory Before: 840.898 KB
Memory After: 901.711 KB
Memory Used: 60.813 KB

Time Before: 0.00754 seconds
Time After: 0.00992 seconds
Time Taken: 0.00239 seconds

Memory Before: 831.445 KB
Memory After: 890.688 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.01300 seconds
Time After: 0.01309 seconds
Time Taken: 0.00009 seconds

Memory Before: 1,032.484 KB
Memory After: 1,081.047 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.01518 seconds
Time After: 0.01531 seconds
Time Taken: 0.00013 seconds

Memory Before: 1,156.531 KB
Memory After: 1,236.070 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.01766 seconds
Time After: 0.01829 seconds
Time Taken: 0.00063 seconds

Memory Before: 1,284.359 KB
Memory After: 1,301.109 KB
Memory Used: 16.750 KB

End call of global.php: 0.019088983535767
Processing Module: Mini Calendar
Time Before: 0.01912
Time After: 0.02100
Time Taken: 0.00188

Memory Before: 1,298.102 KB
Memory After: 1,334.813 KB
Memory Used: 36.711 KB

Mini Calendar module generated in 0.00188 seconds with 0 queries.
0 seconds doing MySQL queries and 0.00188 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 > 1513268941
	
ORDER BY username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    590Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4pmorg.session.userid1 

Time Before: 0.02174 seconds
Time After: 0.02301 seconds
Time Taken: 0.00126 seconds

Memory Before: 1,337.031 KB
Memory After: 1,356.500 KB
Memory Used: 19.469 KB

Time Before: 0.02106
Time After: 0.02382
Time Taken: 0.00275

Memory Before: 1,334.813 KB
Memory After: 1,336.414 KB
Memory Used: 1.602 KB

Online Users module generated in 0.00275 seconds with 1 queries.
0.00126 seconds doing MySQL queries and 0.00149 doing PHP things.

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

Time Before: 0.02425 seconds
Time After: 0.02432 seconds
Time Taken: 0.00007 seconds

Memory Before: 1,340.516 KB
Memory After: 1,358.547 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.02466 seconds
Time After: 0.02504 seconds
Time Taken: 0.00038 seconds

Memory Before: 1,340.813 KB
Memory After: 1,357.141 KB
Memory Used: 16.328 KB

Time Before: 0.02387
Time After: 0.02531
Time Taken: 0.00144

Memory Before: 1,339.508 KB
Memory After: 1,337.414 KB
Memory Used: -2.094 KB

Stats module generated in 0.00144 seconds with 2 queries.
0.00044 seconds doing MySQL queries and 0.00099 doing PHP things.

Processing Module: Today's Birthdays
Time Before: 0.02535
Time After: 0.02552
Time Taken: 0.00016

Memory Before: 1,336.508 KB
Memory After: 1,336.898 KB
Memory Used: 0.391 KB

Today's Birthdays module generated in 0.00016 seconds with 0 queries.
0 seconds doing MySQL queries and 0.00016 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 > 649357141
ORDER BY dateline DESC
LIMIT 5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumid,datelineforumid4const,const15Using where; Using filesort

Time Before: 0.02605 seconds
Time After: 0.02649 seconds
Time Taken: 0.00045 seconds

Memory Before: 1,341.906 KB
Memory After: 1,358.313 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 > 649357141


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.02696 seconds
Time After: 0.02766 seconds
Time Taken: 0.00071 seconds

Memory Before: 1,362.906 KB
Memory After: 1,406.406 KB
Memory Used: 43.500 KB

Time Before: 0.02556
Time After: 0.02972
Time Taken: 0.00416

Memory Before: 1,336.398 KB
Memory After: 1,360.203 KB
Memory Used: 23.805 KB

News module generated in 0.00416 seconds with 2 queries.
0.00115 seconds doing MySQL queries and 0.00301 doing PHP things.

Processing Module: Search Forums
Time Before: 0.02976
Time After: 0.02989
Time Taken: 0.00012

Memory Before: 1,360.180 KB
Memory After: 1,361.031 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 > 649357141
	 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 34Using where; Using filesort
1SIMPLEposteq_refPRIMARYPRIMARY4pmorg.thread.firstpostid1 

Time Before: 0.03050 seconds
Time After: 0.03130 seconds
Time Taken: 0.00080 seconds

Memory Before: 1,364.992 KB
Memory After: 1,383.398 KB
Memory Used: 18.406 KB

Time Before: 0.02991
Time After: 0.03403
Time Taken: 0.00412

Memory Before: 1,361.352 KB
Memory After: 1,388.156 KB
Memory Used: 26.805 KB

Recent Threads module generated in 0.00412 seconds with 1 queries.
0.00080 seconds doing MySQL queries and 0.00332 doing PHP things.

SQL Query
UPDATE session
SET lastactivity = 1513270741, location = '/?explain=1', inforum = 0, inthread = 0, incalendar = 1
WHERE sessionhash = 'aebb7b78b020f3d29efe95d6d41f77aa'

Time Before: 0.03486 seconds
Time After: 0.03537 seconds
Time Taken: 0.00051 seconds

Memory Before: 1,483.492 KB
Memory After: 1,483.367 KB
Memory Used: -0.125 KB

Page generated in 0.0345299243927 seconds with 14 queries, spending 0.0064175128936768 doing MySQL queries and 0.028112411499023 doing PHP things.
Shutdown Queries:
DISABLED