Optimize and test time