Benchmarking of different graph algorithms