Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #4058

Re: Perl or PHP?

From Victor Porton <porton@narod.ru>
Newsgroups comp.programming
Subject Re: Perl or PHP?
Date 2013-12-28 18:11 +0200
Organization Aioe.org NNTP Server
Message-ID <l9mt81$sqg$1@speranza.aioe.org> (permalink)
References <l9mruq$pn8$1@speranza.aioe.org> <db93pa-d0p.ln1@luuk.invalid.lan>

Show all headers | View raw


Luuk wrote:

> On 28-12-2013 16:49, Victor Porton wrote:
>> I consider to make a startup (a Web site with many MySQL InnoDB queries
>> on each page) and hope to sell it to Google.
>>
>> Perl or PHP? Please be argumented.
>>
>> First, whose performance is greater: Perl or PHP?
>>
> 
> ~/temp> time ./test.pl >test.tmp
> 
> real    0m0.004s
> user    0m0.000s
> sys     0m0.004s
> ~/temp> time ./test.php >test.tmp
> 
> real    0m0.042s
> user    0m0.026s
> sys     0m0.016s
> luuk@opensuse:~/temp>

Could you disclose the content of files test.pl and test.php?

> But the question of course is, what are your comparing?
> 
> ;-)

-- 
Victor Porton - http://portonvictor.org

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Perl or PHP? Victor Porton <porton@narod.ru> - 2013-12-28 17:49 +0200
  Re: Perl or PHP? Victor Porton <porton@narod.ru> - 2013-12-28 17:51 +0200
  Re: Perl or PHP? Luuk <luuk@invalid.lan> - 2013-12-28 17:03 +0100
    Re: Perl or PHP? Victor Porton <porton@narod.ru> - 2013-12-28 18:11 +0200
      Re: Perl or PHP? Luuk <luuk@invalid.lan> - 2013-12-28 17:18 +0100
        Re: Perl or PHP? "BartC" <bc@freeuk.com> - 2013-12-28 22:13 +0000
          Re: Perl or PHP? Luuk <luuk@invalid.lan> - 2013-12-29 17:29 +0100
  Re: Perl or PHP? Victor Porton <porton@narod.ru> - 2013-12-28 20:40 +0200
    Re: Perl or PHP? Öö Tiib <ootiib@hot.ee> - 2013-12-28 12:26 -0800

csiph-web