Alternative to Spall for Tracing, Profiling and Frame Graphs?

Spall has been deprecated I guess.


I wish mac had Rad-debugger or something cross platform to check memory leaks and whatnot.

Is anyone using Tracy?

if you’re on a unix-like system, valgrind has a tool called callgrind, you can use it with your code and then use something like kcachegrind to read the output and make sense of your program’s call graph

1 Like

I will check it out.

Spall was open sourced. You can still use it.

There’s also tracy.

1 Like

The tracy odin binding is 2 years old.

What is the best way to proceed in such cases?

I would check if they still work. If they don’t, I’d update them and make a PR.

Tracy has a C api as stated in their docs. Generating odin bindings from C code is very easy.

1 Like

There is this C library: GitHub - Celtoys/Remotery: Single C file, Realtime CPU/GPU Profiler with Remote Web Viewer · GitHub - it’s a single header / c source file + objective-c++ for Metal. If you read the code, it’s pretty simple. You could probably DIY in Odin or make bindings for it.

1 Like