Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 10 Aug 20:40
· 13 commits to main since this release

vpbgen

Prebuilt vpbgen binaries attached (linux-amd64, macos-arm64, macos-amd64).
The library itself installs from source: v install --git https://github.com/we-be/protobuf.v

protobuf.v benchmark report

  • date: 2026-08-10 (UTC)
  • cpu: AMD EPYC 9V74 80-Core Processor
  • v: V 0.5.2 , harness compiled with -prod
  • go: go1.26.5, google.golang.org/protobuf v1.36.11

Wire compatibility

  • V and Go encode 1000 identical messages to byte-identical output
  • Go decode of V bytes: IDENTICAL 154752 bytes, 1000 people
  • V decode of Go bytes: IDENTICAL 154752 bytes, 1000 people

Throughput

payload op V ns/op V MB/s Go ns/op Go MB/s V/Go time
86 B encode 307 279.8 539 159.6 0.57
86 B decode 832 103.3 631 136.3 1.32
15.5 KB encode 77936 198.7 137877 112.3 0.57
15.5 KB decode 159069 97.3 157222 98.5 1.01
1.6 MB encode 12624912 125.1 15352198 102.9 0.82
1.6 MB decode 19373694 81.5 19404686 81.4 1.00

V/Go time: 1.00 = parity, below 1 = V faster. Schema: bench.proto (people with
nested phone messages, packed varint tags). Both harnesses build identical data
(splitmix64, seed 42) and time identically (iterations scaled to ~1s per cell).

Benchmarks ran on a shared CI runner — good for V-vs-Go ratios, noisy for absolute numbers.