Add more entries to the performance table
Add chunk size control, and improves variables scope