Instead of hardcoding the number of entries saved under distfiles/build-stats/%a to 10, we've made it adjustable.
There are actually two knobs for that: STATS_USED: the last n recent entries will be used (defaults to 10) STATS_BACKLOG: the last n recent entries will be saved (defaults to 25) No change in dpb function, but the log file will grow by x2.5 by default. This also allows people to simply keep build stats for each pkgpath over longer periods and possibly do fun stuff with it.