You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a transact_filtered_delete bench — filtered-DELETE staging has no coverage #1684
Nothing benches the filtered-DELETE staging path. fluree-db-api/benches/transact_commit.rs does not exercise WHERE/DELETE at all, which is how a retractions × novelty shape in hydrate_list_index_meta_for_retractions sat unnoticed until a 40k-subject delete on a novelty-heavy ledger stopped finishing altogether. #1675 fixed that shape; nothing currently guards the win.
Ask
A transact_filtered_delete bench over a novelty-heavy ledger:
Enough retracted (subject, predicate) groups and enough novelty that a per-group overlay walk is visibly quadratic — the regression this is meant to catch is superlinear, so the fixture has to be large enough for the two curves to separate.
Cover both branches of the skip guard (snapshot.has_list_meta == Some(false) with clean novelty vs. a @list present), since they have very different cost profiles: the reference numbers from perf: make filtered-DELETE list-meta hydration O(novelty), not O(retractions × novelty) #1675 were 0.9 s with no lists and 3.1 s with a @list present on the same 40.5k-retraction delete.
Add the matching regression-budget.json entry so workspace_reconcile stays happy.
Related
validate_staged_nodes in the SHACL path has the same per-subject-range shape and is already named as a follow-up on #1675; worth deciding whether one bench covers both or they want separate fixtures.
Activity