Performance

Measured, run by run,
with every condition shown.

Every figure comes from a controlled experiment against StateSync-GKR's own baseline or its previous version, with its conditions stated. The v1.2.0 results are reported in the second version of the engine paper.

89×less peak memory than the engine's own dense baseline, on a width-4,096 test circuit
2,507×faster proving than the engine's own dense baseline, on the same width-4,096 circuit
1,150/srequests a second on one 192-core server, every one accepted within 1 s
440 ms99th-percentile latency at 1,000 requests a second on the same server

Showing v1.1.0. Each figure keeps one definition on both releases. The v1.1.0 memory and proving figures come from the earlier record; its serving figure is the highest rate it was offered on the v1.2.0 measurement day, a lower bound.

Serving

More requests within one second, from one server.

Serving runs measure the whole path: a request is proved, encoded, sent to a separate verifying frontend and accepted against its original request.

Long run

Thirty minutes at 3,300 requests a second, with a steady tail.

5,940,000requests in 30 minutes, every one within 1 s
0 ms10 ms20 ms30 ms40 ms50 ms60 ms051015202530Minute of the run99th percentile, per second

One 1,800-second run in continuous mode on one 192-core VM over one connection. Whole-run p50 / p99 / maximum: 26.7 / 35.3 / 58.8 ms. Straight-line fits over the run: pending requests −0.006 per minute, per-second p99 −0.006 ms per minute and server memory +0.08 MiB per minute. A second 192-core VM accepted every request within 1 s in three 60-second runs at the same rate.

Connections

The server has room to spare: a second connection carries 5,000 a second.

≥ 5,000/sover two connections to one 192-core server, a lower bound
01,0002,0003,0004,0005,0001,0002,0003,0004,0005,000Offered requests per secondCompleted requests per second4.96 Gbit/s, one connection7.30 Gbit/s, two

Median of the processes at each offered rate on one 192-core VM. Over one connection the replies, each a complete proof of about 180 KB, followed the offered load up to 3,300 per second and levelled near 4.96 Gbit/s while server CPU stayed at or below 50%. In 15-second screens over two connections every request up to 5,000 per second met 1 s, a lower bound set by the frontend. Above one connection's limit, continuous mode completed about 2,000 to 2,200 requests per second and batch-fused about 3,270 to 3,290; add connections there.

Tail latency

Hold a latency budget under load.

In its default continuous mode v1.2.0 holds its 99th percentile near 34 milliseconds second after second at a fixed load, whatever the worker count or . The product home shows the same tail across and the queue that no longer builds.

Second by second

At a fixed load, the tail holds second after second.

≤ 34.1 msevery second's p99 at 1,000 and 1,150 requests/s, v1.2.0 continuous
0 ms200 ms400 ms600 ms0102030405060Second of the input window, 1,000 requests a secondp99, per second
0 ms200 ms400 ms600 ms0102030405060Second of the input window, 1,150 requests a secondp99, per second

One 192-core VM, v1.1.0 measured the same day; the lines show the first of three 60-second runs per series (one run for v1.1.0 at 1,150 per second). Every request in every run met 1 s. Process p99 at 1,000 per second: v1.1.0 433.8 to 475.1 ms, batch-fused 95.6 to 96.0 ms, continuous 33.7 to 33.9 ms; at 1,150 per second: 580.1, 96.1 to 96.3 and 33.6 ms.

Settings

Change the workers or the batch limit, and the tail stays put.

33.4–33.8 msp99 at every tested setting, v1.2.0 continuous
20 ms100 ms1 s10 s3236404448Worker threads (batch 48)p99 (log scale)1 s16% within 1 s
20 ms100 ms1 s10 s1624324048Batch limit, or compute cap in continuous mode (48 workers)p99 (log scale)1 s4% within 1 s17% within 1 s

Three runs per setting at 500 requests per second on a 48-core server; each point is the median process p99 over accepted requests. v1.1.0 is the earlier campaign's record, matched by a same-day run at 48 workers and batch 48 (261.7 against 263.0 ms). Labels give v1.1.0's share within 1 s where it fell behind; every v1.2.0 request met 1 s.

Proving speed

The same proof bytes, computed faster.

Version 1.2.0 computes the same proofs with less arithmetic. Preparation is shared across requests of the same kind; witnesses, transcripts and proofs never are.

Time per proof

The same proof in about 40 percent of the time.

2.48–2.64×less time per prepared request than v1.1.0 the same day, one thread
0 ms20 ms40 ms60 ms80 ms42.1016.95Membership2.48× less time46.1018.22Non-membership2.53× less time65.0324.62Single-leaf update2.64× less time

