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
Related to #32536. This bounty is for determining why newer versions of hypothesis (6.103.1 vs our pinned 6.47) are so much slower at example generation for test_car_interfaces.py.
Bounty
Bounty is awarded for determining the exact cause and a solution for optimizing/fixing either the hypothesis library itself, or openpilot to improve the example generation times.
On AMD Ryzen Threadripper PRO 3955WX 16-Cores on hypothesis==6.47.0:
adeebshihadeh
changed the title
[$100 bounty] Determine cause of hypothesis slow example generation in newer versions
Determine cause of hypothesis slow example generation in newer versions
Jul 7, 2024
Narrowed this down to a specific commit that slows down the example generation by 30% in my test (comment).
Figured out a few other slowdowns
# first bad commit: 5de1fe84252051594fdc6879d4920c357a6d1368 - more likely to generate boundary values
# from 3.5 - 3.8s: e66c88d99d61c0eca0d8aed59543d35e462fef89
# - better after revert: 6e2f394a253761677cdcc0990a32df54a62f079a
# from 4s - >5s: 1e76ce2e52e450d54470ed09b9c65fb1b598fb5c - trackIRTree in ConjectureData
Most of the slowdowns are for better example generation (higher chance of generating boundary values, better repro of failing tests, faster shrinker,...).To resolve this, probably need some restructuring in how hypothesis track generated cases.
Related to #32536. This bounty is for determining why newer versions of hypothesis (6.103.1 vs our pinned 6.47) are so much slower at example generation for test_car_interfaces.py.
Bounty
Bounty is awarded for determining the exact cause and a solution for optimizing/fixing either the hypothesis library itself, or openpilot to improve the example generation times.
On
AMD Ryzen Threadripper PRO 3955WX 16-Cores
on hypothesis==6.47.0:and on latest hypothesis==6.103.1
The text was updated successfully, but these errors were encountered: