Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 394 Bytes
import graphit
from scipy.sparse import csr_matrix
import sys
import time
module = graphit.compile_and_load("")
graph = csr_matrix([1]))
start_time = time.perf_counter()
ranks = module.do_pagerank_delta()
end_time = time.perf_counter()
print ("Time elapsed = " + str(end_time - start_time) + " seconds")
You can’t perform that action at this time.