optick | heaptrack | |
---|---|---|
7 | 19 | |
2,860 | 3,027 | |
- | 1.8% | |
0.0 | 8.9 | |
about 2 months ago | 1 day ago | |
C# | C++ | |
MIT License | GNU Lesser General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
optick
-
What is your favourite profiling tool for C++?
Does anyone here have experience with Optick: https://github.com/bombomby/optick ? It looks great but I haven't got the chance to try it. Was wondering how it compares to the other tools listed here.
-
What profiling tools you really want to recommend to others?
As a free alternative, I've had multiple people recommend Optick, but I haven't had the chance to play around with it yet, so I can't vouch for it myself.
-
Tracy: A hybrid frame and sampling profiler for games and other applications
I have used Tracy to improve the performance of a latency sensitive application. The main advantage of this tool, in comparison to something like the Visual Studio profiler, is the fact that it can highlight the inter thread dependencies and synchronization between the threads. The other main feature, in my opinion, is the statistical tab that is associated to the recorded events: it can show the statistical distribution of the duration of all the invocations of functions and it allows to identify patterns in the performance of the application. Furthermore, a table can be used to sort the invocations of the functions and quickly jump to the point in time when the sample was recorded.
Other notable tools that implement a functionality similar to what is provided by Tracy are Optick https://github.com/bombomby/optick and Intel VTune (sadly specific to only Intel processors) in the Threading analysis.
-
What are the best resources to learn networking for low latency C++ engineers?
we don't do systematic perf measurements beyond prod metrics but if we did the good tools are uiCA/IACA/etc, tracy/brofiler, perf/vtune
-
Should I make my own game engine?
I highly recommend checking out Optick. I use it almost daily at work :)
- What tracing library do you use that works cross platform?
- Optick: C++ Profiler for Games
heaptrack
-
Tracking Java Native Memory with JDK Flight Recorder
If we are talking replacing the libc allocator, then something like heaptrack is worth mentioning.
https://github.com/KDE/heaptrack
- Ask HN: Are There Viewers for Memory Layout?
-
How to Perf profile functions?
For accurate memory usage I prefer a memory profiler that overrides malloc and friends instead of the ones that probe the OS at regular intervals. You won't find memory spikes with the latter. Try heaptrack on Linux. I haven't found a good one for Windows yet.
-
What is your favourite profiling tool for C++?
I know it is not a profiler, but it is so criminally underrated that I decided to share it: https://github.com/KDE/heaptrack
-
My Rust program (Well, game) is leaking memory, 4MB/s.
If none of the above helps - I recommend heaptrack as a tool for tracking down your memory usage.
-
Lessons learned from 15 years of SumatraPDF, an open source Windows app
> memory leaks. It's surprisingly hard to find an easy to use memory leak detection tool.
I can vouch for heaptrack[1] nowadays, although it's pretty much Linux only. It's under the umbrella of KDE, but a heaptrack trace only requires a CLI app, and there is a nice Qt viewer to analyse the memory consumption.
It tracks the memory utilization at the level of malloc'd/free'd bytes. It's fine if your memory leak or other memory utilization problem is on this level. Recently I dealt with an issue, where increasing memory utilization was caused by fragmentation within the allocator. This didn't show up in heaptrack as an increasing memory utilization, but heaptrack still pointed out where most of the temporary allocations happened, leading to the culprit of the fragmentation.
[1] https://github.com/KDE/heaptrack
- Show HN: I wrote a tool in Rust for tracking all allocations in a Linux process
-
Implementing a C++ memory allocator to track our framework memory usage
This is probably what you are looking for https://github.com/KDE/heaptrack
-
Memory Leak? Free memory not being reclaimed? What is happening here
When I had this kind problems (heap related) I always use heaptrack. Take a look here for the details: https://github.com/KDE/heaptrack
- 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 ?
What are some alternatives?
tracy - Frame profiler
bytehound - A memory profiler for Linux.
MiniProfiler - A simple but effective mini-profiler for ASP.NET (and Core) websites
memory-profiler - A memory profiler for Linux. [Moved to: https://github.com/koute/bytehound]
palanteer - Visual Python and C++ nanosecond profiler, logger, tests enabler
dhat-rs - Heap profiling and ad hoc profiling for Rust programs.
tiny-differentiable-simulator - Tiny Differentiable Simulator is a header-only C++ and CUDA physics library for reinforcement learning and robotics with zero dependencies.
flamegraph - Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3
Unchase.FluentPerformanceMeter - :hammer: Make the exact performance measurements of the public methods for public classes using this NuGet Package with fluent interface. Requires .Net Standard 2.0+. It is an Open Source project under Apache-2.0 License.
pprof - pprof is a tool for visualization and analysis of profiling data
Glimpse - The open source diagnostics platform for the web
profiler - Firefox Profiler — Web app for Firefox performance analysis