C++ Performance analysis

Open-source C++ projects categorized as Performance analysis

Top 10 C++ Performance analysis Projects

Performance analysis
  1. tracy

    Frame profiler

    Project mention: Show HN: Single-Header Profiler for C++17 | news.ycombinator.com | 2025-04-14

    Haven't worked with it, but based on initial look it's a quite different thing that stands closer to a frame-based profiler like Tracy (https://github.com/wolfpld/tracy).

    As far as differences go:

    Microprofile:

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. hotspot

    The Linux perf GUI for performance analysis.

    Project mention: Ask HN: What's the Best Open Source Tool You've Discovered Recently? | news.ycombinator.com | 2025-04-11
  4. easyloggingpp

    C++ logging library. It is powerful, supports asynchronous low latency, extendable, light-weight, fast performing, thread and type safe and consists of many built-in features. It provides ability to write logs in your own customized format. It also provide support for logging your classes, third-party libraries, STL and third-party containers etc.

  5. pcm

    Intel® Performance Counter Monitor (Intel® PCM)

    Project mention: So You Want to Build Your Own Data Center | news.ycombinator.com | 2025-01-17

    We've already seen some perf improvements somewhere between 6.0 and 6.5 (I forget the exact reason/version) - but it was some fix specific to the Sapphire Rapids cpus we had. But I wish we had more time to science on it, it's really fun playing with all the knobs and benchmarking stuff. Some of the telemetry on the new CPUs is also crazy - there's stuff like Intel PCM that can pull super fine-grained telemetry direct from the CPU/chipset https://github.com/intel/pcm. Only used it to confirm that we got NUMA affinity right so far - nothing crazy.

  6. MTuner

    MTuner is a C/C++ memory profiler and memory leak finder for Windows, PlayStation 3/4/5, Nintendo Switch, Android and other platforms

  7. omnitrace

    Omnitrace: Application Profiling, Tracing, and Analysis

  8. ctsTraffic

    ctsTraffic is a highly scalable client/server networking tool giving detailed performance and reliability analytics

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. riscv-perf-model

    Example RISC-V Out-of-Order/Superscalar Processor Performance Core and MSS Model

  11. perf-cpp

    Lightweight recording and sampling of performance counters for specific code segments directly from your C++ application.

    Project mention: Profiling Specific Code Segments of Applications | dev.to | 2024-12-05

    Profiling tools play a crucial role in identifying bottlenecks and aiding developers in optimizing their code. Yet, the broad granularity often means that key code segments tracked with perf stat can be obscured by extraneous data. Libraries like PAPI, PerfEvent, and perf-cpp offer a solution by allowing direct control over hardware performance counters from within the application itself. By leveraging the perf subsystem (more precisely the perf_event_open system call), these tools enable precise measurements of only the code segments that are truly relevant.

  12. gpu-kernel-runner

    Runs a single CUDA/OpenCL kernel, taking its source from a file and arguments from the command-line

    Project mention: Run CUDA, Unmodified, on AMD GPUs | news.ycombinator.com | 2024-07-15

    In my company, we could not really make a decision about whether to write OpenCL and be AMD-compliant but miss out on CUDA features and tooling, or write CUDA and be vendor specific.

    Our jerry-rigged solution is writing kernels that are the same source for both OpenCL and CUDA, with a few macros doing a bit of adaptation (e.g. the syntax for constructing a struct).

    To observe this mechanism, have a look at:

    https://github.com/eyalroz/gpu-kernel-runner/blob/main/kerne...

    and

    https://github.com/eyalroz/gpu-kernel-runner/blob/main/kerne...

    (the files are provided alongside a tool for testing, profiling and debugging individual kernels outside of their respective applications.)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ Performance analysis discussion

Log in or Post with

C++ Performance analysis related posts

  • Show HN: Single-Header Profiler for C++17

    6 projects | news.ycombinator.com | 14 Apr 2025
  • Profiling with Ctrl-C

    2 projects | news.ycombinator.com | 3 Sep 2024
  • Flame Graphs: Making the Opaque Obvious (2017)

    3 projects | news.ycombinator.com | 27 Jun 2024
  • Zen 5's Leaked Slides

    1 project | news.ycombinator.com | 8 Oct 2023
  • Hotspot: A GUI for the Linux perf profiler

    1 project | /r/C_Programming | 12 Sep 2023
  • Hotspot: A GUI for the Linux perf profiler

    1 project | news.ycombinator.com | 12 Aug 2023
  • What is your favourite profiling tool for C++?

    6 projects | /r/cpp | 29 Jun 2023
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 28 Apr 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

What are some of the best open-source Performance analysis projects in C++? This list will help you:

# Project Stars
1 tracy 11,314
2 hotspot 4,358
3 easyloggingpp 3,853
4 pcm 2,969
5 MTuner 2,692
6 omnitrace 311
7 ctsTraffic 261
8 riscv-perf-model 164
9 perf-cpp 61
10 gpu-kernel-runner 23

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that C++ is
the 7th most popular programming language
based on number of references?