Performance

On AMD Ryzen Threadripper PRO 5995WX with 256 GiB RAM, relic records the lowest median wall time on 30 of 31 comparable workloads with 64 threads, and 24 of 31 with one thread, against completed rival runs. The suite compares compiled Souffle (with and without Magic Sets), interpreted Souffle, Nemo, SWI-Prolog, clingo, DuckDB and SQLite.

Speedup = fastest completed rival median ÷ relic median. Above 1× favors relic; below 1× favors the rival. The ratio axis is logarithmic. Hover a point for its medians, or open the timing tables below.

Loading recorded benchmark data…

1 thread

64 threads

Median timings
1 thread — scale-1 median wall times
WorkloadrelicFastest completed rival Rival medianSpeedupUnavailable measurements
64 threads — scale-1 median wall times
WorkloadrelicFastest completed rival Rival medianSpeedupUnavailable measurements
Benchmark setup

Native command-line results: AMD Ryzen Threadripper PRO 5995WX, 64 physical cores, 128 hardware threads, 256 GiB RAM, FreeBSD 16.0-CURRENT. Scale 1, ten repetitions per timing. Medians include startup, loading, evaluation and complete answer serialization to discarded stdout for every engine; compilation is excluded. Serial runs include all engines; 64-thread runs compare relic, three Souffle modes and DuckDB. Unavailable measurements remain statuses. These are native CLI measurements.

Complete results, versions and measurement limits · Raw measurements

Relic optimization techniques

Relic evaluates recursive rules in rounds until no new facts are produced. Query rewriting can restrict that work, while the planner chooses how to find matching facts. The techniques below reduce repeated joins, retained data and coordination between workers. The charts measure complete commands rather than the contribution of any single optimization.

Research index with implementation status and provenance