@manager.command
def profile(length=25, profile_dir=None):
    from werkzeug.contrib.profiler import ProfilerMiddleware
    app.wsgi_app = ProfilerMiddleware(app.wsgi_app, restrictions=[length],
                                      profile_dir=profile_dir)
    app.run()


#测试数据库初始化
Package constructor.
dataset/ETHPy150Open ifwenvlook/blog/manage.py/profile--crossover with--dataset/ETHPy150Open modflowpy/flopy/flopy/modflow/mfoc.py/ModflowOc.__init__