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

Ts new calc pool distr #3068

Merged
merged 2 commits into from
Nov 4, 2022
Merged

Ts new calc pool distr #3068

merged 2 commits into from
Nov 4, 2022

Conversation

TimSheard
Copy link
Contributor

Add some benchmarks to speed up the tickf rule

@TimSheard TimSheard force-pushed the ts-new-calcPoolDistr branch from ee9566d to 2fc91e5 Compare October 10, 2022 15:24
@TimSheard TimSheard force-pushed the ts-new-calcPoolDistr branch 2 times, most recently from 31629c2 to 1609d68 Compare October 24, 2022 19:44
@TimSheard TimSheard force-pushed the ts-new-calcPoolDistr branch 2 times, most recently from d5a6660 to 8021de1 Compare October 25, 2022 21:07
Copy link
Contributor

@JaredCorduan JaredCorduan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks wonderful @TimSheard , thank you for adding in all those very helpful comments!

Do you mind adding notes to #3035 with the results of the benchmarks? it will be really great to have a bit of a record of the results (and the community might be interested to learn as well).

@TimSheard TimSheard mentioned this pull request Oct 26, 2022
3 tasks
@TimSheard
Copy link
Contributor Author

So I added some notes to #3035. Did you make some changes. I note that you did a force-push . Do I need to do anything else? (like rebase on master?)

Copy link
Collaborator

@lehins lehins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, but few things need fixing though.

@TimSheard TimSheard force-pushed the ts-new-calcPoolDistr branch 4 times, most recently from 5a8657f to 0a682b9 Compare November 2, 2022 19:01
@disassembler disassembler requested a review from a team as a code owner November 3, 2022 14:58
@TimSheard TimSheard force-pushed the ts-new-calcPoolDistr branch from e8d6b0f to 5251425 Compare November 3, 2022 16:17
TimSheard and others added 2 commits November 4, 2022 07:59
…in terms of time on an actual recent NewEpochState. Add the function runRule to support benchmarking Rule computations in the STS framework. Add many benchmarks, and using that information wrote a few new functions that are more efficient. Added tests that these functions compute the same results. Changed the Arbitrary instance for Stake to enforce Ada is preserved implications, I.e. the sum of Ada in Stake cannot exceed (maxBound :: Word64).

We now use newer version of 'cardano-strict-containers'
@TimSheard TimSheard force-pushed the ts-new-calcPoolDistr branch from ce4375c to 186da87 Compare November 4, 2022 14:59
@JaredCorduan JaredCorduan merged commit 335199b into master Nov 4, 2022
@iohk-bors iohk-bors bot deleted the ts-new-calcPoolDistr branch November 4, 2022 18:04
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.

5 participants