Benchmark rclcpp_action action_client (#1429)
* Benchmark rclcpp_action action_client Signed-off-by: Stephen Brawner <brawner@gmail.com> * Bump timeout Signed-off-by: Stephen Brawner <brawner@gmail.com>
This commit is contained in:
parent
c277b4c8bb
commit
5607c3242d
4 changed files with 368 additions and 0 deletions
14
rclcpp_action/test/benchmark/CMakeLists.txt
Normal file
14
rclcpp_action/test/benchmark/CMakeLists.txt
Normal file
|
@ -0,0 +1,14 @@
|
|||
find_package(performance_test_fixture REQUIRED)
|
||||
|
||||
# These benchmarks are only being created and run for the default RMW
|
||||
# implementation. We are looking to test the performance of the ROS 2 code, not
|
||||
# the underlying middleware.
|
||||
|
||||
add_performance_test(
|
||||
benchmark_action_client
|
||||
benchmark_action_client.cpp
|
||||
TIMEOUT 120)
|
||||
if(TARGET benchmark_action_client)
|
||||
target_link_libraries(benchmark_action_client ${PROJECT_NAME})
|
||||
ament_target_dependencies(benchmark_action_client rclcpp test_msgs)
|
||||
endif()
|
Loading…
Add table
Add a link
Reference in a new issue