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
[Epic] Variant performance and memory benchmark coverage #11101
Is your feature request related to a problem or challenge?
Variant changes need benchmarks on the paths they touch, and a few kernels still have gaps. unshred_variant and cast_to_variant have no benchmarks at all, so a change like #11106 can't be compared on the existing suite. No Variant benchmark measures memory either, although the row builders allocate per row and per object.
Describe the solution you'd like
Add a few cases per gap, each with a distinct execution path or cost, preferably in benchmark-only PRs that later changes can be evaluated against. Extend variant_kernels and reuse its fixtures where possible.
unshred_variant: PR to follow
cast_to_variant: primitive and string arrays, lists and structs
shred_variant: fully typed objects and lists
variant_get: a field path on shredded objects
Memory: peak and cumulative allocated bytes for representative Variant kernels, in a separate bench target because the tracking allocator is process-wide, following parquet/benches/arrow_reader_peak_memory.rs and parquet/benches/arrow_writer_peak_memory.rs
Covered today:
Kernel
Coverage
PRs
variant_get
Empty path, unshredded object path, per-row and unsorted metadata, list index, typed conversions to UTF-8, Binary and Decimal
Activity
bench(variant): add list-index lookup with empty lists (apache#11193)
[Variant] Add unshred_variant benchmarks (apache#12079)