Remove benchmarks sublibrary.

Open
#550 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
haskell
Domain
build-system

Research direction

Start by inspecting the package components and benchmark configuration, then check how cabal-install solves the dependencies involved in the splitmix testing loop. Done means the public benchmarks sublibrary is removed or separated into a benchmark executable/package without causing unnecessary dependencies or the dependency cycle.

Written by the indexing model from the issue text.

Description

Due how cabal-install works, all components are always solved for, and this causes unnecessary dependencies.

In case of splitmix it causes a dependency loop, so splitmix cannot test itself (or it should drop dependency on vector in tests).

Move the benchmarks into separate package, or fold into the benchmarks executable.

I'm not sure why benchmarks-O2 sublibrary is public in the first place, it isn't mentioned in the changelog.

Dominant language
Haskell
Stars
401
Forks
145
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from haskell/vector

All issues in haskell/vector

Similar issues

More Haskell issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.