Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • For a small number of triples (<1000),  librdfa-rdf4j is faster. Results with 900 triples: Semargl 2.70 ms;  1.94 ms.
  • For a mid size number of triples (), >1000, <5000), Semargl is faster but there is a small difference. Results with 3000 triples: Semargl 3.96 ms; librdfa-rdf4j 4.13 ms.
  • For a big number of triples (>20000>5000),  there is a mid size number of triples librdfa-rdf4j is faster than Semargl. Semargl is faster. Results with 15000: Semargl 31.31 ms; librdfa-rdf4j 45.97 ms.

In general, librdfa is faster than Semargl, but there is some slowness because of the implementation of Rio. Rio loads the dataset into an InputStream before parsing it. However, librdfa parses the triples as they arrive. As a result of this, librdfa-rdf4j first needs to load the dataset into an InputStream and later send the data the C buffer through the Java-C bridge.

...