PHP versus Perl (and meaningless performance benchmarks)

Andy Wardley abw at wardley.org
Fri Jun 29 17:13:12 BST 2007


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.

> Oh btw, hello! This is my first message to london.pm.

Hello Philip!  Welcome.

A


More information about the london.pm mailing list