Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce Cardano.Api.ProtocolParameters compile time #3275

Merged
merged 1 commit into from
Oct 7, 2021

Conversation

Jimbo4350
Copy link
Contributor

@Jimbo4350 Jimbo4350 commented Oct 6, 2021

https://gitlab.haskell.org/ghc/ghc/-/issues/20036

Using maybeToStrictMaybe: cabal build cardano-api -j12 159.07s user 2.39s system 100% cpu 2:41.30 total

Using noInlineMaybeToStrictMaybe: cabal build cardano-api -j12 56.92s user 2.17s system 100% cpu 58.945 total

~ 65% speed up

@Jimbo4350 Jimbo4350 force-pushed the jordan/fix-protocol-params-compile-time branch from 1f5f639 to 08a4b3b Compare October 7, 2021 15:32
@erikd
Copy link
Contributor

erikd commented Oct 7, 2021

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 7, 2021

Build succeeded:

@iohk-bors iohk-bors bot merged commit 93f76cc into master Oct 7, 2021
@iohk-bors iohk-bors bot deleted the jordan/fix-protocol-params-compile-time branch October 7, 2021 20:07
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