Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filterTipBranches: Use O(n) instead of O(n^2) algorithm.
Fixes JENKINS-5724. Before, this made slaves run on 100% CPU for days when idle. This makes it a few thousand times faster for a repo with 500 branches.
- Loading branch information
Showing 1 changed file with 35 additions and 36 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