Ticket #1951 (closed enhancement: fixed)
Improve Nightly's next-build-finding algorithm
| Reported by: | dustin | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.8.+ |
| Version: | 0.8.3p1 | Keywords: | performance, simple, sprint |
| Cc: |
Description
Nightly currently iterates through minutes from now until two years from now looking for a matching time. This isn't very efficient! The algorithm is well-tested, so a refactor should be safe.
Change History
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)
This will take some thought about how best to calculate the next matching time, without long iteration. But the tests are already written, and this doesn't require much knowledge of the rest of Buildbot's internals. Thus I'm tagging it as "simple".