The Computer Language
Benchmarks Game

Contribute your programs

How should I implement programs?

You will probably come across people saying that the programs are not idiomatic ("enough"). So read the description and write your own idiomatic program, without programming tricks.

Do design-iteration before you contribute your program. Write narrow programs — someone will try to read on a phone.

diff program output with the output file provided in the description, to check your program is correct, before you contribute your program.

How do I contribute my programs? 10–step

0. You'll need an Alioth User Account. Register a real email address to receive status updates.

  1. Go to the Play the Benchmarks Game tracker page.

  2. Login (Your chosen Login Name is suffixed with "–guest".)

  3. Click Submit New.

  4. Start from the bottom of the form — Attach the full source–code file of your tested program to the new Tracker item.

    Don't paste source code into the description field. Don't contribute patch files.

  5. Write in the Detailed description how this program fixes an error or is faster or was missing or … Give reasons to accept your program.

  6. Write a Summary like this — Ruby n-body Glenn Parker 2005-03-28

  7. Select a Language Implementation

  8. Select a Task

  9. Click Submit

If you registered with a real email address, you'll receive status updates and be notified of any followup comments about your program.

Contribute your expertise

That program shouldn't be allowed!

Register an Alioth User Account.

Explain specifically what you think the problem is in the discussion forum.

Contribute your own project

Why don't you include language X?
… my favorite language implementation?
… Microsoft® Windows® ?

Because I know it will take more time than I choose. Been there; done that.

Measurements of proggit popular language implementations like Nim and Julia will attract attention and be the basis of yet another successful website (unlike more Fortran or Ada or Pascal or Lisp). So make those measurements, and publish them and promote them.

If you're interested in something not shown on the benchmarks game website then please take the program source code and the measurement scripts and publish your own measurements.

Where can I get the program source code?

zip'd program source code

Where can I get the measurement scripts?

zip'd Python measurement scripts

Where can I get the data?

The summary data shown only includes the fastest measurements, but additional measurements are included in a compressed data file.