Skip to content

feat!: migrate from prost to buffa for protobuf codegen - #557

Merged
jlucaso1 merged 60 commits into
mainfrom
feat/buffa-migration
Jul 2, 2026
Merged

feat!: migrate from prost to buffa for protobuf codegen#557
jlucaso1 merged 60 commits into
mainfrom
feat/buffa-migration

test(proto-helpers): assert outer's limit_sharing_v2 value, not just …

1c0bea8
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis completed Jul 2, 2026 in 0s

Acknowledged regressions (+27.93% overall)

⚡ 21 improved benchmarks
❌ 4 (👁 4) regressed benchmarks
✅ 163 untouched benchmarks

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Memory bench_process_patch_50_validated 170.9 KB 48.1 KB ×3.6
Memory bench_decode_plaintext[text_reply] 3.4 KB 1.3 KB ×2.6
Memory bench_decode_plaintext[media_refs] 12.8 KB 6.8 KB +88.86%
Memory bench_group_recv 5.2 KB 2.8 KB +85.5%
Memory bench_history_sync_stream_drain 431.4 KB 243.2 KB +77.33%
Memory bench_decode_plaintext[group_skdm_text] 767 B 465 B +64.95%
Simulation bench_decrypt_with_previous_session 5 µs 3.1 µs +59.48%
Memory bench_dm_session_establishment 3.7 KB 2.4 KB +54.61%
Simulation bench_decode_plaintext[group_skdm_text] 8.4 µs 6 µs +39.08%
Memory bench_dm_decrypt_first_message 4.9 KB 3.5 KB +38.01%
Simulation bench_decode_plaintext[media_refs] 19.5 µs 15 µs +29.81%
Simulation bench_collect_unique_index_macs[1000] 545.4 µs 424.3 µs +28.54%
Simulation bench_decode_record[contact] 44.6 µs 35.2 µs +26.79%
Memory bench_full_dm_conversation 9.8 KB 7.8 KB +26.64%
Simulation bench_decode_record[star] 46.7 µs 37.6 µs +24.31%
Simulation send_and_receive[1] 865.5 µs 704.9 µs +22.79%
Memory bench_group_create_distribution_message 2.1 KB 1.7 KB +21.49%
Simulation bench_decode_plaintext[text_reply] 9.5 µs 7.9 µs +20.23%
Memory bench_process_sender_key_distribution_message 2.4 KB 2 KB +18.15%
Simulation bench_unpack_uncompressed 212.2 ns 183.1 ns +15.93%
... ... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing feat/buffa-migration (1c0bea8) with main (b5daf75)

Open in CodSpeed