Skip to content

Conversation

@michaelsproul
Copy link
Member

Proposed Changes

Since we added the progressive balances cache in #4362 there haven't been any issues on our infra or reported by users. I think it's time we take advantage of the cache and actually bring its benefits to users.

Additional Info

In tree-states the cache is used by default with no option to turn it off. Enabling fast by default on stable paves the way for that.

There was a bug in the progressive-balances cache on tree-states (#4834), but it was related to changes I'd made and not to the inherent implementation. The fuzzing of the tree-states branch is also exercising the cache and is yet to unearth any issues.

@michaelsproul michaelsproul added optimization Something to make Lighthouse run more efficiently. v4.6.0 ETA Q1 2024 ready-for-review The code is ready for review labels Dec 3, 2023
@jimmygchen
Copy link
Member

I think we're missing the actual change here:

progressive_balances_mode: ProgressiveBalancesMode::Checked,

@michaelsproul
Copy link
Member Author

Good catch, thanks @jimmygchen! Fixed in my latest commit

Copy link
Member

@jimmygchen jimmygchen left a comment

Choose a reason for hiding this comment

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

Thanks, looks good! 👍

@jimmygchen jimmygchen removed the ready-for-review The code is ready for review label Dec 4, 2023
@michaelsproul michaelsproul added the ready-for-merge This PR is ready to merge. label Dec 4, 2023
@jimmygchen
Copy link
Member

CI passed except for a flaky test (address in use)! Let's merge.

@jimmygchen jimmygchen merged commit c8b2324 into sigp:unstable Dec 4, 2023
@michaelsproul michaelsproul deleted the gotta-go-fast branch December 4, 2023 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

optimization Something to make Lighthouse run more efficiently. ready-for-merge This PR is ready to merge. v4.6.0 ETA Q1 2024

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants