Directory to store cached graphs downloaded from the web.
Number of repeats of every benchmark.
Path to the directory storing small graphs.
Builders of algorithms to be benchmarked.
Downloads a gzip file from a given source
and unpacks it to single file target
.
Downloads a gzip file from a given source
and unpacks it to single file target
.
Files to be benchmarked as a list of (directory, name) pairs.
Performance test.
Performs PageRank and Personalized PageRank algorithms on several real life graphs from http://snap.stanford.edu/data/. Two small graphs are stored under resources, you can benchmark on larger graphs by providing additional graph urls (they will be downloaded).
Usage: PerformanceBenchmark -h to get started.
Example Usages: -local=facebook -globalpr Benchmarks global pagerank on the local facebook graph
-url=http://snap.stanford.edu/data/cit-HepTh.txt.gz -ppr Downloads the graph from that URL into local subdir cache/ and runs personalized pagerank on it
By default runs every test 10 times and reports average time taken.
See:
http://snap.stanford.edu/data/