Skip to content

Add official C++ libprotobuf to Experiment 7 - #103

Merged
leo-gan merged 1 commit into
masterfrom
exp-07-cpp-official-protobuf
Aug 17, 2026
Merged

Add official C++ libprotobuf to Experiment 7#103
leo-gan merged 1 commit into
masterfrom
exp-07-cpp-official-protobuf

Conversation

@leo-gan

@leo-gan leo-gan commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • Experiment-only (B5 second half), after wrapper #102.
  • Listed official C++ protobuf in Experiment 7 and re-ran C++ (full).
  • Sample A: official libprotobuf writes 164 bytes, same as protobuf-wire, close in time to Cap’n Proto.
  • Sample C (512 numbers): official is 4127 B / 1.36 µs vs wire helper 4636 B / 14.9 µs.

How to read

  • Times in two languages are not one contest.
  • Official protobuf and protobuf-wire are two C++ clients, not two formats.

Validation

  • Timed C++ run completed. Other Experiment 7 languages were not re-timed.
  • setup-protobuf-sysroot.sh is local (gitignored sysroot).
  • Experiment logs stay local.

Notes

  • run.yaml is generated from experiment.yaml.

After the sysroot script (#102), CMake registers protobuf 3.12.4.
On Sample A it writes the same 164 bytes as the in-tree wire helper.
On 512 numbers it is smaller and faster than protobuf-wire.
@leo-gan
leo-gan merged commit f350396 into master Aug 17, 2026
1 check passed
@leo-gan
leo-gan deleted the exp-07-cpp-official-protobuf branch August 17, 2026 19:06
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