It is important to economically and non-destructively analyze three-dimensional (3-D) shapes of nanometer to micrometer scale objects with sub-nanometer measurement resolution for emerging high-volume nanomanufacturing, especially for process control. High-throughput through-focus scanning optical microscopy (TSOM) demonstrates promise for such applications. TSOM uses a conventional optical microscope for 3-D shape metrology by making use of the complete set of through-focus, four-dimensional optical data. However, a systematic study showing the effect of various parameters on the TSOM method is lacking. Here we present the optimization of the basic parameters such as illumination numerical aperture (NA), collection NA, focus step height, digital camera pixel size, illumination polarization, and illumination wavelength to achieve peak performance of the TSOM method.