Perform timing comparison between different kinds of heaps as well as with
equivalent igraph routine distances. To do this, a random
sub-graph containing a defined number of vertices is first selected.
Alternatively, this random sub-graph can be pre-generated with the
dodgr_sample function and passed directly.