debug to benchmark