Hacker News new | ask | show | jobs
by stonemetal12 2181 days ago
It depends on how fancy you want to get. It could be as simple as a unit test that runs some scenarios a dozen times under a timer and fails if 90 percentile time is greater than the target time.