Re: [PHP4BETA] Performance question
| From: | David Munsey-Kano | Date: | Wed, 22 Dec 1999 21:38:42 +0000 |
| Subject: | Re: [PHP4BETA] Performance question | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8410@lists.php.net to get a copy of this message | ||
Well, I compiled and installed the beta 4 on my poor little DEC
Alphastation 255/233. When I did some quick and dirty timings on my
Oracle database application with the Beta version 4 as compared to php
3.0.12 (both running as part of Apache 1.3.6) they came out very close
to the same. (Well within the accuracy of my finger on my stopwatch :-)
search "fair" in all
php4: 6.2 seconds
php3: 5.9
search "dartmouth" in all
php4: 6.8
php3: 6.7
search "dartmouth" in title
php4: 4.8
php3: 4.7
I know that the above test is probably spending much of its time in the
oracle ConText search engine, although the same search done from within
SQL*Plus *is* much quicker...
Luckily, I'll be moving to a faster Unix box as soon as we can get
Oracle installed there so I can rebuild apache/php for that platform.
Maybe that will get my searches back under the 2-3 second level again. I
am also planning on trying a different database schema to simplify the
sql/ConText queries that are required for my searches. But I already
know that won't save more than a second or two, because I can simulate
those results with my existing schema.
Thanks for all your help. I'm going to sign-off the list for now, as I
am not developing version 4 and this list has quite a bit of traffic! If
you reply to this, please reply to my individual message too and I will
do the same.
Sincerely, David
-----------
David Munsey-Kano wrote:
>
> rasmus@php.net wrote:
> >
> > > Hi! I am new to this list and have a question. I have had some
> > > experience programming ColdFusion and PHP3 and the performance (at least
> > > with my servers) of ColdFusion is superior. How much better is the
> > > performance of PHP version 4 as compared to PHP3? I am doing Oracle
> > > database programming.
> >
> > What type of server are you on? NT? If so, you are comparing apples and
> > oranges. Try PHP on a Unix server. PHP 4 will provide better performance
> > on NT, but with PHP 3 the Windows version is really just for prototyping
> > applications. PHP 3 on Windows (and NT itself if you want my opinion) is
> > not a production quality solution. PHP 4 attempts to become production
> > quality even on Windows and you should try out the ISAPI version if you
> > want to do comparisons on NT.
> >
> > -Rasmus
>
> --
> David Munsey-Kano
> Dartmouth College
> (603) 646-1320
--
David Munsey-Kano
Dartmouth College
(603) 646-1320
The world is full of zanies and fools, who don't believe in sensible
rules, and don't believe what sensible people say, and because these
daft and dewey-eyed dolts keep building up impossible hopes, impossible
things keep happening everyday!