Skip to content

bench: adding some PredictiveController benchmarks #222

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

franckgaga
Copy link
Member

No description provided.

Copy link

github-actions bot commented Jul 13, 2025

Benchmark Results (Julia v1)

Time benchmarks
main adf78e0... main / adf78e0...
PredictiveController/allocation/ExplicitMPC_moveinput! 27.3 μs 26.9 μs 1.02
SimModel/allocation/LinModel_evaloutput 6 μs 6.07 μs 0.988
SimModel/allocation/LinModel_updatestate! 7.38 μs 7.45 μs 0.991
SimModel/allocation/NonLinModel_evaloutput 5.28 μs 6.03 μs 0.875
SimModel/allocation/NonLinModel_linearize! 23 μs 23.5 μs 0.98
SimModel/allocation/NonLinModel_updatestate! 8.28 μs 7.71 μs 1.07
StateEstimator/allocation/ExtendedKalmanFilter_preparestate! 1.5 μs 1.42 μs 1.06
StateEstimator/allocation/ExtendedKalmanFilter_updatestate! 0.0429 ms 0.0435 ms 0.988
StateEstimator/allocation/InternalModel_preparestate! 7.2 μs 7.52 μs 0.957
StateEstimator/allocation/InternalModel_updatestate! 4.9 μs 5.51 μs 0.889
StateEstimator/allocation/KalmanFilter_preparestate! 1.24 μs 1.29 μs 0.961
StateEstimator/allocation/KalmanFilter_updatestate! 0.0333 ms 0.0347 ms 0.959
StateEstimator/allocation/Luenberger_updatestate! 7.34 μs 8.17 μs 0.899
StateEstimator/allocation/SteadyKalmanFilter_evaloutput 5.21 μs 5.64 μs 0.924
StateEstimator/allocation/SteadyKalmanFilter_preparestate! 6.05 μs 6.4 μs 0.945
StateEstimator/allocation/SteadyKalmanFilter_updatestate! 7.48 μs 7.56 μs 0.989
StateEstimator/allocation/UnscentedKalmanFilter_evaloutput 2.22 μs 3.5 μs 0.636
StateEstimator/allocation/UnscentedKalmanFilter_preparestate! 0.0371 ms 0.0372 ms 0.997
StateEstimator/allocation/UnscentedKalmanFilter_updatestate! 14.1 μs 14.3 μs 0.985
time_to_load 3.76 ± 0.026 s 3.77 ± 0.023 s 0.996 ± 0.0092
Memory benchmarks
main adf78e0... main / adf78e0...
PredictiveController/allocation/ExplicitMPC_moveinput! 0 allocs: 0 B 0 allocs: 0 B
SimModel/allocation/LinModel_evaloutput 0 allocs: 0 B 0 allocs: 0 B
SimModel/allocation/LinModel_updatestate! 0 allocs: 0 B 0 allocs: 0 B
SimModel/allocation/NonLinModel_evaloutput 0 allocs: 0 B 0 allocs: 0 B
SimModel/allocation/NonLinModel_linearize! 0 allocs: 0 B 0 allocs: 0 B
SimModel/allocation/NonLinModel_updatestate! 0 allocs: 0 B 0 allocs: 0 B
StateEstimator/allocation/ExtendedKalmanFilter_preparestate! 0 allocs: 0 B 0 allocs: 0 B
StateEstimator/allocation/ExtendedKalmanFilter_updatestate! 0 allocs: 0 B 0 allocs: 0 B
StateEstimator/allocation/InternalModel_preparestate! 0 allocs: 0 B 0 allocs: 0 B
StateEstimator/allocation/InternalModel_updatestate! 0 allocs: 0 B 0 allocs: 0 B
StateEstimator/allocation/KalmanFilter_preparestate! 0 allocs: 0 B 0 allocs: 0 B
StateEstimator/allocation/KalmanFilter_updatestate! 0 allocs: 0 B 0 allocs: 0 B
StateEstimator/allocation/Luenberger_updatestate! 0 allocs: 0 B 0 allocs: 0 B
StateEstimator/allocation/SteadyKalmanFilter_evaloutput 0 allocs: 0 B 0 allocs: 0 B
StateEstimator/allocation/SteadyKalmanFilter_preparestate! 0 allocs: 0 B 0 allocs: 0 B
StateEstimator/allocation/SteadyKalmanFilter_updatestate! 0 allocs: 0 B 0 allocs: 0 B
StateEstimator/allocation/UnscentedKalmanFilter_evaloutput 0 allocs: 0 B 0 allocs: 0 B
StateEstimator/allocation/UnscentedKalmanFilter_preparestate! 0 allocs: 0 B 0 allocs: 0 B
StateEstimator/allocation/UnscentedKalmanFilter_updatestate! 0 allocs: 0 B 0 allocs: 0 B
time_to_load 0.159 k allocs: 11.2 kB 0.159 k allocs: 11.2 kB 1

@codecov-commenter
Copy link

codecov-commenter commented Jul 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.61%. Comparing base (a964b3b) to head (adf78e0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #222   +/-   ##
=======================================
  Coverage   98.61%   98.61%           
=======================================
  Files          26       26           
  Lines        4327     4327           
=======================================
  Hits         4267     4267           
  Misses         60       60           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants