There's some stuff that can be moved outside of the view loop here for better performance. sync_data is the most important one, and the render passes sync (under add passes comment) and scene->film and scene->integrator updates can be moved too.

sync_camera should of course stay per view.