[Solar-talk] Namespacing with concrete class functionality (was: Re: Proposal: Remove namespace to Solar::loadClass()/factory())

Paul M Jones pmjones at ciaweb.net
Tue Nov 14 17:31:47 PST 2006


On Nov 8, 2006, at 12:50 PM, Rodrigo Moraes wrote:

> On 11/8/06, Antti Holvikari wrote:
>> Ever heard of Solar_Test_Bench? ;-)
>
> Uh, yes, but it is more or less a fancy way to use microtime(), isn't
> it? I have to get used to it - tried once, I don't remember why I left
> it to try again later... ApacheBench seems to give some sophisticated
> results, and the possibility to test concurrent requests is useful.

Quick note that doesn't address the namespacing issue...

The "ab" tool is for testing requests-per-second through the server,  
and works one-at-a-time (you need to run "ab" multiple times against  
multiple options).

Solar_Test_Bench is for quick-and-dirty relative speed comparisons of  
coding algorithms just at the PHP level, and works many-at-once (you  
can have as many bench*() methods as you like, and each will get run  
in turn).

They both serve a similar purpose, but in different ways.

Hope that helps to clarify.


--

Paul M. Jones  <http://paul-m-jones.com>

Solar: Simple Object Library and Application Repository
for PHP5.   <http://solarphp.com>

Savant: The simple, elegant, and powerful solution for
templates in PHP.   <http://phpsavant.com>




More information about the solar-talk mailing list