Benchmark configuration

Benchmark configuration#

Benchmarks require a dedicated configuration file pointing to test databases. This isolates benchmark runs from production data.

Configuration file#

The benchmark uses a standard Meta config YAML with test-specific values. A reference config is provided at oc_meta/run/benchmark/benchmark_config.yaml.

Required settings#

# Test triplestore endpoints
triplestore_url: http://127.0.0.1:8805/sparql
provenance_triplestore_url: http://127.0.0.1:8806/sparql

# Benchmark directories
input_csv_dir: oc_meta/run/benchmark/input
base_output_dir: oc_meta/run/benchmark/output
output_rdf_dir: oc_meta/run/benchmark/output/

Test databases#

Start the test databases before running benchmarks:

./test/start-test-databases.sh

This starts:

  • Virtuoso (data): port 8805

  • Virtuoso (provenance): port 8806

Cleanup#

By default, the benchmark resets all test databases after each run:

  • Virtuoso: RDF_GLOBAL_RESET() via Docker exec

  • Counter files: deleted from temporary info_dir

  • Output files: deleted

Use --no-cleanup to preserve data for inspection.