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 →
Top 10 C++ Performance analysis Projects
-
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:
-
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.
-
Project mention: Ask HN: What's the Best Open Source Tool You've Discovered Recently? | news.ycombinator.com | 2025-04-11
-
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.
-
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.
-
MTuner
MTuner is a C/C++ memory profiler and memory leak finder for Windows, PlayStation 3/4/5, Nintendo Switch, Android and other platforms
-
-
ctsTraffic
ctsTraffic is a highly scalable client/server networking tool giving detailed performance and reliability analytics
-
InfluxDB
InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
-
-
perf-cpp
Lightweight recording and sampling of performance counters for specific code segments directly from your C++ application.
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.
-
gpu-kernel-runner
Runs a single CUDA/OpenCL kernel, taking its source from a file and arguments from the command-line
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.)
C++ Performance analysis discussion
C++ Performance analysis related posts
-
Show HN: Single-Header Profiler for C++17
-
Profiling with Ctrl-C
-
Flame Graphs: Making the Opaque Obvious (2017)
-
Zen 5's Leaked Slides
-
Hotspot: A GUI for the Linux perf profiler
-
Hotspot: A GUI for the Linux perf profiler
-
What is your favourite profiling tool for C++?
-
A note from our sponsor - CodeRabbit
coderabbit.ai | 28 Apr 2025
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 |