- Performance tests / test bench
- https://github.com/nobleo/ros2_performance
- https://gitlab.com/ApexAI/performance_test
- https://github.com/irobot-ros/ros2-performance
- https://github.com/ros2/buildfarm_perf_tests
- https://github.com/micro-ROS/executor_testbench/tree/master/rcl_executor_testbench
- https://github.com/Barkhausen-Institut/ros2_latency_evaluation
- Timer measurements
- https://github.com/y-okumura-isp/rclcpp_wake_latency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # 1. Run cyclictest | |
| cyclictest -l100000000 -m -Sp90 -i200 -h400 -q >output | |
| # 2. Get maximum latency | |
| max=`grep "Max Latencies" output | tr " " "\n" | sort -n | tail -1 | sed s/^0*//` | |
| # 3. Grep data lines, remove empty lines and create a common field separator | |
| grep -v -e "^#" -e "^$" output | tr " " "\t" >histogram |