-
Notifications
You must be signed in to change notification settings - Fork 553
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
serde: Add node_health_report ser/de benchmark #16656
Conversation
6f412ac
to
e825bcb
Compare
ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/45238#018dd115-73b7-4a58-89de-249f79c78cd0 |
src/v/serde/test/bench.cc
Outdated
return hr; | ||
} | ||
|
||
__attribute__((noinline)) void do_bench_serialize_node_health_report( |
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.
note: I think [[gnu::noinline]]
is preferred today
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.
fixed
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.
Awesome, LGTM!
Adds a benchmark for `node_health_report` de-serialization across the topic and partitions dimensions. | test | iterations | median | mad | min | max | allocs | tasks | inst | | - | - | - | - | - | - | - | - | - | | node_health_report.serialize_many_partitions | 830 | 1.041ms | 536.095ns | 1.040ms | 1.043ms | 66.000 | 0.000 | 23326375.0 | | node_health_report.serialize_many_topics | 211 | 2.823ms | 2.239us | 2.821ms | 2.828ms | 90.000 | 0.000 | 55992429.7 | | node_health_report.deserialize_many_partitions | 365 | 1.490ms | 261.786ns | 1.490ms | 1.491ms | 6258.000 | 0.000 | 42209042.8 | | node_health_report.deserialize_many_topics | 113 | 3.582ms | 2.915us | 3.576ms | 3.586ms | 50398.000 | 0.000 | 84158331.2 |
e825bcb
to
5fcdb86
Compare
Adds a benchmark for
node_health_report
de-serialization across thetopic and partitions dimensions.
Backports Required
Release Notes