Browse Source

cleaned up README unneeded files

Keith Newman 10 years ago
parent
commit
34e8c4e481

+ 2 - 3
frameworks/Python/cherrypy/README.md

@@ -1,4 +1,4 @@
-# Falcon Benchmark Test (ported from Flask example)
+# CherryPy Benchmark Test 
 
 Single file test, [app.py](app.py)
 
@@ -12,8 +12,7 @@ Falcon API framework (http://falconframework.org)
 
 ### Server
 
-* gunicorn+meinheld on CPython
-* Tornado on PyPy
+* CherryPy
 
 ## Test URLs
 ### JSON Encoding

+ 0 - 27
frameworks/Python/cherrypy/gunicorn_conf.py

@@ -1,27 +0,0 @@
-import multiprocessing
-import os
-import sys
-
-_is_pypy = hasattr(sys, 'pypy_version_info')
-_is_travis = os.environ.get('TRAVIS') == 'true'
-
-# falcon only implements json and plain. Not wait DB.
-workers = multiprocessing.cpu_count()  # *3
-if _is_travis:
-    workers = 2
-
-bind = "0.0.0.0:8080"
-keepalive = 120
-errorlog = '-'
-pidfile = 'gunicorn.pid'
-
-if _is_pypy:
-    worker_class = "tornado"
-else:
-    worker_class = "meinheld.gmeinheld.MeinheldWorker"
-
-    def post_fork(server, worker):
-        # Disalbe access log
-        import meinheld.server
-        meinheld.server.set_access_logger(None)
-

+ 0 - 3
frameworks/Python/cherrypy/requirements-pypy.txt

@@ -1,3 +0,0 @@
-gunicorn==19.1
-tornado==3.2.2
-falcon==0.1.9

+ 0 - 3
frameworks/Python/cherrypy/setup_py3.sh

@@ -1,3 +0,0 @@
-#!/bin/bash
-
-$PY3_GUNICORN app:app -c gunicorn_conf.py &

+ 0 - 3
frameworks/Python/cherrypy/setup_pypy.sh

@@ -1,3 +0,0 @@
-#!/bin/bash
-
-$PYPY_GUNICORN app:app -c gunicorn_conf.py &