-
Notifications
You must be signed in to change notification settings - Fork 249
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 tests for rosbag2_performance_benchmarking pkg #1268
Add tests for rosbag2_performance_benchmarking pkg #1268
Conversation
6ea3d4d
to
b293e71
Compare
59e00ad
to
a89a699
Compare
6d4f12f
to
8adcb63
Compare
@carlossvg Could you please review this PR? |
@carlossvg kindly ping for review |
02b4648
to
ee2d151
Compare
rosbag2_performance/rosbag2_performance_benchmarking/test/benchmark_test.py
Show resolved
Hide resolved
rosbag2_performance/rosbag2_performance_benchmarking/config/producers/automotive.yaml
Show resolved
Hide resolved
rosbag2_performance/rosbag2_performance_benchmarking/test/benchmark_test.py
Show resolved
Hide resolved
Co-authored-by: Carlos San Vicente <carlos.sanvicente@apex.ai> Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
- Note. It was inconsistency with BenchmarkPublishers Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Co-authored-by: Christophe Bedard <bedard.christophe@gmail.com> Signed-off-by: Michael Orlov <michael.orlov@apex.ai> Co-authored-by: Christophe Bedard <bedard.christophe@gmail.com>
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
…ive.yaml Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
ee2d151
to
a665e2f
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.
Looks good to me!
@MichaelOrlov Just one last thing. Should we document how to setup the benchmark by creating tmpfs or modifying the benchmark path? |
|
@emersonknapp @james-rms Could you please additionally approve or review to be able to merge this PR? |
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.
This looks fine to me! 👍 go ahead
Gist: https://gist.githubusercontent.com/MichaelOrlov/79969f0d04f121d696cf3dba6674154f/raw/43fdc699b8cd4fa0abb2a1080b3d782969fb2b8b/ros2.repos |
This pull request has been mentioned on ROS Discourse. There might be relevant details there: https://discourse.ros.org/t/ros-2-tsc-meeting-minutes-4-20-2023/31087/1 |
This is integration tests for
rosbag2_performance_benchmarking
. By default tests usestmpfs
folder for writing results and bags.Note. Test will fail without #1267
Currently tests capable to run only for SQlite3 storage backend and disabled on CI.
I will create follow up PRs with adding MCAP support, ability to setup CPU affinity for testing processes and measure CPU load per processes and per each core.
Hopefully we will be able to run these performance tests on nightly CI job to check regression in performance of the rosbag2.