Added loop for record conversion to test performance.