Optimizing Batch Performance