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

Fix - Removes redundant TotalBatchesLen from ThreadExecuteTimings::accumulate() #34179

Merged

Conversation

Lichtso
Copy link
Contributor

@Lichtso Lichtso commented Nov 20, 2023

Problem

ExecuteTimingType::TotalBatchesLen is accumulated twice, once explicitly and once implicitly inside self.execute_timings.accumulate(&other.execute_timings);.

Summary of Changes

Removes the explicit accumulation.

@Lichtso Lichtso requested a review from carllin November 20, 2023 13:59
Copy link
Contributor

@carllin carllin left a comment

Choose a reason for hiding this comment

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

good catch!

@Lichtso Lichtso merged commit c0a4fc8 into solana-labs:master Nov 20, 2023
30 of 32 checks passed
@Lichtso Lichtso deleted the fix/redundant_TotalBatchesLen_metric branch November 20, 2023 18:21
@Lichtso Lichtso added the v1.17 PRs that should be backported to v1.17 label Dec 6, 2023
Copy link
Contributor

mergify bot commented Dec 6, 2023

Backports to the beta branch are to be avoided unless absolutely necessary for fixing bugs, security issues, and perf regressions. Changes intended for backport should be structured such that a minimum effective diff can be committed separately from any refactoring, plumbing, cleanup, etc that are not strictly necessary to achieve the goal. Any of the latter should go only into master and ride the normal stabilization schedule. Exceptions include CI/metrics changes, CLI improvements and documentation updates on a case by case basis.

mergify bot pushed a commit that referenced this pull request Dec 6, 2023
…:accumulate()` (#34179)

Removes redundant TotalBatchesLen from ThreadExecuteTimings::accumulate().

(cherry picked from commit c0a4fc8)
Lichtso added a commit that referenced this pull request Dec 7, 2023
…imings::accumulate()` (backport of #34179) (#34347)

Fix - Removes redundant `TotalBatchesLen` from `ThreadExecuteTimings::accumulate()` (#34179)

Removes redundant TotalBatchesLen from ThreadExecuteTimings::accumulate().

(cherry picked from commit c0a4fc8)

Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1.17 PRs that should be backported to v1.17
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants