Converted statistics to use time.Duration instead of raw float64