瀏覽代碼

bottle ujson optional dependency (#2947)

* ujson dependency

increment speed for json response
https://github.com/bottlepy/bottle/blob/master/bottle.py#L82
https://github.com/bottlepy/bottle/pull/933

* performance json response
Alberto Galera 7 年之前
父節點
當前提交
363a51a0cb
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      frameworks/Python/bottle/requirements-pypy.txt
  2. 1 0
      frameworks/Python/bottle/requirements.txt

+ 1 - 0
frameworks/Python/bottle/requirements-pypy.txt

@@ -4,3 +4,4 @@ SQLAlchemy==1.0.12
 gunicorn==19.4.5
 gunicorn==19.4.5
 PyMySQL==0.7.2
 PyMySQL==0.7.2
 tornado==4.3
 tornado==4.3
+ujson==1.35

+ 1 - 0
frameworks/Python/bottle/requirements.txt

@@ -6,3 +6,4 @@ meinheld==0.6.1
 mysqlclient==1.3.7
 mysqlclient==1.3.7
 greenlet==0.4.9
 greenlet==0.4.9
 uwsgi==2.0.12
 uwsgi==2.0.12
+ujson==1.35