Skip to content

Conversation

@facundominguez
Copy link
Collaborator

When running benchmarks, we found a quirk in cabal that causes the link step to override the time measures collected during the build step.

To obtain useful measures in the end, we have been forcing the link step to rebuild modules with -fforce-recomp when running benchmarks. This duplicated the benchmark time, as modules were built twice, first in the build step, and a second time in the link step!

This PR avoids the need for -fforce-recomp by instead collecting time measures only when the Liquid Haskell plugin runs. Since the plugin only runs in the build step, measures are not overwritten in the linking step anymore.

@facundominguez facundominguez force-pushed the fd/avoid-linking-with-fforce-recomp branch from 760c082 to 819abf0 Compare August 1, 2025 01:41
@facundominguez facundominguez merged commit 959846a into develop Aug 1, 2025
5 checks passed
@facundominguez facundominguez deleted the fd/avoid-linking-with-fforce-recomp branch August 1, 2025 10:26
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.

2 participants