# jonasmr/microprofile

microprofile is an embeddable profiler

Repository: https://github.com/jonasmr/microprofile
Canonical: https://ross.abutalabs.com/products/microprofile
Language: C
License: MIT
License Family: permissive
Last push: 2026-08-26T12:39:14+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 3683, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1590, forks 130 (observed 2026-08-28T04:05:08.556610+00:00)

## What it is
Microprofile is an embeddable CPU and GPU profiler written in a few C++ files that you drop into your project. It provides scoped timers, counters, timeline markers, and a live web-based capture view for inspecting frame performance.

## Use cases
- profile frame times in a game engine
- instrument cpu code with scoped timers
- measure gpu timings with vulkan or d3d12
- capture and share performance traces as html
- track custom counters like memory usage
- profile multithreaded renderers

## When to choose
- you need a lightweight, embeddable profiler with minimal integration effort
- you are developing a game or real-time graphics application and need frame-level profiling
- you want gpu timing support across OpenGL, D3D11, D3D12, and Vulkan
- you need a live web view to inspect running performance

## When to avoid
- you need a sampling profiler for whole-process analysis without code instrumentation
- you want a managed-language profiler for Python, Java, or JavaScript
- you need long-term production monitoring rather than development-time profiling

## Facets
- artifact type: library
- maturity: active
- function: monitoring, tracing, benchmarking, developer-tools
- domain: developer-tools, performance, graphics
- platform: cpp, c, cross-platform, windows
- tags: profiler, instrumentation, gpu-timing, embeddable, game-engine-tools, cpu-profiling, game-development, linux, macos

## Member repositories
- jonasmr/microprofile (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:08.556610+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:54:47.896233+00:00, confidence not recorded.
  - readme: https://github.com/jonasmr/microprofile (fetched 2026-08-28T04:05:08.556610+00:00, sha 4670e916a10a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
