Skip to content

Allow report export in library #45

Open
@nmattia

Description

@nmattia

Right now the hyperion reports from doAnalyze are only available in JSON form (doAnalyze performs the benchmarks, the analysis and the JSON reporting). This means that, currently, the two ways to access those reports from other Haskell code is to either (1) export the reports as JSON and parse them back or (2) copy the logic from doAnalyze. A better way would be to have a function doAnalyze similar to:

doAnalyze
  :: Config -- ^ Hyperion config.
  -> [Benchmark] -- ^ Benchmarks to be run.
  -> IO (HashMap BenchmarkId Report)
doAnalyze = ...

that the user could use directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions