Add stats reporting

Log some stats for the batch timings upon completion, e.g.:

```
max: 15297
avg: 897.7070707070707
std dev: 2831.0587955906917
25th percentile: 150
median: 153
75th percentile: 161
```