Closed Bodigrim closed 2 years ago
I cannot reproduce GHC 8.2.2 build failure (segmentation fault?) locally, and it is unlikely related to this PR.
OK, got it. That was actually a pretty nasty segmentation fault with text-2.0
, and I do not understand why I have not seen it before.
Bechmarks were built from scratch with this changes
Alright, I distilled a test case which deterministically triggers a segmentation fault. It appears that otherwise QuickCheck rarely generates an offending combination. Plus extended CI matrix to run builds against text-2.0
. This is ready for review, @bgamari.
Thank you, @Bodigrim!
Released as 0.14.4.
Current project structure is both convoluted and not achieving the goal: both test and benchmark components refer not to the library, but directly to
hs-source-dir: .
, and stillcabal bench
fails withThere is also a stray
attoparsec-benchmarks.cabal
, but nocabal.project
to refer it. Benchmarks are not built on CI, which exposes us to risk of breaking them without any notice.This PR modernizes project's structure, introducing an internal library for things, which we wish to test and benchmark, but not to expose to end users, + switching from
criterion
totasty-bench
. Benchmarks are now built on CI.CC @bgamari
@KovalevDima benchmarks should simply work now.