-
Profiling Viewer for macOS opens and visualizes callgrind files. You can use treemap, callgraph, flat or hierarchic lists to identify functions where your application spends more time than expected.
The required callgrind profiling data can be generated with various external tools available for many platforms and programing languages. For example, you can open callgrind files generated by the Xdebug extension for PHP, Valgrind, Ruby ruby-prof, Python cProfile with pyprof2calltree, gperftools-pprof and many other profiling tools with callgrind file output.
see more at profilingviewer.com