improve benchmark test