Skip to content

Add cabal.bench.project for running benchmarks - #772

Merged
bergmark merged 2 commits into
haskell:masterfrom
phadej:benchmarks-running
Apr 15, 2020
Merged

Add cabal.bench.project for running benchmarks#772
bergmark merged 2 commits into
haskell:masterfrom
phadej:benchmarks-running

Conversation

@phadej

Copy link
Copy Markdown
Collaborator

No description provided.

Comment threadCONTRIBUTING.md Outdated
Comment threadCONTRIBUTING.md Outdated
@phadej
phadejforce-pushed the benchmarks-running branch 2 times, most recently from 10ac2de to 95a9e4eCompareApril 6, 2020 15:42
@phadej
phadejforce-pushed the benchmarks-running branch from 95a9e4e to 299293cCompareApril 7, 2020 10:32
@phadej

Copy link
Copy Markdown
CollaboratorAuthor

The CI is green now. So next I'll refactor the benchmarks a bit.

@phadejphadej changed the title WIP: Add cabal.bench.project for running benchmarksAdd cabal.bench.project for running benchmarksApr 11, 2020
@phadej
phadej marked this pull request as ready for review April 11, 2020 12:10
@phadej
phadejforce-pushed the benchmarks-running branch 7 times, most recently from 0b5b6ff to dd9a7dfCompareApril 12, 2020 10:25
Comment threadaeson.cabal
@bergmark

Copy link
Copy Markdown
Collaborator

Looks like we need base-compat-batteries for the benchmarks as well

@phadej
phadejforce-pushed the benchmarks-running branch from dd9a7df to 4a247edCompareApril 13, 2020 09:23
- bench.sh is the runner and comparator for benchmarks we have.
- The idea is to migrate all benchmarks we have into
`aeson-benchmark-suite`
- I added `criterion-compare-txt` to output textual tables,
these are easier to copy into pull request etc.
- Added GitHub issues example, we still need more.
@phadej
phadejforce-pushed the benchmarks-running branch from 4a247ed to c321210CompareApril 13, 2020 10:19
@phadej

Copy link
Copy Markdown
CollaboratorAuthor

CI green (finally). Please give it through review. I'd like to merge what one has here before adding more decode (and encode) cases and refactoring the existing benchmarks to be part of the suite.

@bergmark

Copy link
Copy Markdown
Collaborator

LG! Tested it out, easy to use by just reading CONTRIBUTING. Very nice to avoid the recompilations.

@bergmark
bergmark merged commit 4d12557 into haskell:masterApr 15, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@phadej@bergmark