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

Cardano-Perf regression: UMap.size regression fix #3758

Merged

Conversation

doyougnu
Copy link
Contributor

This patch is just an assemblage of performance tweaks that I have found by auditing the code base, inspecting performance and tickyticky profiles. Most of the tweaks are inlining some key functions so that GHC can further optimize them at their respective call sites with case-of-known-constructor which leads to better Core.

cc @dnadales

@lehins lehins force-pushed the cardano-perf-regression/umap-base-perf branch from 74d02e1 to 5cdf654 Compare September 26, 2023 17:20
@doyougnu
Copy link
Contributor Author

I'm interested in if these changes change performance of the ledger. Is there a way we could get this data?

Specifically:
- decodeAddress28
- getEitherAddrBabbageTxOut
- umElem functions in umap
- txIxFromIntegral
- certIxFromIntegral
- word16FromInteger
@lehins lehins force-pushed the cardano-perf-regression/umap-base-perf branch from 5cdf654 to d5185db Compare September 27, 2023 09:44
@lehins lehins merged commit c250a78 into IntersectMBO:master Sep 27, 2023
11 of 12 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.

2 participants