Optimization of passively mode-locked giant pulse lasers