Regression Testing for Real-Time-Constraints
summary
Automates worst-case execution time checks and runs them in CI by benchmarking functions on hardware (uses cycle counters or external toggles) and sweeping inputs (0–360° in 50° steps), flagging specific failing inputs such as 60, 90, 150 etc. Combines measured runtimes into the deadline equation (calculate + 2×set_new_value < 40 micros), records historical results to spot regressions, compares compiler optimizations and library variants (reduced six failures to three), and integrates with Robot Framework on RP2040 for CI-ready regression tests.
AI-written summary · about
chapters (13)
- 0:00Introduction to Zer and motivation
- 2:01Why real-time constraints matter
- 3:28Calculating deadlines and execution time
- 4:31Measuring execution time approaches
- 5:59Demo setup and constraints
- 8:57Running the regression test
- 11:53Historical data and optimization
- 14:02Fixing controller performance
- 15:29Audience interaction on testing
- 17:12Q&A on historical data and trends
- 23:08Testing interactions with other tasks
- 26:20Limitations and future steps
- 27:04Closing remarks and logistics
