The SBench package

[ Tags: bsd3, library, testing ] [ Propose Tags ]

The package provides a framework for heap and runtime measurements for single Haskell functions. For heap measurements simple programs are created, compiled with profiling options and run. You can do either a heap profile or a graph for the maximal heap consumption of a function over different inputsizes. For runtime measurements the criterion library is used. Measurement data can be stored in a special file format providing besides the data some meta information about the measurement. Furthermore measured data can be plotted easily using gnuplot. In particular, it is possible to compare measurements for different functions (e.g. different version of a semantically equivalent function) in one diagram. By using gnuplot for drawing, the appearance of a diagram is very flexible and can be adjusted directly to, for example, the style of your paper.


Versions 0.1, 0.1.1, 0.2.0
Dependencies base (==4.*), criterion (==0.5.*), deepseq, directory (==1.*), filepath, gnuplot (>= && <0.5), haskell98, hp2any-core, parsec (>=3 && <=4), txt-sushi (==0.5.*) [details]
License BSD3
Author Daniel Seidel
Category Testing
Uploaded Thu Dec 23 14:02:47 UTC 2010 by DanielSeidel
Distributions NixOS:0.2.0
Downloads 1323 total (28 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-28 [all 7 reports]
Hackage Matrix CI


  • Test
    • SBench
      • File
        • Test.SBench.File.FileOps
        • Test.SBench.File.Types
      • Test.SBench.Options
      • Plot
        • Test.SBench.Plot.Gnuplot
      • Test.SBench.STerm
      • Space
        • Test.SBench.Space.OptionSet
        • Series
          • Test.SBench.Space.Series.Test
        • Single
          • Test.SBench.Space.Single.ExploreProfile
          • Test.SBench.Space.Single.Test
      • Time
        • Series
          • Test.SBench.Time.Series.Test


Maintainer's Corner

For package maintainers and hackage trustees