Re: to all Gurus -> I need some HELP

From: Date: Wed, 29 Nov 2000 17:24:48 +0000
Subject: Re: to all Gurus -> I need some HELP
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-27840@lists.php.net to get a copy of this message
I can't IMAGINE what kind of code is taking 10 seconds per user to parse. That is borderline ridiculous. I would say it's either a.) you're running this on a 486 b.) not very optimized code or c.) something that shouldn't be run from a web app. PHP will handle code fast as can be if the code is written correctly. We have include files that are over 90k (full of just functions) and it never takes more than a second - two at MOST - to parse all of that. --Joe On Wed, Nov 29, 2000 at 02:09:23PM +0100, Thomas Angst wrote: > er, but this is a script which a user is waiting for :) > and what if 10 users are waiting for a result? > Should they wait 100 secs. ? > PHP is really fast, but there are some functions where PHP is not made for. > There you will need a faster language like C/C++. > I want to create a tree like structure, for holding/creating XML datas. I > know all PHP sample codes, they are also not faster. It seems that PHP is > not very fast if you are creating lots of objects or adding hash tables. And > this is precisly what this structure has to do. > So - I NEED to add my C library :) > you see - Need For Speed :)) > > Thomas > > ----- Original Message ----- > From: Joe Stump <joe@earth.care2.com> > To: Thomas Angst <ta_php@granitsoft.ch> > Cc: <php-general@lists.php.net> > Sent: Wednesday, November 29, 2000 1:59 AM > Subject: Re: [PHP] to all Gurus -> I need some HELP > > > > > Is there nobody who has successfully compiled a module? > > > I need it, cause the PHP script needs more than 10 seconds to execute > it. So > > > there is only one solution -> write it C. > > > > I have PHP scripts that run for over an hour (offline cron scripts for > > parsing large amounts of data) - just set_time_limit(0); at the top of > > your script. > > > > --Joe > > > > > > > > > > > > I am happy about everykind of help > > > thanks... > > > Thomas > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-general-help@lists.php.net > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > ============================================================================ > ==== > > = Joe Stump joestump98@yahoo.com > http://www.miester.org = > > > ============================================================================ > ==== > > Need a programmer? > >http://www.google.com/search?q=joe+stump+resume > > ================================================================================ = Joe Stump joestump98@yahoo.com http://www.miester.org = ================================================================================ Need a programmer? http://www.google.com/search?q=joe+stump+resume

« previous php.general (#27840) next »