diff options
Diffstat (limited to 'cherrypy/test/benchmark.py')
-rw-r--r-- | cherrypy/test/benchmark.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/cherrypy/test/benchmark.py b/cherrypy/test/benchmark.py index 5bfcf699..b57c1945 100644 --- a/cherrypy/test/benchmark.py +++ b/cherrypy/test/benchmark.py @@ -28,7 +28,6 @@ import sys import time import cherrypy -from cherrypy._cpcompat import ntob from cherrypy import _cperror, _cpmodpy from cherrypy.lib import httputil @@ -191,15 +190,15 @@ Finished 1000 requests parse_patterns = [ ('complete_requests', 'Completed', - ntob(r'^Complete requests:\s*(\d+)')), + br'^Complete requests:\s*(\d+)'), ('failed_requests', 'Failed', - ntob(r'^Failed requests:\s*(\d+)')), + br'^Failed requests:\s*(\d+)'), ('requests_per_second', 'req/sec', - ntob(r'^Requests per second:\s*([0-9.]+)')), + br'^Requests per second:\s*([0-9.]+)'), ('time_per_request_concurrent', 'msec/req', - ntob(r'^Time per request:\s*([0-9.]+).*concurrent requests\)$')), + br'^Time per request:\s*([0-9.]+).*concurrent requests\)$'), ('transfer_rate', 'KB/sec', - ntob(r'^Transfer rate:\s*([0-9.]+)')) + br'^Transfer rate:\s*([0-9.]+)') ] def __init__(self, path=SCRIPT_NAME + '/hello', requests=1000, |