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
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
> &
> -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
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
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
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
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
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
> 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
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.
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
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
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.
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
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
";
15 matches
Mail list logo