I am trying to use Snakeviz to profile my python code. I use
if __name__ == "__main__":
# main()
cProfile.run('main()', "stats.prof")
to start the profiling. The issue I am having is that Snakeviz is only showing one overall function "built-in method builtins.exec". Anyone know what could be causing this? The function I am profiling calls many sub-functions. Snakeviz sees this, as shown in the table excerpt below the image, it just doesn't show up in the visualisation.