Browse Source

Delete more Python stuff.

Stefano Cossu 1 ngày trước cách đây
mục cha
commit
9241f5e829
5 tập tin đã thay đổi với 0 bổ sung54 xóa
  1. 0 30
      docs/dev/NOTES.md
  2. 0 6
      test/massif1_nt.py
  3. 0 6
      test/massif1_ttl.py
  4. 0 6
      test/massif2_nt.py
  5. 0 6
      test/massif2_ttl.py

+ 0 - 30
docs/dev/NOTES.md

@@ -1,30 +0,0 @@
-# Performance test data
-
-ArchLinux on a Dell Optiplex 3020 workstation, 4-core Intel(R) Core(TM) i5-4590
-CPU @ 3.30GHz, 16Gb RAM, SSD
-
-Decode LoC Children's Subjects SKOS/RDF
-[NT](https://id.loc.gov/download/authorities/childrensSubjects.skosrdf.nt.gz)
-and
-[TTL](https://id.loc.gov/download/authorities/childrensSubjects.skosrdf.ttl.gz)
-(379,163 triples):
-
-NT format: 1.08"
-TTL format: 1.6"
-
-Decode LoC Subject Headings
-[NT](https://id.loc.gov/download/authorities/subjects.skosrdf.nt.gz)
-and
-[TTL](https://id.loc.gov/download/authorities/subjects.skosrdf.ttl.gz)
-(10,116,071 triples):
-
-NT: 29.5"
-TTL: 43.2"
-
-These measurements have been taken using Python scripts in the `test` folder:
-
-```
-time python test/massif<n>_<nt|ttl>.py
-```
-
-Each script simply parses the RDF file and loads it into an in-memory graph.

+ 0 - 6
test/massif1_nt.py

@@ -1,6 +0,0 @@
-from lsup_rdf import env_init
-from lsup_rdf.graph import Graph
-
-env_init()
-with open("/data/lsup/loc/childrensSubjects.skosrdf.nt") as fh:
-    gr = Graph.from_rdf(fh, "nt")

+ 0 - 6
test/massif1_ttl.py

@@ -1,6 +0,0 @@
-from lsup_rdf import env_init
-from lsup_rdf.graph import Graph
-
-env_init()
-with open("/data/lsup/loc/childrensSubjects.skosrdf.ttl") as fh:
-    gr = Graph.from_rdf(fh, "ttl")

+ 0 - 6
test/massif2_nt.py

@@ -1,6 +0,0 @@
-from lsup_rdf import env_init
-from lsup_rdf.graph import Graph
-
-env_init()
-with open("/data/lsup/loc/subjects.skosrdf.nt") as fh:
-    gr = Graph.from_rdf(fh, "nt")

+ 0 - 6
test/massif2_ttl.py

@@ -1,6 +0,0 @@
-from lsup_rdf import env_init
-from lsup_rdf.graph import Graph
-
-env_init()
-with open("/data/lsup/loc/subjects.skosrdf.ttl") as fh:
-    gr = Graph.from_rdf(fh, "ttl")