apply CountDownLatch to accurately control the start and end of threads for better performance test result.