bfs benchmarking