What's the new feature?
Simplify and improve the reliability of test_speed_comparison_test.
What value does this add?
This test occasionally fails and can be simplified to improve reliability and maintainability, see #2189 for an example where this test fails.
Is there an alternative you've considered?
No response
Additional context
No response