remove dead code from benchmark.py