Skip to content

Cannot benchmark #52

@remysucre

Description

@remysucre

I understand that cabal bench won't run since the suit isn't intended for "public release" as stated in the .cabal file under bench directory. But even building the bench suit on its own produces typing errors:

Building bench-bytestring-0.1.0.0...
Preprocessing executable 'bench-bytestring-builder' for
bench-bytestring-0.1.0.0...
[18 of 18] Compiling Main ( BenchAll.hs, dist/build/bench-bytestring-builder/bench-bytestring-builder-tmp/Main.o )

BenchAll.hs:133:46:
Couldn't match expected type ‘Benchmarkable’
            with actual type ‘IO ()’
In the second argument of ‘($)’, namely ‘benchIntEncodingB nRepl e’
In the expression:
  bench (name ++ " (" ++ show nRepl ++ ")")
  $ benchIntEncodingB nRepl e

Should this be fixed or should the suit just disappear?

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