Thanks for the idea @gbz. Unfortunately, I don’t think it will help 
As you can see one of the main SceneOptimizer parameters is targetFrameRate which means that it will optimize your scene in order to keep a good frame rate.
But in my case, I am rendering only one frame! 