Speedscope is a nice web-app to view a flame graph of your application.
This project contains a python recorder for speedscope.
$ pip install speedscope import speedscope from my_code import slow_function with speedscope.track('speedscope.json'): slow_function()Next, upload the file speedscope.json into the webapp.