Link Details

Link 115448 thumbnail
User 226784 avatar

By amrlafi
via shootout.alioth.debian.org
Published: Sep 18 2008 / 06:29

I really like groovy but php is surpassing in benchmarks ??
  • 6
  • 20
  • 1726
  • 586

Comments

Add your comment
User 179375 avatar

Ricky Clarkson replied ago:

0 votes Vote down Vote up Reply

Clearly it's because PHP programmers are superior. Otherwise Groovy would beat it hands down.

User 75637 avatar

adobni replied ago:

1 votes Vote down Vote up Reply

Have the poster read the benchmarks? groovy is faster but has worst use of memory. This post is stupid. The linked site has no fault in this only the poster.

User 226784 avatar

amrlafi replied ago:

0 votes Vote down Vote up Reply

Hehehe , hard comments !. however i like Groovy a lot more than php and i was just wondering
,

User 168451 avatar

aalmiray replied ago:

0 votes Vote down Vote up Reply

Apples vs oranges.

User 189831 avatar

karmazilla replied ago:

0 votes Vote down Vote up Reply

The top contenders in the pidigits benchmark are only testing quickly they can make calls to libgmp. PHP uses libgmp whereas the groovy version uses java.util.BigInteger. The java6 -server version of the same benchmark that also uses the slow j.u.BigInteger is just as fast as the groovy version (62.95 vs. 63.07 seconds, respectively). A groovy version that used libgmp would beat the PHP version, just like the Java versions do.

I haven't grokked the reverse complement benchmark yet, but the PHP version, besides from apparently being faster, also looks much more readable.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.