[Shootout-list] Directions of various benchmarks

Brent Fulgham bfulg@pacbell.net
Wed, 18 May 2005 11:21:43 -0700 (PDT)


--- José Bollo <jose.bollo@tele2.fr> wrote:

> usually i write my eiffel programs like in
> nsievebits:
>
http://shootout.alioth.debian.org/benchmark.php?test=nsievebits&lang=se&id=0&sort=fullcpu
> 
> but quickly i use the command 'pretty' that reformat
> my code, that is what is done with spectral norm:
>
http://shootout.alioth.debian.org/benchmark.php?test=spectralnorm&lang=se&id=0&sort=fullcpu
 
This is an excellent point, José, and it ties in with
something Bengt said earlier in this thread.

I think what we should do is modify the shootout
infrastructure so that it passes all programs through
a code formatter (usually GNU indent, but probably
'pretty' for Eiffel and likewise for any other
language).

In this way, we can enforce a consistent code format
for all programs automatically.  I won't have to make
any judgements about how so-and-so crammed 15
statements into the latest Obfuscated C entry.

Bengt, if you were serious about having some enscript
rules we could apply for various languages, I will
get them installed in the shootout build process
*yesterday* !  :-)

-Brent