clean up benchmark collection code