Performance

Fast enough to call on every step.

Context selection takes microseconds, and the action log appends and verifies hundreds of thousands to millions of events per second, in memory. Every figure below is a median with its full range and raw files.

2.06µsHarpe, 10 items10 context items, 60-token budget, 2,000 calls. Median, range 1.89–2.15 µs over 5 runs.
Slower than the 1.77 µs at v0.1.0-alpha.12 (runs 1.77 to 1.90, on another server of this type). This median is outside every earlier run, but the run ranges overlap, so the change is not established; not yet bisected.
Evidence
34.23µsHarpe, 200 items200 context items, 1,500-token budget, 500 calls. Median, range 33.49–34.64 µs over 5 runs.
Slower than the 30.90 µs at v0.1.0-alpha.12 (runs 30.19 to 32.02, on another server of this type). The run ranges do not overlap, so the change is real. Harpe went from 0.1.0-alpha.12 to 0.1.0-alpha.15 between the two runs. The cause is not yet bisected.
Evidence
1,089,249events/sArgus appends1,000,000 appends through the public API, in memory. Median, range 1,047,940–1,090,638 events/s over 5 runs.
Higher than the 1,070,319 events/s at v0.1.0-alpha.12 (runs 1,014,163 to 1,078,528, on another server of this type). This median is outside every earlier run, but the run ranges overlap, so the change is not established.
Evidence
2,463,657events/sArgus verificationFull re-verification of all 1,000,000 events from the first event. Median, range 2,444,245–2,482,249 events/s over 5 runs.
Lower than the 2,506,211 events/s at v0.1.0-alpha.12 (runs 2,466,721 to 2,528,716, on another server of this type). This median is outside every earlier run, but the run ranges overlap, so the change is not established; not yet bisected.
Evidence

Harpe: context selection

MeasurementMedianRangeRaw data
Harpe call time, 10 items (median call)
10 context items, 60-token budget, 2,000 calls; p50 of the calls in one run
Slower than the 1.77 µs at v0.1.0-alpha.12 (runs 1.77 to 1.90, on another server of this type). This median is outside every earlier run, but the run ranges overlap, so the change is not established; not yet bisected.
2.06 µs1.89–2.15run1 run2 run3 run4 run5 · source · details
Harpe call time, 200 items (median call)
200 context items, 1,500-token budget, 500 calls; p50 of the calls in one run
Slower than the 30.90 µs at v0.1.0-alpha.12 (runs 30.19 to 32.02, on another server of this type). The run ranges do not overlap, so the change is real. Harpe went from 0.1.0-alpha.12 to 0.1.0-alpha.15 between the two runs. The cause is not yet bisected.
34.23 µs33.49–34.64run1 run2 run3 run4 run5 · source · details
Average Harpe time per simulated turn
100,000 turns; includes building each turn's item list
Faster than the 17.2 µs at v0.1.0-alpha.12 (runs 17.2 to 17.3, on another server of this type). The run ranges do not overlap, so the change is real.
16.1 µs16.0–16.4run1 run2 run3 run4 run5 · source · details

Argus: append and verify

MeasurementMedianRangeRaw data
Appends per second
1,000,000 appends through the public API, in memory; each validated, timestamped and SHA-256 chained
Higher than the 1,070,319 events/s at v0.1.0-alpha.12 (runs 1,014,163 to 1,078,528, on another server of this type). This median is outside every earlier run, but the run ranges overlap, so the change is not established.
1,089,249 events/s1,047,940–1,090,638run1 run2 run3 run4 run5 · source · details
Average time per append
1,000,000 appends, in memory
Faster than the 0.93 µs at v0.1.0-alpha.12 (runs 0.93 to 0.99, on another server of this type). This median is outside every earlier run, but the run ranges overlap, so the change is not established.
0.92 µs0.92–0.95run1 run2 run3 run4 run5 · source · details
Verification speed
Full re-verification of all 1,000,000 events from the first event
Lower than the 2,506,211 events/s at v0.1.0-alpha.12 (runs 2,466,721 to 2,528,716, on another server of this type). This median is outside every earlier run, but the run ranges overlap, so the change is not established; not yet bisected.
2,463,657 events/s2,444,245–2,482,249run1 run2 run3 run4 run5 · source · details
Verification speed with an anchor
10,000 events verified against a recorded head (sequence number and hash)
Higher than the 2,459,901 events/s at v0.1.0-alpha.12 (runs 2,363,096 to 2,478,146, on another server of this type). The run ranges do not overlap, so the change is real.
2,516,594 events/s2,507,468–2,545,407run1 run2 run3 run4 run5 · source · details
Time to reach and report the edit
Verification walks from event 1 to the edit at event 500,000, in memory
Faster than the 196.9 ms at v0.1.0-alpha.12 (runs 195.7 to 199.1, on another server of this type). This median is outside every earlier run, but the run ranges overlap, so the change is not established.
195.4 ms195.1–195.9run1 run2 run3 run4 run5 · source · details

Kibisis: leases and writes

MeasurementMedianRangeRaw data
Lease operations per second, 16 threads
16 threads, one shared lease, in-memory coordinator in one process. The benchmark asks for a 50 ms lease; the coordinator stores deadlines in whole seconds and rounds up, so a lease lasts at least its TTL and at most one second longer
Was 1,290,854 ops/s at v0.1.0-alpha.12 (runs 1,227,313 to 1,438,471, on another server of this type). This median is inside the earlier runs' range: no change beyond run-to-run noise.
1,297,264 ops/s1,185,039–1,448,101run1 run2 run3 run4 run5 · source · details
Lease operations per second, 32 threads
32 threads, one shared lease, in-memory coordinator in one process. The benchmark asks for a 50 ms lease; the coordinator stores deadlines in whole seconds and rounds up, so a lease lasts at least its TTL and at most one second longer
Higher than the 1,632,552 ops/s at v0.1.0-alpha.12 (runs 1,619,894 to 1,655,418, on another server of this type). The run ranges do not overlap, so the change is real.
1,720,214 ops/s1,715,525–1,732,322run1 run2 run3 run4 run5 · source · details
Vault writes per second (in memory)
10,000 writes to the Rust in-memory vault, each hashed into its audit journal; no disk and no encryption in this measurement
Was 159,013 ops/s at v0.1.0-alpha.12 (runs 158,449 to 159,807, on another server of this type). This median is inside the earlier runs' range: no change beyond run-to-run noise.
158,948 ops/s158,240–159,216run1 run2 run3 run4 run5 · source · details

Method

How these numbers were measured. Each figure is the median of 5 runs of the telarch-benchmarks programs at release tag v0.1.0-alpha.13, with the range of all runs beside it. AMD EPYC 9R05 64-Core Processor, 48 logical CPUs, Linux 7.0, rustc 1.97.1, pinned to CPUs 0-11. EC2 m8azn.metal-12xl bare-metal server (48 cores, no other tenants); each run started only after the 1-minute load average was below 4 on two checks 20 s apart. Synthetic data; real workloads will differ. Raw output of every run.

  • Times are wall-clock inside the benchmark programs, on one EC2 m8azn.metal-12xl bare-metal server; the range column shows how much runs varied.
  • Throughput figures are in memory. Disk, encryption and network are not part of these numbers unless the row says so.
  • Reproduce any row with the command on the evidence page.