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

Pr add prover benchmark tool #790

Merged
merged 80 commits into from
May 23, 2024
Merged

Pr add prover benchmark tool #790

merged 80 commits into from
May 23, 2024

Conversation

elcritch
Copy link
Contributor

No description provided.

@elcritch elcritch requested a review from dryajov May 9, 2024 16:15
benchmarks/utils.nim Outdated Show resolved Hide resolved
for v in vals:
elapsedStr &= ", " & v.formatFloat(format = ffDecimal, precision = 3)
stdout.styledWriteLine(
fgGreen, "CPU Time [", benchmarkName, "] ", "avg(", $nn, "): ", elapsedStr, " s"
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we actually derive an average for the number of runs here? in fact, I would print this on it's own line at the end of the bench run.

Something like:

"CPU Time ["... "], ...s"
...

"Average for ${nn} runs is ...."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Definitely, I was thinking about doing that. The current form is because I wanted to print out each run so I could do a simple linear regression on it. It's a pain to work with though in this form.

dryajov
dryajov previously approved these changes May 22, 2024
@dryajov dryajov enabled auto-merge May 22, 2024 16:44
@elcritch elcritch disabled auto-merge May 22, 2024 17:42
@elcritch elcritch requested a review from dryajov May 22, 2024 17:59
@elcritch
Copy link
Contributor Author

@dryajov @gmega can you guys re-approve this? I had to fix a merge issue yesterday.

@elcritch elcritch requested a review from gmega May 23, 2024 15:04
@dryajov dryajov disabled auto-merge May 23, 2024 16:25
benchmarks/README.md Outdated Show resolved Hide resolved
cleanup wording

Signed-off-by: Dmitriy Ryajov <dryajov@gmail.com>
@dryajov dryajov merged commit efd4614 into master May 23, 2024
7 checks passed
@dryajov dryajov deleted the pr-add-prover-benchmark-tool branch May 23, 2024 16:28
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.

None yet

2 participants