Skip to content

Dictionary encode decimals - #11332

Open
robert3005 wants to merge 12 commits into
developfrom
rk/decimal-dict-layout
Open

robert3005 wants to merge 12 commits into
developfrom
rk/decimal-dict-layout

Back out the binary view keyed string dictionary lookups

d2ca683
Select commit
Loading
Failed to load commit list.
CodSpeed / CodSpeed Performance Analysis failed Nov 13, 2026 in 0s

2 benchmarks regressed

2 warnings

⚠️ Walltime results may be unreliable

Some benchmarks used the Walltime instrument outside CodSpeed Macro Runners, which can make the results inconsistent.

Learn more about Macro Runners

See affected benchmarks

⚠️ 1 benchmark is dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

⚡ 17 improved benchmarks
❌ 2 regressed benchmarks
✅ 1917 untouched benchmarks
⏩ 50 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ CPU Simulation bench_compare_sliced_dict_varbinview[(1000, 10000)] 91.6 µs 108 µs -15.18%
❌ CPU Simulation random_i8[0.01] 101.1 µs 114.9 µs -12.04%
⚡ CPU Simulation encode_primitives[i64, (2000, 512)] 303.8 µs 197.4 µs +53.87%
⚡ CPU Simulation encode_primitives[f32, (2000, 512)] 272.2 µs 197.3 µs +38.01%
⚡ CPU Simulation encode_primitives[u8, (2000, 2)] 164.9 µs 124.9 µs +32.05%
⚡ CPU Simulation encode_primitives[u8, (2000, 32)] 167.8 µs 127.4 µs +31.67%
⚡ CPU Simulation encode_primitives[i64, (2000, 32)] 230.4 µs 177.7 µs +29.66%
⚡ CPU Simulation encode_primitives[i64, (2000, 2)] 222.8 µs 172.5 µs +29.17%
⚡ CPU Simulation encode_primitives[u8, (2000, 512)] 184 µs 143.3 µs +28.43%
⚡ CPU Simulation encode_primitives[f32, (2000, 2)] 206.4 µs 165.3 µs +24.8%
⚡ CPU Simulation encode_primitives[f32, (2000, 32)] 211 µs 170 µs +24.12%
⚡ CPU Simulation encode_varbin[(2000, 512)] 535.6 µs 438.4 µs +22.18%
⚡ CPU Simulation encode_varbinview[(2000, 512)] 544.6 µs 448.2 µs +21.51%
⚡ CPU Simulation dict_compress_string 391.4 µs 336.9 µs +16.18%
⚡ CPU Simulation dict_compress_u32 368.9 µs 319.5 µs +15.48%
⚡ CPU Simulation encode_varbin[(2000, 32)] 406.4 µs 356.1 µs +14.13%
⚡ CPU Simulation encode_varbin[(2000, 2)] 396.6 µs 349.3 µs +13.53%
⚡ CPU Simulation encode_varbinview[(2000, 32)] 440.6 µs 391.5 µs +12.53%
⚡ CPU Simulation encode_varbinview[(2000, 2)] 398.7 µs 356.2 µs +11.94%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing rk/decimal-dict-layout (d2ca683) with develop (25f4349)

Open in CodSpeed

Footnotes

  1. 50 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. ↩