-
Notifications
You must be signed in to change notification settings - Fork 10
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
Show benchmarks comparison in PR comments #34
Conversation
Benchmark for 36a39b7Click to view benchmark
|
85da77a
to
3ee6ac5
Compare
da129e4
to
014da1e
Compare
I'm surprised at the variance between the base and PR benchmarks. Most are negligible but we also have +10% and -4%. Once the commits have been squashed I'm happy to merge this. |
@piotr-roslaniec Polynomial benchmarks aren't appearing in the PR comment. Does the comment get updated as new commits are pushed? |
This is because of the shared execution environment on GitHub Actions. It's not recommended to run performance-sensitive workloads there, but there are ways around that we could implement. As long as it's nothing major, we can use common sense and our local environments to figure out whether the performance was actually impacted by any given change. Benchmarks in PRs could be treated as sanity checks for now (like one would use code coverage, etc.). |
8a521a9
to
f5e92b2
Compare
So far the workflow has been failing, but soon we're going to find out. |
e49e90a
to
3faaf96
Compare
GitHub Actions keeps running some old commit. The current commit is:
|
The benchmark job is failing because GH Action runs two benchmarks: one on the current commit HEAD (works) and one on the base branch ( |
9b4b881
to
0a24d30
Compare
Benchmark for e5466b6Click to view benchmark
|
Those benchmarks take a lot of time to compute: They run two times in one GH action, and then once again in some other action, for 3 times total. I'm going to update and introduce some changes after merging this PR, but first I want to make sure everything works ok. |
main
). See Update decryption benchmarks intpke
#25.tpke
#25). For now, let's run both, and let's see if we prefer one over another.Naive random polynomial evaluation vs Arkworks implementation