PHP versus Perl (and meaningless performance benchmarks)

Dave Hodgkinson davehodg at gmail.com
Fri Jun 29 21:56:56 BST 2007


On 29 Jun 2007, at 18:13, Andy Wardley wrote:

> philip skinner wrote:
>> [philips at frank ~]$ time cat>foo
>> print "Content-type text/html\n\nhello world";
>> real    0m8.342s
>> user    0m0.000s
>> sys     0m0.002s
>
> My implementation runs a bit faster :-)
>
> [abw at shiny ~] time echo 'print "Content-type text/html\n\nhello  
> world";' > foo
>
> real    0m0.000s
> user    0m0.000s
> sys     0m0.000s
>
> I tried to work out how much faster my implementation was compared  
> to yours. But I gave up when the back of my envelope threw a divide- 
> by-zero exception.

What time does the TT version run in?

-- 
Dave Hodgkinson
Back in the Market Risk swamp




More information about the london.pm mailing list