diff options
author | Ubuntu <ubuntu@ip-172-31-37-73.ec2.internal> | 2014-11-20 04:06:30 +0000 |
---|---|---|
committer | Ubuntu <ubuntu@ip-172-31-37-73.ec2.internal> | 2014-11-20 04:06:30 +0000 |
commit | d911bc45d297ef0f76fe8385b505d40dcd1c25e1 (patch) | |
tree | b6c088eb1f7968fefc5e0c464982da7923ffc9be /examples | |
parent | 368f3520ad60bee39655bebb27136f00822b518d (diff) | |
download | rdflib-d911bc45d297ef0f76fe8385b505d40dcd1c25e1.tar.gz |
further benchmark refinements
Diffstat (limited to 'examples')
-rw-r--r-- | examples/graph_digest_benchmark.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/graph_digest_benchmark.py b/examples/graph_digest_benchmark.py index b2d4ae25..326598d1 100644 --- a/examples/graph_digest_benchmark.py +++ b/examples/graph_digest_benchmark.py @@ -31,6 +31,7 @@ stat_cols = [ 'tree_depth', 'color_count', 'individuations', + 'prunings', 'initial_color_count', 'adjacent_nodes', 'initial_coloring_runtime', @@ -46,7 +47,6 @@ def bioportal_benchmark(apikey, output_file): ontology_graph = Graph() print url ontology_list_json = urlopen(url).read() - print ontology_list_json[:1000] ontology_graph.parse(StringIO(unicode(ontology_list_json)), format="json-ld") ontologies = ontology_graph.query(bioportal_query) w = open(output_file, 'w') @@ -71,4 +71,4 @@ def bioportal_benchmark(apikey, output_file): print e if __name__ == '__main__': - bioportal_benchmark(sys.argv[1], sys.argv[2])
\ No newline at end of file + bioportal_benchmark(sys.argv[1], sys.argv[2]) |