Skip to content

Benchmarks are run with threaded runtime and +RTS -N #197

@Bodigrim

Description

@Bodigrim

prettyprinter configures all benchmarks with
https://github.com/quchen/prettyprinter/blob/11e8bf12aed2f698e619c3a8c07eca3af4da1aed/prettyprinter/prettyprinter.cabal#L202
What's the reason for this? (I suspect a copy-paste from test suites?..)

I mean, it does not make sense to run benchmarks concurrently, because results would be wildly wrong. So neither criterion nor gauge nor tasty-bench do it. The only effect of such configuration is parallel GC over all cores, which in my experience (especially with otherwise default RTS parameters) negatively affects relevance of performance metrics.

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