test/graph: add performance tests