Skip to content

Commit

Permalink
Add benchmark
Browse files Browse the repository at this point in the history
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

More benchmarks

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
  • Loading branch information
sloretz committed Sep 2, 2022
1 parent ba16715 commit 8aeea4c
Show file tree
Hide file tree
Showing 3 changed files with 689 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rviz_default_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1048,6 +1048,9 @@ if(BUILD_TESTING)
${TEST_LINK_LIBRARIES}
rviz_visual_testing_framework::rviz_visual_testing_framework)
endif()

ament_add_google_benchmark(bm891 test/bm891.cpp)
target_link_libraries(bm891 ${visualization_msgs_TARGETS})
endif()

ament_package(
Expand Down
1 change: 1 addition & 0 deletions rviz_default_plugins/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
<test_depend>ament_cmake_cppcheck</test_depend>
<test_depend>ament_cmake_cpplint</test_depend>
<test_depend>ament_cmake_gmock</test_depend>
<test_depend>ament_cmake_google_benchmark</test_depend>
<test_depend>ament_cmake_gtest</test_depend>
<test_depend>ament_cmake_lint_cmake</test_depend>
<test_depend>ament_cmake_uncrustify</test_depend>
Expand Down
Loading

0 comments on commit 8aeea4c

Please sign in to comment.