Skip to content
Snippets Groups Projects
Select Git revision
  • 68f06f75624599e9cb59bd5fdd7fd8e6f193022e
  • master default protected
  • postgres_integration
  • s3compatible
  • intros
  • bootstrap4
  • modules
7 results

profiling.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    profiling.py 189 B
    #!/usr/bin/python3
    from werkzeug.contrib.profiler import ProfilerMiddleware
    from server import app
    app.wsgi_app = ProfilerMiddleware(app.wsgi_app, restrictions=[30])
    app.run(debug = True)