Prepared depth-24 requests (witness and proof) on one thread of the 192-core bare-metal host, the median of three processes per operation, with v1.1.0 measured the same day. The prover call itself took 0.37 to 0.39 of its v1.1.0 time, and both versions produce the same proof bytes.

Repeated requests

Prepare the circuit once. Pay less for every request.

7.19–10.13×lower per-request proving time, prepared against fresh, depth 24, v1.2.0
0 ms80 ms160 ms240 ms320 ms155.6342.14129.9216.95Membershipv1.2.0: 7.66× below fresh159.4846.11130.9818.22Non-membershipv1.2.0: 7.19× below fresh289.0664.94250.0924.62Single-leaf updatev1.2.0: 10.13× below fresh

Depth 24, one request per call, three processes of 1,000 requests per operation on a 192-core bare-metal host. Fresh requests compile, commit, build the witness and prove; prepared requests, for the same operation kind and configuration, only build the witness and prove. v1.1.0 measured 3.46–4.45×; faster proving in v1.2.0 makes the one-time setup a larger share.

Memory

Fit more work in the same machine.

The sparse prover never builds the square tables that the dense baseline needs, so memory stays small as circuits widen. Version 1.2.0 keeps that layout.

Memory

The wider the circuit, the larger the saving.

88.87×lower peak process RAM at width 4,096, v1.2.0
2101001K416642561K4KWidth of one circuit layer (wires)Peak process RAM, MiB (log scale)1,811.8 MiB20.39 MiB

Same engine and circuit; only the layer representation changes. The dense baseline, the engine's own conventional layout, ran the same day on the same 48-core VM; each point is the median of three processes. v1.1.0 has the same layout and gave 89.46×. At width 4,096 the dense baseline took 11.63 s to prove, the sparse prover 1.80 ms.

Memory headroom

Under a 3 GiB cap, the sparse prover keeps going.

65,536widest layer proved under a 3 GiB cap
Layer widthDense baselineStateSync-GKR sparse
8,192Stopped: out of memoryProved · peak RAM 36 MiB
16,384Not run past the failureProved · peak RAM 67.4 MiB
32,768Not run past the failureProved · peak RAM 132 MiB
65,536Not run past the failureProved · peak RAM 259.9 MiB

Under a 3 GiB memory limit with swap off, the dense baseline ran out of memory at width 8,192 while the sparse prover returned proofs at every tested width. Peak RAM was measured on v1.1.0; v1.2.0 repeated all 17 attempts with the same outcomes. Width 65,536 is the largest point tested, not a supported maximum.

Verification

Make checking cheap for whoever receives the proof.

Derived wiring replaces lookups with structure. The verifying party, whether a counterparty, an auditor or a settlement service, does less work for the same proof.

Prepared verification

The advantage grows as the tree gets deeper.

23.68×peak, single-leaf update at depth 32
0×5×10×15×20×25×11.11×12.08×14.05×Membership10.80×11.95×13.86×Non-membership18.95×19.96×23.68×Single-leaf update

Same proof and request, verified with derived wiring instead of explicit table wiring, which is already sparse. Each bar is the median of five process medians of 300 paired calls, timing the whole verification call. Measured on v1.1.0; v1.2.0 keeps the same verifier.

Proof size

Deeper trees add only a few percent to the proof.

+0.27–7.54%encoded proof bytes, depth 24 to 32, by operation
0 KiB50 KiB100 KiB150 KiB200 KiB173178178Membership177178178Non-membership183196196Single-leaf update

Complete encoded proofs, 768 per operation and depth. From depth 24 to 32 membership grows 2.93%, non-membership 0.27% and update 7.54%. v1.2.0 produces the same proof bytes.

Reading the numbers

Separate results, never one multiplier.

Each ratio has its own baseline: the engine's dense layout for memory, table wiring for verification, fresh preparation for repeated requests, and v1.1.0 measured the same day on the same instance types for version gains. They are never multiplied or added into one figure, and earlier v1.1.0 runs appear only as their own series.

Unless a chart says otherwise, requests mix membership, non-membership and update at depth 24, and a separate frontend verifies every proof: 16 cores, or 48 where 16 would have been the limit, with frontend-limited points left out. Both versions produce the same proof bytes.

The engine paper's appendix keeps every condition and run in 367 panels, and its replay audit matched every accepted reply against 576 reference proofs. supplies the field, hash and challenger components; the sparse reduction follows the Libra approach.