Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Date: Sat, 28 Dec 2013 17:03:30 +0100 From: Luuk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 Newsgroups: comp.programming Subject: Re: Perl or PHP? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 25 NNTP-Posting-Host: 2001:980:9089:1:d7c:bc08:8c3c:1493 X-Trace: 1388246701 news.xs4all.nl 2846 [2001:980:9089:1:d7c:bc08:8c3c:1493]:37508 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.programming:4057 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> But the question of course is, what are your comparing? ;-)