loki: Iceberg rows removed (rmat22: plus 1 %, minus 1 %, both)
cargo bench -p kleene-iceberg --bench delta with KLEENE_DELTA_SET = the rmat22 X.gar set, 8 threads, 2026-11-29 about 14:05Z (best of 3). The set's 32988662 edges written as an Iceberg table, one data file per 4194304 rows (8 files), then changed by about 1 %:
plus: 99 % first, every 100th edge (329886) appended;minus: all first, every 100th row of each data file removed by position (329886 rows, deletion vectors);both: 99 % first, every 100th row of each file removed (326587) and the held-back edges appended.
Answers checked equal (graph sizes, every fact of the three relations).
| case | read whole (ms) | read from the first snapshot (ms) | run from scratch (ms) | run continued (ms) |
| plus | 2274.0 (9 files) | 1426.3 (1 file) | 962.1 | 36.6 |
| minus | 5529.2 (8 files) | 5432.5 (0 files) | 964.8 | 52.1 |
| both | 5322.8 (9 files) | 5560.4 (1 file) | 965.2 | 58.6 |
The program: a reach from 64 seeds (r), a one-step join (hop), a count of the seeds' edges (fan). Per stratum, continued (Engine::continue_with):
| case | r |
hop |
fan |
| plus | continued, 29.9 ms | continued, 1.2 ms | continued, 0.8 ms |
| minus | run again, 17.4 ms | deleted and derived again, 1.9 ms | counts taken off, 0.8 ms |
| both | run again, 16.3 ms | deleted and derived again, 2.5 ms | counts taken off, 1.4 ms |
The read with removals reads no data file it read before, but it is not faster than the whole read here: of 5.4 s, about 1.0 s is skade's changelog and the mapping, 2.0 s taking the removed rows out of the rows kept (GraphRows::changed), 2.4 s finding the pairs no row holds now and the graph changed (GraphRows::gone, Csr::with_changes), each pass over all 33 M kept rows. A count per pair kept with the snapshot would make that cost follow the change. Raw lines: loki-iceberg-removed.json.