STL algorithm benchmark