Re: hitting the limits
- From: "Rik" <luiheidsgoeroe@xxxxxxxxxxx>
- Date: Sun, 30 Apr 2006 03:09:36 +0200
windandwaves wrote:
It is so hard for me to judge if the code is efficient. Really - who
knows. I know what efficient code is, but there are just so many
variables. Even making changes tot the php.ini could be huge.
Yup, but previous suggestion with microtime() would give you an indication
where the most time is taken.
Each page loads about 100Kb of libaries and functions... (probably 50
- 100 functions (small ones) in total)... Does that make a difference?
Yes, probably not a lot, but why?
I'm having great difficulties imagining a a website where that much
libraries and functions are needed. Maybe it's time to include only files
that are actually needed?
It may be worth it to check the following url:
http://nl2.php.net/manual/en/language.oop5.autoload.php
I have a couple of tables in the database with over 300,000 (small)
rows)... Does that make a difference?
Having a database doesn't make a differnce.
Exactly HOW you query the database does.
Normalize and create proper indexes.-
Grtz,
--
Rik Wasmus
.
- Follow-Ups:
- Re: hitting the limits
- From: windandwaves
- Re: hitting the limits
- References:
- hitting the limits
- From: windandwaves
- Re: hitting the limits
- From: Shaun
- Re: hitting the limits
- From: windandwaves
- Re: hitting the limits
- From: Jerry Stuckle
- Re: hitting the limits
- From: windandwaves
- hitting the limits
- Prev by Date: Re: hitting the limits
- Next by Date: Re: Problems outputting to a 3 column table in order to crate an image gallery
- Previous by thread: Re: hitting the limits
- Next by thread: Re: hitting the limits
- Index(es):
Relevant Pages
|
|