google/benchmark
A microbenchmark support library observed · 2026-08-28
Health v2 · maintenance only
83/100
- Activity 99
- Release rhythm 54
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 79.0
- age_days: 4648
- days_rel: 224
- days_push: 7
- n_releases_24m: 5
Adoption not part of the score
10370 stars · 1793 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Google Benchmark is a C++ microbenchmarking library for timing small code snippets, with an API similar to unit test frameworks. It supports registration macros, parameterized benchmarks, and Python bindings for result analysis.
Use cases
- benchmark c++ functions
- measure performance of code snippets
- compare performance of implementations
- write microbenchmarks like unit tests
- profile hot code paths
- generate benchmark reports
When to choose
- you need accurate, statistically robust microbenchmarks in C++
- you want a unit-test-like API for benchmarking
- you need cross-platform C++ performance measurement
When to avoid
- you need end-to-end or load testing rather than microbenchmarks
- you are benchmarking Python or JavaScript code natively
- you need profiling with flamegraphs rather than timing
Facets
library · maturity stable
benchmarking testing developer-tools performance cpp cross-platform python microbenchmark performance-measurement c++
1 source
- readme: https://github.com/google/benchmark · fetched 2026-08-28 · c68989b89511
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/benchmark | main | 83 |
For agents
markdown · JSON · MCP: product_card(name="google/benchmark")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem