Source

CherryPy / test / benchmark.py

The branch 'cherrypy' does not exist.
Author Commit Message Labels Comments Date
Robert Brewer
Replaced request.remote_addr, remote_port, and remote_host with a single "remote" attribute, an instance of lib.http.Host, which has "ip", "port" and "name" attributes. Added a similar request.local attribute. Changed request() signature to (local, remote, scheme). This allows requests run behind multiple HTTP servers to know the address info for their particular connection.
Branches
cherrypy
Robert Brewer
WSGI-related changes:
Branches
cherrypy
Robert Brewer
Changed server.start to server.quickstart, and server.start_all to server.start.
Branches
cherrypy
Robert Brewer
benchmark still needed socket-error suppression.
Branches
cherrypy
Robert Brewer
Updated benchmark to work with new _cpmodpy module.
Branches
cherrypy
Robert Brewer
Renamed httptools to "http" to reduce confusion with new cherrypy.tools. Moved non-Tool-related code from cptools to {{{lib/__init__}}}. Added docstrings.
Branches
cherrypy
Robert Brewer
Dispatch and config lookup now happens as early as possible, once per request (unless InternalRedirect is raised). Also moved the logging code out of {{{_cputil}}} and into {{{__init__}}}. xmlrpc still needs fixed so it doesn't re-write path_info.
Branches
cherrypy
Robert Brewer
Fix to benchmark.py for globalconf.
Branches
cherrypy
Robert Brewer
Root and config are now isolated per app:
Branches
cherrypy
Robert Brewer
Moved the following config keys out of the "server." namespace (so that "server." may mean "httpserver"):
Branches
cherrypy
Robert Brewer
Separated cherrypy.server (HTTP) from cherrypy.engine (app):
Branches
cherrypy
Robert Brewer
Lots of changes to error and log handling:
Branches
cherrypy
Robert Brewer
Removed a bunch of instances of the word "filter".
Branches
cherrypy
Robert Brewer
CP 3 initial checkin. Global filters have been replaced by request.hooks. Lots of renaming and reorg of modules.
Branches
cherrypy
Robert Brewer
Even more improvements to benchmark.py. New getopt options --ab=path and --apache=path. The modpython conf is now generated automatically.
Branches
cherrypy
Robert Brewer
server.thread_pool now defaults to 10.
Branches
cherrypy
Robert Brewer
Benchmark: changed 'chart' to 'report' throughout.
Branches
cherrypy
Robert Brewer
Benchmark: simpler, more inclusive detection of ab/apache not on system path.
Branches
cherrypy
Robert Brewer
Benchmark: fix for no ab in bash.
Branches
cherrypy
Robert Brewer
Speed tweak: you can now set max_header_size and max_request_size to 0 to explicitly skip using SizeWrappers.
Branches
cherrypy
Robert Brewer
New Engine.response_class attribute (which allows a new -null switch for benchmark.py, to show how much of the request is spent in the HTTP server as opposed to the Request object).
Branches
cherrypy
Robert Brewer
Improvements to benchmark.py. New "-modpython" switch which popens apache, runs the tests, then stops apache.
Branches
cherrypy
Robert Brewer
Set cherrypy.lowercase_api = True for benchmarks.
Branches
cherrypy
Robert Brewer
New test/benchmark module. Ugly, but gets the job done. Requires ab on your system path. Set log_to_screen to True if you encounter problems.
Branches
cherrypy