-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add new benches #4783
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
Add new benches #4783
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4783 +/- ##
=======================================
Coverage 84.34% 84.34%
=======================================
Files 249 249
Lines 27460 27460
=======================================
Hits 23160 23160
Misses 4300 4300
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
f19fb54
to
af7649c
Compare
af7649c
to
7529949
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mh, do we really need to be so many of these? For example, the various "pop" ones have perfectly linearly correlated results on my machine.
7529949
to
47d4ec5
Compare
47d4ec5
to
bf444f3
Compare
bf444f3
to
980f987
Compare
980f987
to
216d823
Compare
Add benchmarks for `Queue` and `DesciptorChain` objects. This will allows us to see performance difference with changes introduced to the queue in the future. Signed-off-by: Egor Lazarchuk <[email protected]>
216d823
to
ed9ed7d
Compare
Add bench for `Request::parse` method. This will allow us to track performance of this method. Signed-off-by: Egor Lazarchuk <[email protected]>
ed9ed7d
to
df4cd12
Compare
Changes
Add benchmarks for Queue::pop/add_used, DescriptorChain::next_descriptor and Request::parse(from virtio block)
Reason
We want to track most used methods in device emulation to see performance gains/regressions.
License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following Developer
Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md
.PR Checklist
PR.
CHANGELOG.md
.TODO
s link to an issue.contribution quality standards.
rust-vmm
.