LoadScope scheduler: Sort scopes by number of tests to assign biggest scopes first (#778)

Follow up to # 632.

---------

Co-authored-by: Jörg Kohlsdorf <joerg@cornershopapp.com>
This commit is contained in:
Henk-Jaap Wagenaar
2023-11-21 14:32:29 +00:00
committed by GitHub
parent f36ea25cb5
commit 3fe877bc6d
3 changed files with 25 additions and 1 deletions

View File

@@ -0,0 +1 @@
``--dist=loadscope`` now sorts scopes by number of tests to assign largest scopes early -- in many cases this should improve overall test session running time, as there is less chance of a large scope being left to be processed near the end of the session, leaving other workers idle.