Add batch stats (#18096)

This commit is contained in:
sakridge
2021-06-22 15:23:26 +02:00
committed by GitHub
parent 3a4176aa3e
commit e808f34b0b
3 changed files with 16 additions and 0 deletions

View File

@ -195,6 +195,8 @@ fn execute_batches(
})
});
timings.total_batches_len += batches.len();
timings.num_execute_batches += 1;
for timing in new_timings {
timings.accumulate(&timing);
}