-
-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: fix ui thread starvation in benchmarks (#2009)
Maxing out CPU with a hot while loop also prevented the test runner app from being able to query the accessibility system to hit the stop button. This causes lots of retries and eventual failures or timeouts in other areas, and the tests to run a long time in general. Instead of having a button press stop the benchmark and contending for time on the main run loop, just remove the start/stop buttons and start when the view controller appears, and set a 15 minute delay to stop the benchmarks. Then the test runner queries the text field for results as usual.
- Loading branch information
1 parent
ffe3af9
commit 91cf82a
Showing
2 changed files
with
22 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters