use Ruby benchmark lib