Log in

View Full Version : Is this really bad for showthread?


Mijae
05-28-2003, 03:12 PM
With 10 replies per page:

Page generated in 0.40982997 seconds (83.17% PHP - 16.83% MySQL) with 31 queries.

With 20 replies per page:

Page generated in 0.71190596 seconds (81.11% PHP - 18.89% MySQL) with 32 queries.

I was recently testing to see if I had a query loop somewhere since I installed an RPG hack and the Store hack, and I used to have 64 queries at once before (when I used vb2.2.8).

Is 31 queries good for showthread?

I just found out something weird in my View Profile page: if I view my profile I get 32 queries, if I view another member I get 40 queries. If I view a member with 1 post I get 23 queries. I do have installed the Last XX posts by user (afterlab) with post preview. Both profiles viewed had 20 posts listed, yet there is an 8 query difference.

filburt1
05-28-2003, 03:30 PM
That's about normal. The variation can be caused by how you get to viewing the thread (lastpost, direct, etc.).

Xenon
05-28-2003, 03:58 PM
31 queries is not good, but it's also not bad.
it's average :)

cirisme
05-28-2003, 05:57 PM
We get 48 queries with 16 posts with about .5 generation time.

That's bad, huh? :o

Smoothie
05-28-2003, 06:37 PM
showthread sucks. the most queries of any of the vb pages.

Xenon
05-28-2003, 09:13 PM
48 is to much, be sure there is no query called in a loop

Koutaru
06-08-2003, 03:44 AM
:( I have 40 queries on showthread. I haven't even hacked showthread that much at all. =/ very odd

Chris M
06-08-2003, 07:37 AM
Hehe...

I have about 70 queries on showthread - That is on 40 posts per page though;)

I have 42 on 15 per page;)

I am, however, re-coding the entire site, so these numbers will be irrelevant in a few weeks:)

Satan

Erwin
06-08-2003, 07:55 AM
21 queries on my showthread. :) I wouldn't go above 25 since it is the most used page next to index.php.

N9ne
06-08-2003, 10:53 AM
Actually, showthread.php is the most used page, and THEN its index.php ;).

I hope vB3 has a very query-unintensive showthread...