Keep track of the average runtime, and use that to display a progress
bar.