There are several HDT and non-HDT libraries under parse and query tests on up to 10 million triples. Testing is done on an Intel i9-12900k. The person data files need to be converted to HDT for the HDT test to work.
This is a fork of the Sophia benchmarking suite. The original purpose of the fork was to to compare "normal" Sophia (FastGraph and LightGraph) with the HDT Sophia adapter. However as the original is not updated much you can just use this one as a general RDF library benchmark with more up to date versions.
This is an environment for benchmarking the sophia library, and comparing it with other RDF libraries.
The results are available in benchmark_results.ipynb
.
They should display correctly on github.
Otherwise, you need Jupyter to visualize them.
The tests have been designed for my machine, running Ubuntu 18.10.
To load and build all the necessarily files,
type make
in the root directory of the project
(see benchmark_results.ipynb
for dependencies).
To re-generate the CSV files,
use the run_benchmark
command with the appropriate arguments.
pip install -r requirements.txt
export NODE_OPTIONS=--max_old_space_size=16000
One of the following (depending on your distribution):
- pacman -S redland
- apt install librdf-dev
If you want to add another library to the benchmark,
have a look at the BENCHMARK_INTERFACE.txt
file.