# alecthomas/go_serialization_benchmarks

Benchmarks of Go serialization methods

Repository: https://github.com/alecthomas/go_serialization_benchmarks
Canonical: https://ross.abutalabs.com/products/go_serialization_benchmarks
Homepage: https://alecthomas.github.io/go_serialization_benchmarks/
Language: Go
License Family: other
Topics: benchmarking, go, golang
Last push: 2025-07-04T01:53:45+00:00

## Health v2 (maintenance only)
Score: 45/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 29, release rhythm 35, longevity 100
- inputs: {"age_days": 4975, "days_push": 426, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1623, forks 161 (observed 2026-08-28T04:05:12.684241+00:00)

## What it is
A benchmark suite comparing the performance of many Go serialization libraries (JSON, Protobuf, MessagePack, gob, etc.) on a representative struct. It produces published benchmark reports and validates serializer correctness.

## Use cases
- compare Go serialization library performance
- choose a fast serialization format for a Go service
- benchmark marshal and unmarshal speed and allocations
- check which serializers support time.Time and buffer reuse
- validate correctness of Go serializers

## When to choose
- you need data to pick a Go serialization library
- you want to benchmark serializers on your own hardware
- you are evaluating tradeoffs between JSON, Protobuf, and binary formats in Go

## When to avoid
- you need a serialization library itself, not a comparison
- you need benchmarks for languages other than Go
- you need production-ready serialization code

## Facets
- artifact type: dataset
- maturity: active
- function: benchmarking, serialization, developer-tools
- domain: performance, developer-tools, programming-languages
- platform: go, cross-platform
- tags: go-serialization, benchmark-suite, protobuf, messagepack

## Member repositories
- alecthomas/go_serialization_benchmarks (main) score 45

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:12.684241+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:48:49.004944+00:00, confidence not recorded.
  - readme: https://github.com/alecthomas/go_serialization_benchmarks (fetched 2026-08-28T04:05:12.684241+00:00, sha 7703cfa99878)
  - homepage: https://alecthomas.github.io/go_serialization_benchmarks/ (fetched 2026-08-29T11:21:27.964089+00:00, sha cbb0f11c6eab)
- Data as of 2026-08-30T08:39:29.467469+00:00.
