notbenh / euler_bench

using the euler projects as a source to benchmark lanugages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Euler Benchmark Suite

The Euler Benchmark Suite aims at comparing language speeds for the Euler Project Problems at http://projecteuler.net/.

This currently consists of Perl 5, Rakudo Perl 6 and Parrot solutions, but all languages are welcome.

Installation

In order for the included comparison scripts to work, you need to ensure that you have the necessary dependencies installed.

cd into the git checkout

cd euler_bench
perl Makefile.PL # answer yes to installing deps if you want comparison scripts to work
make installdeps

Or if you have cpanminus (you should), then just type:

cpanm --installdeps .

File Naming

Files in each directory are named according to:

<language>/<3-digit project euler number>/<2-digit implementation number>.ext

About

using the euler projects as a source to benchmark lanugages


Languages

Language:Perl 82.8%Language:Scala 5.2%Language:Parrot 4.2%Language:Haskell 4.1%Language:Ruby 2.8%Language:Erlang 0.5%Language:PHP 0.3%Language:Java 0.1%