Skip to content

Conversation

@franckgaga
Copy link
Member

@franckgaga franckgaga commented Jun 29, 2025

LGTM on CI. I'm not a fan of the CLI interface with benchpkg, but the main goal is running the benchmarks in the GitHub actions of PRs, and it seems to work well.

@github-actions
Copy link

github-actions bot commented Jun 29, 2025

Benchmark Results (Julia v1)

Time benchmarks
main 5f7bb9e... main / 5f7bb9e...
PredictiveController/allocation/ExplicitMPC_moveinput! 24.6 μs 26.9 μs 0.914
SimModel/allocation/LinModel_evaloutput 6.2 μs 5.29 μs 1.17
SimModel/allocation/LinModel_updatestate! 6.65 μs 7.2 μs 0.924
SimModel/allocation/NonLinModel_evaloutput 5.64 μs 5.99 μs 0.942
SimModel/allocation/NonLinModel_linearize! 22.6 μs 21.2 μs 1.06
SimModel/allocation/NonLinModel_updatestate! 6.61 μs 7.54 μs 0.877
StateEstimator/allocation/ExtendedKalmanFilter_preparestate! 1.45 μs 1.46 μs 0.992
StateEstimator/allocation/ExtendedKalmanFilter_updatestate! 0.0388 ms 0.04 ms 0.97
StateEstimator/allocation/InternalModel_preparestate! 7.71 μs 6.55 μs 1.18
StateEstimator/allocation/InternalModel_updatestate! 4.5 μs 4.06 μs 1.11
StateEstimator/allocation/KalmanFilter_preparestate! 1.27 μs 0.992 μs 1.28
StateEstimator/allocation/KalmanFilter_updatestate! 0.0318 ms 31.1 μs 1.02
StateEstimator/allocation/Luenberger_updatestate! 7.29 μs 7.41 μs 0.984
StateEstimator/allocation/SteadyKalmanFilter_evaloutput 5.46 μs 4.92 μs 1.11
StateEstimator/allocation/SteadyKalmanFilter_preparestate! 5.38 μs 5.85 μs 0.92
StateEstimator/allocation/SteadyKalmanFilter_updatestate! 7.42 μs 7.06 μs 1.05
StateEstimator/allocation/UnscentedKalmanFilter_evaloutput 2.37 μs 2.95 μs 0.803
StateEstimator/allocation/UnscentedKalmanFilter_preparestate! 0.0346 ms 0.0338 ms 1.02
StateEstimator/allocation/UnscentedKalmanFilter_updatestate! 13.4 μs 13.4 μs 0.998
time_to_load 3.72 ± 0.018 s 3.72 ± 0.036 s 1 ± 0.011
Memory benchmarks
main 5f7bb9e... main / 5f7bb9e...
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 Jun 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.61%. Comparing base (425b440) to head (5f7bb9e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #221   +/-   ##
=======================================
  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.

@franckgaga franckgaga merged commit a964b3b into main Jun 30, 2025
5 checks passed
@franckgaga franckgaga deleted the bench_asv branch June 30, 2025 00:58
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.

3 participants