r/macprogramming • • Apr 01 '19
Valgrind doesn't work on macOS Mojave, what is a good alternative to check the time and space performance of my simple terminal program?
I am in a programming class that requires us to include the time and space performance of our code. It says to use Valgrind, but that doesn't work since I'm on a Macbook. What is a good alternative that can be easily used in the OS X terminal.
3
Upvotes
3
u/chriswaco Apr 01 '19
Xcode Schemes have built-in support for memory debugging or you can run Instruments directly.
2
u/ivorjawa Apr 01 '19
Search for valgrind mojave. People have gotten it to build.