The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 10 C++ Profiling Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
MTuner
MTuner is a C/C++ memory profiler and memory leak finder for Windows, PlayStation 4 and 3, Android and other platforms
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
gpu-kernel-runner
Runs a single CUDA/OpenCL kernel, taking its source from a file and arguments from the command-line
Project mention: Tracy: Real-time nanosecond resolution frame profiler | news.ycombinator.com | 2024-03-22
Omnitrace. Similar concept to VTune and Nsight Systems from AMD: profiling and/or tracing for CPU-only or CPU+GPU workloads: sampling, binary instrumentation, etc. Has more CPU-based information than Nsight Systems and supports binary rewrites for instrumentation which VTune lacks (runtime instrumentation only). Also supports causal profiling like COZ. Supports Python-based analysis/manipulation/filtering/comparison of traces and profiles. Other great tools: HPCToolkit, Caliper, and TAU.
Project mention: Looking for some comparison on build times on recent GCC versions. | /r/cpp | 2023-06-18This flag is useless for most cases of bad build times. You want something like clang's -ftime-trace or externis.
Project mention: How Jensen Huang's Nvidia Is Powering the A.I. Revolution | news.ycombinator.com | 2023-11-29> but all the alternatives require significant redesign in languages and tools people are unfamiliar with and we can't afford that overhead
Where I work, we've made it a principle to stay OpenCL-compatible even while going with NVIDIA due to their better-performing GPUs. I even go as far as writing kernels that can be compiled as either CUDA C++ or OpenCL-C, with a bit of duct-tape adapter headers:
https://github.com/eyalroz/gpu-kernel-runner/blob/main/kerne...
https://github.com/eyalroz/gpu-kernel-runner/blob/main/kerne...
of course, if you're working with higher-level frameworks then it's more difficult, and you depend on whether or not they provided different backends. So, no thrust for AMD GPUs, for example, but pytorch and TensorFlow do let you use them.
It is still in experimental stages, but would you be willing to test the memory mode of Echion? (https://github.com/P403n1x87/echion). It is essentially tracing of all memory allocations. Mind that, if an allocation is followed by a matching de-allocation, it won't be reported; so if you profile from start till end, and all the memory is released, the profile should be almost empty (in reality this will almost never be the case); this might explain why the data doesn't seem to make sense from the tools you have tried already (assuming they do a similar thing).
C++ Profiling related posts
- What is your favourite profiling tool for C++?
- MTuner: C/C memory profiler and memory leak finder
- MTuner: C/C++ memory profiler and memory leak finder
- Hi, I’m new in rust, I have some expirience with c# and its classes ans structs. I can’t find information about that is happend with struct in rust when I pass it to function argument. Are there some copy effect ?
- Palanteer v0.5 is out! Live visual Python profiling with support of multiprocess
- Palanteer v0.5 is out! Live visual C++ profiling with support of auto instrumentation (GCC) and multi-process
- Trie in JavaScript: The Data Structure Behind Autocomplete
-
A note from our sponsor - WorkOS
workos.com | 26 Apr 2024
Index
What are some of the best open-source Profiling projects in C++? This list will help you:
Project | Stars | |
---|---|---|
1 | tracy | 7,814 |
2 | hotspot | 3,859 |
3 | MTuner | 2,553 |
4 | palanteer | 2,027 |
5 | omnitrace | 258 |
6 | externis | 31 |
7 | takedetour | 30 |
8 | gpu-kernel-runner | 18 |
9 | echion | 12 |
10 | gpu_clock_stabilizer | 6 |
Sponsored