# yse/easy_profiler

Lightweight profiler library for c++

Repository: https://github.com/yse/easy_profiler
Canonical: https://ross.abutalabs.com/products/easy_profiler
Language: C++
License: MIT
License Family: permissive
Topics: profiler, performance, toolkit
Last push: 2026-08-05T16:15:18+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 8, longevity 100
- inputs: {"age_days": 3850, "days_push": 28, "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 2371, forks 202 (observed 2026-08-28T04:06:41.786449+00:00)

## What it is
A lightweight cross-platform profiler library for C++ that instruments arbitrary code blocks with extremely low overhead (~15ns per block). It streams profiling data over the network or dumps it to file, and includes a GUI viewer with timeline rendering, statistics, and thread context-switch capture.

## Use cases
- profile function execution times in a C++ application
- find performance bottlenecks in game engine code
- measure how long specific blocks of code take
- capture thread context-switch events to analyze scheduling
- leave a profiler in release builds and enable it at runtime
- visualize profiling data on a timeline with a GUI

## When to choose
- you need a C/C++ profiler with minimal runtime overhead
- you want to instrument arbitrary code blocks with simple macros
- you need cross-platform profiling including Windows, Linux, macOS, and Android
- you want runtime-enabled profiling in production builds

## When to avoid
- you need GPU or hardware-level profiling
- you want a sampling profiler without code instrumentation
- your project is not in C/C++
- you need heap/memory profiling rather than time profiling

## Facets
- artifact type: library
- maturity: stable
- function: monitoring, benchmarking, developer-tools
- domain: performance, developer-tools, cross-platform
- platform: windows, cpp, cross-platform
- tags: profiler, instrumentation, low-overhead, timeline-gui, context-switch-capture, linux, macos, android

## Member repositories
- yse/easy_profiler (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:41.786449+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-30T02:35:23.984320+00:00, confidence not recorded.
  - readme: https://github.com/yse/easy_profiler (fetched 2026-08-28T04:06:41.786449+00:00, sha 9a07adbdf508)
- Data as of 2026-08-30T08:39:29.467469+00:00.
