Skip to content

Benchmark variable-arity sequence tables - #976

Draft
ezrosent wants to merge 1 commit into
codex/inline-containers-02-sequence-indexesfrom
codex/inline-containers-03-sequence-benchmarks
Draft

Benchmark variable-arity sequence tables#976
ezrosent wants to merge 1 commit into
codex/inline-containers-02-sequence-indexesfrom
codex/inline-containers-03-sequence-benchmarks

Conversation

@ezrosent

@ezrosent ezrosent commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add Divan microbenchmarks comparing fixed-arity SequenceTable workloads with SortedWritesTable.
  • Measure serial and parallel insert, delete, rebuild, and compaction costs, both merge-only and end-to-end.
  • Add wide-sequence benchmarks for index construction and sparse/high-fanout indexed rebuilds.
  • Run locally with cargo bench -p egglog-core-relations --bench sequence_table.

Stack

Draft, stacked on #975. This is PR 3 of 12 in the sequence-backed container stack.

Validation

Validated on the complete 12-commit stack:

  • cargo nextest run --workspace: 1,362 tests passed
  • cargo test --workspace --doc
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo fmt --all -- --check

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (codex/inline-containers-02-sequence-indexes@c6a903a). Learn more about missing BASE report.

Additional details and impacted files
@@                              Coverage Diff                               @@
##             codex/inline-containers-02-sequence-indexes     #976   +/-   ##
==============================================================================
  Coverage                                               ?   87.65%           
==============================================================================
  Files                                                  ?       97           
  Lines                                                  ?    36491           
  Branches                                               ?        0           
==============================================================================
  Hits                                                   ?    31987           
  Misses                                                 ?     4504           
  Partials                                               ?        0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codspeed-hq

codspeed-hq Bot commented Aug 5, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 37 untouched benchmarks
⏩ 227 skipped benchmarks1


Comparing codex/inline-containers-03-sequence-benchmarks (fd5fa6f) with codex/inline-containers-02-sequence-indexes (c6a903a)

Open in CodSpeed

Footnotes

  1. 227 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants