Go Back   vb.org Archive > Community Central > Community Lounge
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #21  
Old 09-30-2002, 10:42 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Logged in (minus 1 or 2 for logged out):

showthread.php - 21
forumdisplay.php - 22
index.php - 26
editpost.php - 23
newreply.php - 22
newthread.php - 13

For those who have seen my site, it's not too bad considering that my forum has over 150 hacks and is quite modified. TECK would know...
Reply With Quote
  #22  
Old 09-30-2002, 06:20 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I took out how many unread PMs there are, and the inbox total, I would like these to be shown but that adds two queries, how can I optimize that?
Reply With Quote
  #23  
Old 10-01-2002, 10:26 AM
kennethj kennethj is offline
 
Join Date: Jan 2002
Location: USA - tn
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Tha Rock
I just want to know in general of how how many queries I have compares to others!Thanks

showthread.php - 21
forumdisplay.php - 19
index.php - 18
editpost.php - 21
newreply.php - 19
newthread.php - 11

a few hacks but not many... no avatar, post counter direct link, yesterday today, blink pm on message, quick reply box, microstats - no template -

not sure if thet add any, but don't care - as long as the board looks and runs trouble free....

site about fiished, coupple of days...

Shades of

Ken
Reply With Quote
  #24  
Old 10-01-2002, 11:33 AM
nsr81 nsr81 is offline
 
Join Date: Mar 2002
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

showthread.php - 19
forumdisplay.php - 19
index.php - 18
editpost.php - 21
newreply.php - 19
newthread.php - 11

Only 2 hacks, or was it 3
Reply With Quote
  #25  
Old 10-01-2002, 12:55 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have three styles, two of which generate about the same amount of queries, and one which is my "lite browser" style which generates less queries because It has less hacks installed.

1 & 2 style:

showthread.php - 35
forumdisplay.php - 16
index.php - 23
editpost.php - 29
newreply.php - 25
newthread.php - 19

3rd:
index.php - 21
forumdisplay.php - 15
showthread.php - 34 <-- I don't get this page..
newthread.php - 19
newreply.php - 25
editpost.php - 28

Just about all my pages generate under .25 seconds as well usually (for me at least).

My biggest issue is that showthread.php, I can't seem to figure out where the queries are coming from (when trying to simplify it)
Reply With Quote
  #26  
Old 10-01-2002, 01:42 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Velocd: trun on debug mode and look at the queries from there
Reply With Quote
  #27  
Old 10-01-2002, 04:10 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just curious, but why? I haven't messed with debug mode too much..
Reply With Quote
  #28  
Old 10-01-2002, 06:07 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure what the debug mode does to your board

Satan
Reply With Quote
  #29  
Old 10-01-2002, 09:07 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Debug allows you to use the query and explain variables, so you can look at db queries in detail to debug errors. When you have debug on though, your site is susceptible to hacking and is a security risk.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:08 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04291 seconds
  • Memory Usage 2,246KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete