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

Improve budget tracker #1267

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Improve budget tracker #1267

merged 1 commit into from
Nov 30, 2023

Conversation

jayz22
Copy link
Contributor

@jayz22 jayz22 commented Nov 30, 2023

What

Improve the budget tracker. With a bit code reorg and tightening.
The BudgetTracker used to contain the (iterations, inputs) pair for each cost type. This PR adds to it the cpu, mem costs.

Why

get_tracker can return granular costs which can be filtered/aggregated downstream for better metrics.

Known limitations

[TODO or N/A]

@graydon graydon added this pull request to the merge queue Nov 30, 2023
Merged via the queue into stellar:main with commit 3820e24 Nov 30, 2023
10 checks passed
@jayz22 jayz22 deleted the tracker branch November 30, 2023 15:41
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