in code:
call configure_profiling
use @profile_decorator on functions you want to time
don't forget to call
Use chrome://tracing/ in chromium based brower to open json file.
Based on https://gist.github.com/TheCherno/31f135eea6ee729ab5f26a6908eb3a5e