TestMaxWidthDistributor increment random
Vladimir Bauer
4 years ago
| 148 | 148 |
}
|
| 149 | 149 |
}
|
| 150 | 150 |
time.Sleep((time.Duration(rng.Intn(10)+1) * (50 * time.Millisecond)) / 2)
|
| 151 | |
bar.Increment()
|
|
151 |
bar.IncrInt64(rand.Int63n(5) + 1)
|
| 152 | 152 |
bar.DecoratorEwmaUpdate(time.Since(start))
|
| 153 | 153 |
}
|
| 154 | 154 |
}()
|