Difference between revisions of "Benchmarks Game"

From HaskellWiki
Jump to navigation Jump to search
(category)
(links)
Line 5: Line 5:
 
Now that GHC 6.6 is available, please use it! This gives us the option
 
Now that GHC 6.6 is available, please use it! This gives us the option
 
of using:
 
of using:
  +
* [http://haskell.org/ghc/docs/latest/html/libraries/base/Data-ByteString.html Data.ByteString]
* Data.ByteString
 
  +
* [http://haskell.org/ghc/docs/latest/html/libraries/regex-posix/Text-Regex-Posix-ByteString.html Text.Regex.*]
* Text.Regex.{PCRE,...}
 
  +
* [http://www.haskell.org/ghc/docs/latest/html/users_guide/sec-bang-patterns.html bang patterns]
* bang patterns
 
 
which should greatly improve clarity and brevity. Line count is not
 
which should greatly improve clarity and brevity. Line count is not
 
significant now (code is gzipped to determine size), so aim for maximum
 
significant now (code is gzipped to determine size), so aim for maximum

Revision as of 01:04, 10 November 2006

This is for entries to The Great Language Shootout.

Submitting guide

Now that GHC 6.6 is available, please use it! This gives us the option of using:

which should greatly improve clarity and brevity. Line count is not significant now (code is gzipped to determine size), so aim for maximum clarity.

Suggested best practices for submiting an entry to the shootout include:

  • Posting the proposed code to the community to allow for a best of breed entry. Proposed code is here on the wiki and often in the haskell-cafe mailing list. This has already helped improve the submitted code.
  • Provide complete performance measurements against the current best entry.
  • Creating clean, functional-style code or fast, imperative-style code. There are multiple versions ("GHC", "GHC#2", "GHC#3", "GHC#4") of GHC codes on many of the benchmarks with no clear rational for the different versions. It'd be better to have entries for "GHC" be clean, short, functional code and entries for "GHC-#2" be fastest, probably-ugliest code.
--
-- The Great Computer Language Shootout, http://shootout.alioth.debian.org/
-- Haskell Shootout entries, http://haskell.org/haskellwiki/Great_language_shootout
-- 
-- Simon Marlow
-- Shortened by Don Stewart
--

Results

Haskell results for all benchmarks: Gentoo/P4 and Debian/AMD Sempron

Current benchmarks

Obsolete benchmarks

Future benchmarks