vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   Uh-Oh Spaghettio! (https://vborg.vbsupport.ru/showthread.php?t=47145)

Dean C 12-30-2002 06:34 PM

Uh-Oh Spaghettio!
 
Quote:

Page generated in 0.27491999 seconds (69.11% PHP - 30.89% MySQL) with 169 queries.
lmfao... im not naming the site but i told him to install microstats to check his showthread.php cuz it was loading slow for me...

And i was right... he had a MAJJJJJORRR query loop going on there :p

- miSt

Sebastian 12-30-2002 07:07 PM

i've seen some site well over 200... high queries doesn't always mean there is a loop, could be that a lot of the hacks that were installed didn't use $templatesused. I turned 35 queries into 19.

Brad 12-30-2002 08:13 PM

Before the itemshop was fixed i installed it and had well over 300 queries on showthread.php. As soon as i found out what it was i uninstalled it ASAP.

Dean C 12-30-2002 08:42 PM

He's hardly got any hacks installed in showthread.php...

- miSt

Xenon 12-31-2002 01:04 PM

0.27 seconds isn't that slow ....
maybe th 169 is a hardcoded value :P

Tony G 12-31-2002 01:12 PM

Yeah, I would have thought it would be much slower then that.

Chris M 12-31-2002 01:42 PM

You'd probably be looking at 10.27 for 169 Queries;):p

Satan

Dean C 12-31-2002 02:43 PM

It's not hardcoded.... but Xenon gave me tips on how to help my friend so i should be able to pinpoint the loop now :p

- miSt

Trillian 01-06-2003 12:36 PM

Forgive my ignorance, but... how can I check the number of queries on my own vB board?

Xenon 01-06-2003 12:59 PM

install the Microstats hack by TECK :)

Dean C 01-06-2003 12:59 PM

The "safe" way of doing it would be to install this hack :):

https://vborg.vbsupport.ru/showthrea...threadid=35811

Regards

- miSt

_______________

Edit: hehe we posted at exactly the same time Stefan :p


All times are GMT. The time now is 05:03 AM.

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.01157 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete