Skip to content

Add benchmark via inspection-testing for the existing test suite#42

Merged
int-index merged 3 commits intomonadfix:masterfrom
thelissimus:inspection-testing
Apr 5, 2026
Merged

Add benchmark via inspection-testing for the existing test suite#42
int-index merged 3 commits intomonadfix:masterfrom
thelissimus:inspection-testing

Conversation

@thelissimus
Copy link
Copy Markdown
Contributor

Ensuring/proving there is no runtime overhead.

Remark: had to remove error usage from test1, otherwise there seemed to be a source location discrepancy between test1 and test1_raw.

Closes #7

Haddock builds without optimizations, which leads to borked inspection tests on GHC 9.4.8
@thelissimus
Copy link
Copy Markdown
Contributor Author

There seems to be an issue with haddock on GHC 9.4.8 because it doesn't optimize. I could reproduce the issue with cabal test -O0.

Comment thread .github/workflows/haskell-ci.yml Outdated
@int-index
Copy link
Copy Markdown
Contributor

There seems to be an issue with haddock on GHC 9.4.8 because it doesn't optimize.

Is it ok on GHC 9.6+? We can drop support for older compilers.

@thelissimus
Copy link
Copy Markdown
Contributor Author

@int-index Yes, all the other workflows pass fine.

@int-index
Copy link
Copy Markdown
Contributor

Thanks!

@int-index int-index merged commit 5f71e4b into monadfix:master Apr 5, 2026
3 checks passed
Sign up for free to 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.

Add some benchmarks

2 participants