Benchmarks
Celox tracks compile time and simulation throughput against its own backends and Verilator. The dashboard is useful for trends; it is not a universal prediction for every RTL design.
Dashboard
The complete benchmark matrix and raw history are available on the external dashboard.
Workloads
The main view prioritizes complete hardware workloads: Heliodor and representative SHA-256, FFT and LZ77 circuits, plus rica's five self-checking RISC-V kernels. The rica tab compares Celox tiered and Veryl simulator tiered by total process time; its daily workflow runs at 04:47 UTC. Details and tarunes qualification are tracked in the circuit collection, including pinned sources, acceptance checks and the planned SystemVerilog frontend comparisons.
API, counter and standard-library measurements remain available as diagnostics. Compilation and execution are reported separately; a faster compile does not imply faster generated code.
The Taxi / cocotb comparison runs daily at 03:17 UTC and publishes Celox/Verilator results for five fixed configurations (472 tests per sample). Its tab separates test-body, whole-process and HDL compilation time.
The RTLMeter comparison measures cold source-to-finish latency for XuanTie-E902/E906 and HummingbirdV2-E203 hello programs in separate 2-state and 4-state charts, with Verilator and the stable xezim release pinned by Nix. Unsupported modes and failed qualifications remain visible in its status tables.
Reading results
The regular Benchmark workflow runs daily at 01:47 UTC (10:47 JST) and can also be dispatched manually. It runs Rust, Verilator, and TypeScript sequentially in one job, so backend comparisons within that run share a VM and CPU. Each published result records the CPU model that produced it, and every chart keeps one series per backend and CPU model: the legend names the model, the line style separates models of the same backend, and results published before the model was captured appear as CPU not recorded. The bench-host artifact retains the full runner identity. Separate workflow runs can receive different CPUs; use history to spot trends rather than to establish small changes between commits. The Heliodor suite groups backends on one host where runtimes allow it; ARM four-hart comparisons use two pairs, and eight-hart runs use separate jobs. Only results within the same group share a CPU.
Benchmark measurements run on the daily schedule or by manual dispatch. PRs exercise the benchmark tooling when it changes. Each measurement workflow keeps its running sample and at most one pending run, replacing an older pending run with the latest request. The regular benchmark, Heliodor and Taxi use independent queues; their publishers retry against the latest gh-pages history so concurrent publication preserves every history. Only master publishes history.
- Compare the same workload, backend, revision, and host environment.
- Treat small changes on shared CI runners as noise until repeated.
- Use long-running execution measurements for throughput conclusions.
- Include simulator construction when evaluating developer iteration time.
- Validate any optimization choice on the design it will actually run.
Heliodor uses an additional fixed-input acceptance workload. Its methodology is described in Heliodor Linux Benchmark. The dashboard compares the native backend with synchronous Veryl-CC, and compares Celox and Veryl-CC tiered execution by total time through completion, including compilation. Standalone Cranelift boot results are excluded because their much longer runtime makes this chart ineffective for that comparison. Heliodor charts are separated by CPU architecture because results from different runner types are not directly comparable, and every series within a section is split by CPU model the same way. Every chart uses a zero baseline.
Run locally
# Compile-time benchmarks with CodSpeed
cargo install cargo-codspeed --locked --version 5.0.1
cargo codspeed build --locked -p celox --bench compilation
cargo codspeed run -p celox
# Rust benchmarks
cargo bench -p celox
# TypeScript and N-API benchmarks
pnpm bench
# Verilator comparison (requires Verilator and a C++ toolchain)
bash scripts/run-verilator-bench.sh
# VCD comparison (also requires Python 3; validates matching waveforms)
python3 scripts/compare-vcd-verilator.pyThe VCD benchmark methodology and results cover idle, sparse, and dense recording, with tracing disabled and enabled.
The CodSpeed workflow runs daily on the default branch at 02:17 UTC (11:17 JST) and supports manual dispatch on any branch. Pull requests, merge groups, and pushes do not run it. Deterministic CPU simulation results are uploaded to CodSpeed for comparison with earlier measurements using the repository's CodSpeed regression thresholds. On master and develop, execution failures or a failed performance analysis open or update the issue CodSpeed is failing on <branch>; the next successful execution and analysis close it. Missing or incomplete analysis is reported as a failure, rather than treated as healthy. The issue includes the run link and, for regressions, the performance comparison and benchmark details. The local command only checks that the benchmark suite runs.
Local measurements are most useful for comparing two revisions on the same machine. CI history is better for long-term trends than for small one-off deltas.