Re: [PHP-WIN] speed of require/include

2010-10-20 Thread Tommy Pham
On Wed, Oct 20, 2010 at 3:18 PM, Tac Tacelosky wrote: > "Premature optimization is the root of all evil." > http://en.wikipedia.org/wiki/Program_optimization > If you need to include a big library to do a task, and it's cached, so what? >  Why are you trying to write fast code that doesn't need ca

Re: [PHP-WIN] speed of require/include

2010-10-20 Thread Tac Tacelosky
t of the time. IMHO, of course. Tac On Wed, Oct 20, 2010 at 6:07 PM, Tommy Pham wrote: > > -Original Message- > > From: Keith Davis [mailto:keithda...@pridedallas.com] > > Sent: Wednesday, October 20, 2010 2:09 PM > > To: Tac Tacelosky; Tommy Pham > &

RE: [PHP-WIN] speed of require/include

2010-10-20 Thread Tommy Pham
> -Original Message- > From: Keith Davis [mailto:keithda...@pridedallas.com] > Sent: Wednesday, October 20, 2010 2:09 PM > To: Tac Tacelosky; Tommy Pham > Cc: php-windows > Subject: RE: [PHP-WIN] speed of require/include > > Or use Wincache. That's what we

RE: [PHP-WIN] speed of require/include

2010-10-20 Thread Keith Davis
Or use Wincache. That's what we are using. Runs like a champ. Keith Davis (214) 906-5183 -Original Message- From: Tac Tacelosky [mailto:tac...@gmail.com] Sent: Wednesday, October 20, 2010 4:05 PM To: Tommy Pham Cc: php-windows Subject: Re: [PHP-WIN] speed of require/include If you

Re: [PHP-WIN] speed of require/include

2010-10-20 Thread Tac Tacelosky
If you have the RAM, install php_apc -- once the scripts are included once, the tokenized php will be cached in memory, can be a significant performance boost. We also use it for "global" variables that don't change across scripts, such as state and country names. Great tool, I wish it were built

[PHP-WIN] speed of require/include

2010-10-20 Thread Tommy Pham
Hi everyone, I think this question is general PHP but because I'm using Windows for development at the moment and was wondering if it's related to Windows. Does the speed of require/require_once/include/include_once depends on disk activity, buffers (disks, controller, Windows)? I can't seem to g

RE: [PHP-WIN] Speed

2002-10-24 Thread Svensson, B.A.T. (HKG)
l Bota [mailto:mbota@;almaak.usc.edu] > Sent: Wednesday, October 23, 2002 9:25 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Speed > > > Dear all, > > I have a piece of code which posts a matrix which can be from 1X1 > dimension to...the sky is the limit (can be 500X500). In th

[PHP-WIN] Speed

2002-10-23 Thread Mihail Bota
Dear all, I have a piece of code which posts a matrix which can be from 1X1 dimension to...the sky is the limit (can be 500X500). In this piece of code I have 2 while loops, nested, which I cannot get rid of.. I'd like to ask you for any suggestions to optimize the posting of the matrix..I already

Re: [PHP-WIN] Speed of SQL queries, profiling?

2001-11-15 Thread Arnout van der Kamp
> By the way, your question is rather not that much about php. (Not that I > uses php and care that much... :) Well I was more thinking of some profiling routines than checking the actual SQL queries. I've done so with 'explain' command and it seems the queries all make use of the right index fil

RE: [PHP-WIN] Speed of SQL queries, profiling?

2001-11-15 Thread Svensson, B.A.T. (HKG)
uses php and care that much... :) -Original Message- From: Arnout van der Kamp To: [EMAIL PROTECTED] Sent: 2001-11-15 01:21 Subject: [PHP-WIN] Speed of SQL queries, profiling? I've written some code to extract a database from SQL. I'm doing about 10 queries times 60.000 or so.

[PHP-WIN] Speed of SQL queries, profiling?

2001-11-14 Thread Arnout van der Kamp
I've written some code to extract a database from SQL. I'm doing about 10 queries times 60.000 or so. It's quite slow. 8 hours in total (estimated time left). Now I would like to know where all of my execution time is going, so I was wondering if it's easy to do some profiling on esp. the SQL quer

[PHP-WIN] speed... more speed

2001-10-06 Thread Christian C.
Hello :c) Would it be faster if the interbase dll be compiled inside php insted of being a dll?? Im playing with php and interbase and i find it very slow... -- Merci Christian Charette www.charetx2.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECT

RE: [PHP-WIN] Speed

2001-05-23 Thread Gary Pullis
back that up. :) > -Original Message- > From: Jerry Nelson [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 22, 2001 2:02 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Speed > > > I am fairly new to PHP and am right now writing my first complicated > script.

Re: [PHP-WIN] Speed

2001-05-22 Thread John Lim
Aha, an ex-ASP programmer! I've heard that the stop and start is faster, but it really doesn't matter with PHP. In ASP its an issue because ASP does a context switch every time from HTML to the VBScript/JScript compiler. PHP doesn't do any context switches so there's no overhead to stop and start

[PHP-WIN] Speed

2001-05-22 Thread Jerry Nelson
I am fairly new to PHP and am right now writing my first complicated script. There is a lot of HTML in the page and I was wondering which method is faster. To always be inside the tags or to stop and start. Here is a quick example (not necessarily a good one) OR ";