pull/118/head
midoks 3 years ago
parent 7cde08268d
commit c53b209bbb
  1. 1
      .gitignore
  2. 11
      app.py

1
.gitignore vendored

@ -142,3 +142,4 @@ data/edate.pl
plugins/l2tp
plugins/openlitespeed
plugins/gdrive
debug.out

@ -1,5 +1,10 @@
# coding:utf-8
# pip install profiler_online
# 性能测试
# from profiler_online import run_profiler
# run_profiler()
from gevent import monkey
monkey.patch_all()
@ -12,6 +17,12 @@ from route import app, socketio
from gevent.pywsgi import WSGIServer
from geventwebsocket.handler import WebSocketHandler
from pyinstrument import Profiler
profiler = Profiler()
profiler.start()
try:
if __name__ == "__main__":

Loading…
Cancel
Save