Skip to content

[bench] Import and reindex cost of the 64-bit list place #2269

Open

Description

@bplatz

#2229 widens a list member's place to 64 bits (o_i: which of the owner's lists in the high 32 bits, its position in the low 32). That grows every import and index artifact a little, for a value that is NONE on nearly every row:

artifact before after
run record, on the wire 30 B 34 B
spool record 34 B 38 B
import RunRecord, in memory 40 B 48 B
leaf key 26 B 30 B
history entry 31 B 36 B

bench.yml's compare job runs only the query benches. This needs import_bulk, reindex_full and reindex_incremental at both SHAs: next before #2229 merges, and after. Medium scale is enough.

If the run files turn out to matter, a writer can choose the narrow layout for a run when every record in its buffer is list 0; read_run_le_narrow already reads it.

The format ships in v5, so the numbers should be in before v5 does. Follow-up from review of #2229.

Activity

  1. added
    P2
    area:storage
    performance
    on Nov 6, 2026
  2. added this to the 5.0.0 milestone on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2area:storageperformance

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions