[PHP-DEV] Re: [PHP-WINDOWS] PHP 4.0.1dev binaries From: Joel Roller (jroller <email protected>)
Date: 08/31/00

I get the exact same results without a php.ini file.

The other odd thing is that a file of the same length, that actually makes use of
php and prints out every line executes much faster than a file that has no <?php
?> section, and only contains the text.

Additionally, large strings are handled very poorly:

print "xxxxxxxxxxxxxxxxxxxxx"; // executes fine
print "xx.. 1000 xes xxxxx"; // 0.312 sec
print "xx.. 5000 xes xxxxx"; // 3.765 sec
print "xx.. 10,000 xes xxxxx"; // 14.360 sec
print "xx.. 15,000 xes xxxxx"; // 32.046 sec

With the 401-dev build, the 15 thousand character string executes in 0.187
seconds on the same machine.

Can Anyone duplicate these results with the windows 4.0.2? I'd really like to
confirm my sanity.

-joel

Andi Gutmans wrote:

> Wow. I had no idea that my machine is a super-duper optimizing machine :)
> I will try and check the settings on the machine we built 4.0.2 and see if
> there is a difference. This really makes very little sense and I have no
> idea how there could be such a big difference.
> Maybe my build was broken? At the time where php.ini wasn't read and some
> INI parameter you have takes additional time? Doesn't sound likely but try
> and remove your php.ini and see if something changes.
>
> Andi
>
> At 03:36 PM 8/30/00 -0500, Joel Roller wrote:
> >Andi,
> >
> >I've been using this build since you posted it(around June 08 2000)
> >because it is
> >amazingly faster than any of the other binary releases. What exactly
> >would I do
> >when building from CVS to speed this back up? And is it possible to do
> >this when
> >releasing windows binaries?
> >
> >A reminder of the numbers I'm seeing:
> >Time for php.exe to eat through and spit out 100,000 'x's (No actual php
> >code) on
> >my dinky little WinNT machine:
> >PHP Version 4.0.1-dev: 0.312 seconds
> >PHP Version 4.0.2: 6.719 seconds
> >
> >Note that 4.0.2 takes about _20 TIMES_ as long to finish. Uff da.
> >
> >-joel
> >
> >
> >Joel Roller wrote:
> >
> > > Hi,
> > >
> > > This is much beauty. Speeds up my html test by a factor of about
> > 18. Yahoo.
> > > And yippie even.
> > >
> > > -joel
> > >
> > > Andi Gutmans wrote:
> > >
> > > > Guys,
> > > >
> > > > I posted a build of todays CVS tree at
> > va.php.net/~andi/php-4.0.1dev-Win32.zip
> > > > For those of you who had problems try them out.
> > > > This build doesn't include the calender/imap/ldap dlls which were in the
> > > > 4.0.0 release and is meant to see if it solves problems ppl were having.
> > > > Please send feedback.
> > > > Make sure you erase you move your older php4ts.dll files to some backup
> > > > directory which is not in your path.
> > > >
> > > > Andi
> > > > ---
> > > > Andi Gutmans <andi <email protected>>
> > > > http://www.zend.com/
> > > >
> > > > --
> > > > PHP Windows Mailing List (http://www.php.net/)
> > > > To unsubscribe, e-mail: php-windows-unsubscribe <email protected>
> > > > For additional commands, e-mail: php-windows-help <email protected>
> > > > To contact the list administrators, e-mail: php-list-admin <email protected>
>
> ---
> Andi Gutmans <andi <email protected>>
> http://www.zend.com/

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>