Skip to content

List new FlatBuffers, YAML, and MessagePack-CSharp experiment rows - #107

Merged
leo-gan merged 1 commit into
masterfrom
exp-list-new-serializers
Aug 17, 2026
Merged

List new FlatBuffers, YAML, and MessagePack-CSharp experiment rows#107
leo-gan merged 1 commit into
masterfrom
exp-list-new-serializers

Conversation

@leo-gan

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

Copy link
Copy Markdown
Owner

Summary

  • Experiment-only, after harness #106.
  • Experiment 7: Java flatbuffers, capnproto, protobuf.
  • Experiment 8: YAML vs JSON in Python, Java, JS, Rust, C, C++.
  • Experiments 2 and 10: C# MessagePack-CSharp.

How to read

  • Times in two languages are not one contest.
  • YAML is a file format here: it is slower than JSON in every language we ran.

Findings (this machine)

  • Java Sample A: FlatBuffers 416 B / 45.4 µs write+read; Cap’n Proto 376 B / 90 µs; protobuf 155 B / 62.8 µs.
  • YAML vs JSON Sample A: Python 1372 µs vs 5.16 µs; same story in the other five languages.
  • C# MessagePack-CSharp: 72 B on Sample B (N=1) vs SpanJson 157 B.

Validation

  • Timed runs completed for the listed languages. Experiment logs stay local.

Re-ran Experiment 7 (Java), Experiment 8 (six YAML languages), and
Experiments 2 and 10 (C# MessagePack-CSharp). Logs stay local.
@leo-gan
leo-gan merged commit 82b1abd into master Aug 17, 2026
1 check passed
@leo-gan
leo-gan deleted the exp-list-new-serializers branch August 17, 2026 20: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