Skip to content

Add benchmarks for SimpleSuccinctBitVectorIndex - #1556

Open
yukawa wants to merge 1 commit into
google:masterfrom
ciceroaware:simple_succinct_bit_vector_index_benchmark
Open

Add benchmarks for SimpleSuccinctBitVectorIndex#1556
yukawa wants to merge 1 commit into
google:masterfrom
ciceroaware:simple_succinct_bit_vector_index_benchmark

Conversation

@yukawa

@yukawa yukawa commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Description

As a preparation before optimizing SimpleSuccinctBitVectorIndex methods, this commit introduces micro benchmarks for Rank1, Select0, and Select1.

The benchmark uses a deterministic pseudo random number generator so that the generated bit vector and queries are identical across binaries, making before/after comparisons of upcoming optimizations meaningful.

Issue IDs

N/A

Steps to test new behaviors

  • OS: Windows 25 H2
  • Steps:
    1. run -c opt //storage/louds:simple_succinct_bit_vector_index_benchmark -- --benchmark_repetitions=9 --benchmark_min_warmup_time=0.5 --benchmark_report_aggregates_only=true

As a preparation before optimizing SimpleSuccinctBitVectorIndex methods,
this commit introduces micro benchmarks for Rank1, Select0, and Select1.

The benchmark uses a deterministic pseudo random number generator so
that the generated bit vector and queries are identical across binaries,
making before/after comparisons of upcoming optimizations meaningful.
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.

1 participant