Re: [PHP-SOAP-DEV] some benchmarks.
Status: Alpha
Brought to you by:
rodif_bl
From: Andrey H. <ahr...@ic...> - 2002-05-03 18:05:08
|
Brad, I've downloaded some other web stressing tools to do some other benchmarks. Unfortunately I cannot use MS Web Stress Tool because it runs only on NT 4,5,6 but I've found some Open Source stuff on sourceforge. May be I'll test tonight and post the results after that or tommorow. I'm sorry but I cannot help you about this segfault. Few months ago I tried to write a php extension and had segfaults on extension globals because I didn't knowed that they are treated in special way. I had also segfault on when working with strings - not smart ones. May I ask why you use malloc() instead of emalloc(). I've read int the "Web development with PHP4" and the same info available on php.net and zend.com that this kind of calls should not be performed. Look at the docs at php.net in the section of module writing. malloc() memory survive the after the end of script's life. Isn't here the problem. Andrey ----- Original Message ----- From: "brad lafountain" <rod...@ya...> To: "Andrey Hristov" <ahr...@ic...>; <php...@li...> Sent: Friday, May 03, 2002 6:24 PM Subject: Re: [PHP-SOAP-DEV] some benchmarks. > This sounds good :).. > > I did some benchmarks before too.. > I did a > > <? > echo "hello world"; > ?> > > vs > > <? > $server = new SoapServer(); > $server->handle(); > function hello() > { > return "hello world"; > } > ?> > > I don't remember exactly what my resutls were but they weren't far off from > each other... like 350 requests vs 400 or 450... > > I have every intension to keep the base code as fast as possible. Adding wsdl > validation and other stuff will slow down the code but for the most part I am > going to keep speed in mind at every release. Expecially if you don't use > wsdl's.. when you are talking php -> php it will be briliantly fast. > > Lets not forget what code is easiest to read :) This is another huge part im > trying to push. > > Maybe i can get my benchmarking page functional so we can start posting these > benchmarks. > > I fixed some more bugs last nite stuff having to do with wsdl server binding. > And i was serializing the Map type wrong. > > I am trying to track down a random segfault. Man its pissing me off. I will > feel pretty releaved when i get that little bastard. > > _ brad _ > |