Class ParserBenchmark

java.lang.Object
org.eclipse.rdf4j.benchmark.rio.ParserBenchmark
Direct Known Subclasses:
BinaryParserBenchmark, JSONLDParserBenchmark, N3ParserBenchmark, NQuadsParserBenchmark, NTriplesParserBenchmark, RDFJSONParserBenchmark, TrigParserBenchmark, TrixParserBenchmark, TurtleParserBenchmark, XMLParserBenchmark

public abstract class ParserBenchmark extends Object
Benchmark for parsing a file created through DataSetGenerator with BlackHoleRDFHandler.
Author:
Tomas Kovachev t.kovachev1996@gmail.com
  • Field Details

  • Constructor Details

    • ParserBenchmark

      public ParserBenchmark()
  • Method Details

    • setup

      public void setup() throws IOException
      Throws:
      IOException
    • parseStream

      public void parseStream(org.openjdk.jmh.infra.Blackhole blackhole) throws IOException
      Throws:
      IOException
    • parseBufferedReader

      public void parseBufferedReader(org.openjdk.jmh.infra.Blackhole blackhole) throws IOException
      Throws:
      IOException
    • getParser

      public abstract RDFParser getParser()