Open NobbZ opened 1 year ago
I agree that this could deliver more robust information. The advantage of the rolling average we are currently using is, that it prevents database blow-up because we only need to save one number per package.
thats more resistant against outliers.
I think we need something smarter than average build time. Sometimes (to often) nix has hicups where it suddenly takes 10 minutes to build a derivation which should take 1 minute. Also when building many things in parallel chromium can take over an hour where it usually takes 30 minutes.
Currently it is documented that the previous bildtimes are averaged.
It would probably make sense to use a mean here, as thats more resistant against outliers.