You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tests twp-table stalls and twp-native has terrible performance #4805
Any test that needs more than 10 seconds needs to have a very, very good reason to do so. Otherwise, the test needs to be split or seriously rethought to become faster. There is no point in doing parallel tests when we just get them as a long tail of slow tests.
Thanks, fair point. PR #4807 brings every test from #4730 under 10 seconds here: twp-native and twp-table are split in two, and the longest is now 9 s. twp-table never hung; it finished after about 5.6 minutes, just past where it was stopped. Speeding them up also turned up a race in the kinematics switch at a 1 ms task cycle, which I will look into separately.
Activity
BsAtHome commentedon Nov 9, 2026
Got twp-table to finish a run in a stellar 4 minutes 56 seconds... And all this while we are trying to speed up tests.
/me clears tears
grandixximo commentedon Nov 9, 2026
Yeah sorry, forgot how long those took, I'll slim them down, trying to go for sub 20s
BsAtHome commentedon Nov 9, 2026
Any test that needs more than 10 seconds needs to have a very, very good reason to do so. Otherwise, the test needs to be split or seriously rethought to become faster. There is no point in doing parallel tests when we just get them as a long tail of slow tests.
BsAtHome commentedon Nov 9, 2026
BTW, your change let the CI's tests part go from ~11:10 minutes to 19:10 minutes. That is almost a factor of two.
grandixximo commentedon Nov 9, 2026
Thanks, fair point. PR #4807 brings every test from #4730 under 10 seconds here: twp-native and twp-table are split in two, and the longest is now 9 s. twp-table never hung; it finished after about 5.6 minutes, just past where it was stopped. Speeding them up also turned up a race in the kinematics switch at a 1 ms task cycle, which I will look into separately.
tests: bring the multiaxis tests from #4730 under 10 seconds each