51CTO博客开发
###目的测试在不同的部署方式下的性能。###硬件环境Intel Core i5-3230M CPU @ 2.60GHz × 4内存: 7.4 GiB操作系统: Ubuntu 14.04 64 位###uwsgi```uwsgi_python --http-socket=:8000 --workers=2 --wsgi-file hello.py --callable app 2>/dev/
目的,测试在不同的部署方式下的性能。硬件环境Intel Core i5-3230M CPU @ 2.60GHz × 4 内存: 7.4 GiB操作系统: Ubuntu 14.04 64 位测试代码(hello.py)from bottle import Bottle, runapp = Bottle()@app.route('/hello')def hello(): &nbs
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号