{"adoption": {"forks": 104, "observed_at": "2026-08-28T04:05:28.576257+00:00", "stars": 1730}, "canonical_url": "https://ross.abutalabs.com/products/nanobench", "card": {"archived": false, "artifact_type": "library", "description": "Simple, fast, accurate single-header microbenchmarking functionality for C++11/14/17/20", "domain": ["developer-tools", "performance"], "enriched": true, "function": ["benchmarking"], "health_score": 99, "homepage": "https://nanobench.ankerl.com", "language": "C++", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["martinus/nanobench"], "name": "martinus/nanobench", "platform": ["cross-platform", "cpp"], "pushed_at": "2026-08-23T11:14:37+00:00", "repo": "martinus/nanobench", "stars": 1730, "tags": ["header-only", "single-header", "microbenchmark", "cpp11", "performance-measurement"], "topics": ["benchmark", "cpp", "microbenchmark", "single-header", "single-header-lib", "single-file", "header-only", "cpp11"], "urls": [], "use_cases": ["benchmark small C++ code snippets", "measure nanoseconds per operation in C++", "compare performance of C++ implementations", "profile instruction counts and branch misses of hot code", "add microbenchmarks to a C++ project with minimal setup", "replace google benchmark with a faster, header-only alternative"], "what_it_is": "ankerl::nanobench is a single-header, platform-independent microbenchmarking library for C++11/14/17/20. It measures ns/op, op/s, instructions, cycles, IPC, and branch misses with fast, accurate, repeatable results.", "when_to_avoid": ["you need full application profiling rather than microbenchmarking", "you are not working in C++", "you need distributed or long-running benchmarking infrastructure"], "when_to_choose": ["you need quick, accurate microbenchmarks in C++ with zero build complexity", "you want a single-header library that integrates via CMake FetchContent or direct inclusion", "you need detailed metrics like IPC and branch prediction misses"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/nanobench", "repo": "martinus/nanobench", "role": "main", "score": 99}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.576257+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:31:45.509219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aee331852b5722ded25c41cd7ccd863c6c2e0a7e16a4cdb6a6c2c1200bf8cb3f", "fetched_at": "2026-08-28T04:05:28.576257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/martinus/nanobench"}, {"content_hash": "c7713e3b69ca7b607bf6ba48f9e3b189bf3cf5f1e3655f2fcb725f5782cd6b76", "fetched_at": "2026-08-29T11:08:36.107606+00:00", "kind": "homepage", "missing": false, "url": "https://nanobench.ankerl.com"}, {"content_hash": "b05fe497704fc6178613cf97f47b9b74aa644269b05e601f038c4dc547cbbbc1", "fetched_at": "2026-08-29T11:08:36.110418+00:00", "kind": "site_page", "missing": false, "url": "https://nanobench.ankerl.com/tutorial.html"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.576257+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:31:45.509219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aee331852b5722ded25c41cd7ccd863c6c2e0a7e16a4cdb6a6c2c1200bf8cb3f", "fetched_at": "2026-08-28T04:05:28.576257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/martinus/nanobench"}, {"content_hash": "c7713e3b69ca7b607bf6ba48f9e3b189bf3cf5f1e3655f2fcb725f5782cd6b76", "fetched_at": "2026-08-29T11:08:36.107606+00:00", "kind": "homepage", "missing": false, "url": "https://nanobench.ankerl.com"}, {"content_hash": "b05fe497704fc6178613cf97f47b9b74aa644269b05e601f038c4dc547cbbbc1", "fetched_at": "2026-08-29T11:08:36.110418+00:00", "kind": "site_page", "missing": false, "url": "https://nanobench.ankerl.com/tutorial.html"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:31:45.509219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aee331852b5722ded25c41cd7ccd863c6c2e0a7e16a4cdb6a6c2c1200bf8cb3f", "fetched_at": "2026-08-28T04:05:28.576257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/martinus/nanobench"}, {"content_hash": "c7713e3b69ca7b607bf6ba48f9e3b189bf3cf5f1e3655f2fcb725f5782cd6b76", "fetched_at": "2026-08-29T11:08:36.107606+00:00", "kind": "homepage", "missing": false, "url": "https://nanobench.ankerl.com"}, {"content_hash": "b05fe497704fc6178613cf97f47b9b74aa644269b05e601f038c4dc547cbbbc1", "fetched_at": "2026-08-29T11:08:36.110418+00:00", "kind": "site_page", "missing": false, "url": "https://nanobench.ankerl.com/tutorial.html"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.576257+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.576257+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.576257+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:31:45.509219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aee331852b5722ded25c41cd7ccd863c6c2e0a7e16a4cdb6a6c2c1200bf8cb3f", "fetched_at": "2026-08-28T04:05:28.576257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/martinus/nanobench"}, {"content_hash": "c7713e3b69ca7b607bf6ba48f9e3b189bf3cf5f1e3655f2fcb725f5782cd6b76", "fetched_at": "2026-08-29T11:08:36.107606+00:00", "kind": "homepage", "missing": false, "url": "https://nanobench.ankerl.com"}, {"content_hash": "b05fe497704fc6178613cf97f47b9b74aa644269b05e601f038c4dc547cbbbc1", "fetched_at": "2026-08-29T11:08:36.110418+00:00", "kind": "site_page", "missing": false, "url": "https://nanobench.ankerl.com/tutorial.html"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.576257+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.576257+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:31:45.509219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aee331852b5722ded25c41cd7ccd863c6c2e0a7e16a4cdb6a6c2c1200bf8cb3f", "fetched_at": "2026-08-28T04:05:28.576257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/martinus/nanobench"}, {"content_hash": "c7713e3b69ca7b607bf6ba48f9e3b189bf3cf5f1e3655f2fcb725f5782cd6b76", "fetched_at": "2026-08-29T11:08:36.107606+00:00", "kind": "homepage", "missing": false, "url": "https://nanobench.ankerl.com"}, {"content_hash": "b05fe497704fc6178613cf97f47b9b74aa644269b05e601f038c4dc547cbbbc1", "fetched_at": "2026-08-29T11:08:36.110418+00:00", "kind": "site_page", "missing": false, "url": "https://nanobench.ankerl.com/tutorial.html"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.576257+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.576257+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.576257+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:31:45.509219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aee331852b5722ded25c41cd7ccd863c6c2e0a7e16a4cdb6a6c2c1200bf8cb3f", "fetched_at": "2026-08-28T04:05:28.576257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/martinus/nanobench"}, {"content_hash": "c7713e3b69ca7b607bf6ba48f9e3b189bf3cf5f1e3655f2fcb725f5782cd6b76", "fetched_at": "2026-08-29T11:08:36.107606+00:00", "kind": "homepage", "missing": false, "url": "https://nanobench.ankerl.com"}, {"content_hash": "b05fe497704fc6178613cf97f47b9b74aa644269b05e601f038c4dc547cbbbc1", "fetched_at": "2026-08-29T11:08:36.110418+00:00", "kind": "site_page", "missing": false, "url": "https://nanobench.ankerl.com/tutorial.html"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.576257+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.576257+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:31:45.509219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aee331852b5722ded25c41cd7ccd863c6c2e0a7e16a4cdb6a6c2c1200bf8cb3f", "fetched_at": "2026-08-28T04:05:28.576257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/martinus/nanobench"}, {"content_hash": "c7713e3b69ca7b607bf6ba48f9e3b189bf3cf5f1e3655f2fcb725f5782cd6b76", "fetched_at": "2026-08-29T11:08:36.107606+00:00", "kind": "homepage", "missing": false, "url": "https://nanobench.ankerl.com"}, {"content_hash": "b05fe497704fc6178613cf97f47b9b74aa644269b05e601f038c4dc547cbbbc1", "fetched_at": "2026-08-29T11:08:36.110418+00:00", "kind": "site_page", "missing": false, "url": "https://nanobench.ankerl.com/tutorial.html"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:31:45.509219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aee331852b5722ded25c41cd7ccd863c6c2e0a7e16a4cdb6a6c2c1200bf8cb3f", "fetched_at": "2026-08-28T04:05:28.576257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/martinus/nanobench"}, {"content_hash": "c7713e3b69ca7b607bf6ba48f9e3b189bf3cf5f1e3655f2fcb725f5782cd6b76", "fetched_at": "2026-08-29T11:08:36.107606+00:00", "kind": "homepage", "missing": false, "url": "https://nanobench.ankerl.com"}, {"content_hash": "b05fe497704fc6178613cf97f47b9b74aa644269b05e601f038c4dc547cbbbc1", "fetched_at": "2026-08-29T11:08:36.110418+00:00", "kind": "site_page", "missing": false, "url": "https://nanobench.ankerl.com/tutorial.html"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:31:45.509219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aee331852b5722ded25c41cd7ccd863c6c2e0a7e16a4cdb6a6c2c1200bf8cb3f", "fetched_at": "2026-08-28T04:05:28.576257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/martinus/nanobench"}, {"content_hash": "c7713e3b69ca7b607bf6ba48f9e3b189bf3cf5f1e3655f2fcb725f5782cd6b76", "fetched_at": "2026-08-29T11:08:36.107606+00:00", "kind": "homepage", "missing": false, "url": "https://nanobench.ankerl.com"}, {"content_hash": "b05fe497704fc6178613cf97f47b9b74aa644269b05e601f038c4dc547cbbbc1", "fetched_at": "2026-08-29T11:08:36.110418+00:00", "kind": "site_page", "missing": false, "url": "https://nanobench.ankerl.com/tutorial.html"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:31:45.509219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aee331852b5722ded25c41cd7ccd863c6c2e0a7e16a4cdb6a6c2c1200bf8cb3f", "fetched_at": "2026-08-28T04:05:28.576257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/martinus/nanobench"}, {"content_hash": "c7713e3b69ca7b607bf6ba48f9e3b189bf3cf5f1e3655f2fcb725f5782cd6b76", "fetched_at": "2026-08-29T11:08:36.107606+00:00", "kind": "homepage", "missing": false, "url": "https://nanobench.ankerl.com"}, {"content_hash": "b05fe497704fc6178613cf97f47b9b74aa644269b05e601f038c4dc547cbbbc1", "fetched_at": "2026-08-29T11:08:36.110418+00:00", "kind": "site_page", "missing": false, "url": "https://nanobench.ankerl.com/tutorial.html"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 98}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2524, "days_push": 10, "days_rel": 19, "gap_med": 0.0, "n_releases_24m": 3}, "score": 99, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}