Package org.eclipse.rdf4j.benchmark.rio
Class ParserBenchmark
java.lang.Object
org.eclipse.rdf4j.benchmark.rio.ParserBenchmark
- Direct Known Subclasses:
BinaryParserBenchmark
,JSONLDParserBenchmark
,N3ParserBenchmark
,NQuadsParserBenchmark
,NTriplesParserBenchmark
,RDFJSONParserBenchmark
,TrigParserBenchmark
,TrixParserBenchmark
,TurtleParserBenchmark
,XMLParserBenchmark
Benchmark for parsing a file created through
DataSetGenerator
with BlackHoleRDFHandler
.- Author:
- Tomas Kovachev t.kovachev1996@gmail.com
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final boolean
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract RDFParser
void
parseBufferedReader
(org.openjdk.jmh.infra.Blackhole blackhole) void
parseStream
(org.openjdk.jmh.infra.Blackhole blackhole) void
setup()
-
Field Details
-
TOTAL_STATEMENTS
public static final int TOTAL_STATEMENTS- See Also:
-
MIN_STRING_LENGTH
public static final int MIN_STRING_LENGTH- See Also:
-
MAX_STRING_LENGTH
public static final int MAX_STRING_LENGTH- See Also:
-
PERCENT_BNODE
public static final int PERCENT_BNODE- See Also:
-
PERCENT_LITERALS
public static final int PERCENT_LITERALS- See Also:
-
TEXT_ONLY
public static final boolean TEXT_ONLY- See Also:
-
-
Constructor Details
-
ParserBenchmark
public ParserBenchmark()
-
-
Method Details
-
setup
- Throws:
IOException
-
parseStream
- Throws:
IOException
-
parseBufferedReader
- Throws:
IOException
-
getParser
-