summaryrefslogtreecommitdiff
path: root/cherrypy/test/benchmark.py
diff options
context:
space:
mode:
authorRobert Brewer <fumanchu@aminus.org>2006-12-23 22:09:29 +0000
committerRobert Brewer <fumanchu@aminus.org>2006-12-23 22:09:29 +0000
commite47ba575886ed20b762c64cf71144eec8d11213c (patch)
tree175ce8b616eed66aea695a533fb85884110167a0 /cherrypy/test/benchmark.py
parenta622897a21c6803220df431506df0e68be6bb3b6 (diff)
downloadcherrypy-git-e47ba575886ed20b762c64cf71144eec8d11213c.tar.gz
A couple more speed tweaks.
Diffstat (limited to 'cherrypy/test/benchmark.py')
-rw-r--r--cherrypy/test/benchmark.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/cherrypy/test/benchmark.py b/cherrypy/test/benchmark.py
index 658459d9..2f5681c8 100644
--- a/cherrypy/test/benchmark.py
+++ b/cherrypy/test/benchmark.py
@@ -85,12 +85,13 @@ cherrypy.config.update({
'server.max_request_header_size': 0,
'server.max_request_body_size': 0,
'engine.deadlock_poll_freq': 0,
- # Cheat mode on ;)
- 'tools.log_tracebacks.on': False,
- 'tools.log_headers.on': False,
- 'tools.trailing_slash.on': False,
})
+# Cheat mode on ;)
+del cherrypy.config['tools.log_tracebacks.on']
+del cherrypy.config['tools.log_headers.on']
+del cherrypy.config['tools.trailing_slash.on']
+
appconf = {
'/static': {
'tools.staticdir.on': True,