summaryrefslogtreecommitdiff
path: root/cherrypy/lib/profiler.py
Commit message (Collapse)AuthorAgeFilesLines
* Feed the hobgoblins (delint).Jason R. Coombs2017-10-271-1/+5
|
* Convert all strings to conform single-quoted styleSviatoslav Sydorenko2016-09-081-17/+17
| | | | pre-commit run double-quote-string-fixer --all-files
* Fix E402 in lib/profilerSviatoslav Sydorenko2016-09-081-14/+13
|
* Remove StringIO and BytesIO from compatibility module and use io module ↵Jason R. Coombs2016-06-051-3/+2
| | | | directly.
* Use expose decorator throughout the codebase.Jason R. Coombs2016-06-051-4/+7
|
* Fix typo in profiler docsDavide Ceretti2015-09-011-1/+1
|
* More PEP8 work.Gustavo Picon2014-01-121-7/+13
|
* Running: autopep8 -vvvvv -i `find . -name '*.py'`Gustavo Picon2014-01-121-2/+4
| | | | | --HG-- branch : autopep8
* StringIO is enough without the if sys.version...Eneldo Serrata2013-06-141-5/+2
| | | | | --HG-- branch : eneldoserrata/stringio-is-enough-without-the-if-sysver-1371252709662
* fix profiler.py bug when runing in python 3.xEneldo Serrata2013-06-121-2/+5
| | | | | --HG-- branch : eneldoserrata/fix-profilerpy-bug-when-runing-in-python-1371068218314
* Pass keyword args through ProfileAggregator's run methodManuel Giffels2013-04-181-2/+2
|
* Removed trailing whitespace from the codebase.Gustavo Picon2012-04-031-20/+20
| | | | sed -i '' -e 's/ *$//' `find cherrypy -name '*.py'`
* Bye bye, py2/3.Robert Brewer2011-07-021-0/+208
|
* Bringing python3 back into trunk with its own py3 folder; what was in trunk ↵trunkRobert Brewer2011-02-251-208/+0
| | | | goes in the py2 folder, and we can use a single setup.py to install either, depending on the version of Python that runs setup.py install.
* Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away.Robert Brewer2011-02-241-5/+2
|
* Sphinx docs (rsts) for rest of cherrypy.lib.*chbrown2010-02-241-12/+18
|
* A couple syncs with python3.Robert Brewer2009-10-171-0/+1
|
* Removed py3print.Robert Brewer2009-06-141-1/+4
|
* trunk - more changes to bring the two branches into a more similar state - ↵Lakin Wecker2009-06-011-5/+1
| | | | this time normalizing StringIO imports.
* trunk - bringing the lib/profiler into line with python3 branch - delaying ↵Lakin Wecker2009-05-311-8/+15
| | | | the profiler warning until it's absolutely needed.
* Fixed outdated warning for profiler on Debian.Robert Brewer2009-02-111-3/+2
|
* Doc tweaks.Robert Brewer2008-07-031-1/+9
|
* Fix for #827 (Profile viewer doesn't work with Python2.5).Robert Brewer2008-06-231-8/+17
|
* Docstring.Robert Brewer2007-11-081-1/+1
|
* Added support for passing **params in the profiler (trunk).Christian Wyglendowski2007-05-041-3/+3
|
* API and docstring cleanups:Robert Brewer2006-08-261-1/+1
| | | | | | | | 1. Removed WrongConfigValue, decorate, decorate_all, and ExposeItems. 2. Moved cherrypy.logtime to cherrypy.log.time. 3. Reduced cherrypy.config.globalconf back to just cherrypy.config. 4. Moved _cpconfig.default_conf to config.defaults. .
* Made all imports absolute "just in case" for Python 2.5.Robert Brewer2006-08-241-1/+1
|
* Changed server.start to server.quickstart, and server.start_all to server.start.Robert Brewer2006-08-051-3/+1
|
* New ProfileAggregator class.Robert Brewer2006-07-101-8/+33
|
* Moved profiling into WSGI middleware.Robert Brewer2006-07-101-1/+17
|
* Moved covercp, profiler to tree.mount syntax.Robert Brewer2006-05-071-3/+2
|
* Moved the following config keys out of the "server." namespace (so that ↵Robert Brewer2006-05-071-1/+1
| | | | | | | | | | | | | | "server." may mean "httpserver"): * default_content_type * log_access_file * log_config_options * log_file * log_file_not_found * log_request_headers * log_to_screen * show_tracebacks * throw_errors
* Separated cherrypy.server (HTTP) from cherrypy.engine (app):Robert Brewer2006-05-041-0/+1
| | | | | | | | 1. Most CP apps must now make both a call to cherrypy.server.start(server=None) and a call to cherrypy.engine.start(blocking=True). 2. The on_start_server_list and on_stop_server_list are now on_start_engine_list and on_stop_engine_list. 3. "start_with_callback" is now an attribute of Engine. So is "request". 4. Server.start now takes a single "server" arg, which can be a server instance, a string (fully qualified class name), or None (to start the default WSGI server). 5. Server still has a wait method, but otherwise does no blocking.
* Oops. Debian is missing the pstats module too.Robert Brewer2005-12-231-2/+3
|
* Fix for #419 (no profile.py on Debian).Robert Brewer2005-12-231-1/+11
|
* Big change: camelCase to lower_with_underscore names (still need to update ↵Remi Delon2005-12-031-3/+3
| | | | the book)
* Changed profiler from hotshot to profile module. This allows Py2.4 users to ↵Robert Brewer2005-11-291-5/+4
| | | | profile C calls.
* Fix for http://groups.google.com/group/cherrypy-users/msg/3ced4cf8cbbbcf97Robert Brewer2005-11-211-1/+1
|
* Made profiler output more readable by prepending __init__.py modules' parent ↵Robert Brewer2005-11-211-0/+9
| | | | folders.
* Fix for #374 (reduce license boilerplate to a single LICENSE.txt file).Robert Brewer2005-10-311-28/+0
|
* 1. Config section [global] (pathless) is now distinct from [/] (root path); ↵Robert Brewer2005-08-091-5/+4
| | | | | | | | | | they are no longer synonyms. "global" is the parent of "/". 2. The Request-URI is now parsed much earlier in Request processing, so that onStartResource and error filter methods may have access to it. 3. Absolute URI's (on the request line) are now converted to relative URI's to facilitate configMap lookups. 4. A Request-URI of "*" sets cherrypy.request.path to "global" (again for configMap). 5. Fixed a bug in config.getAll where the initial slash was missing for configMap lookups. 6. Bugfix: del Content-Length header if None.
* Added a cherrypy._appserver_state flag. Helps report errors when ↵Robert Brewer2005-07-041-1/+1
| | | | server.start() has not been called or did not complete normally.
* Implements ticket #195.Robert Brewer2005-06-251-12/+12
| | | | | | | | 1. cpg module removed, all content moved into cherrypy.__init__. 2. Removed some circular imports in sessionfilter by moving sessionfilter.sessionfilter and _sessionTypes into sessionfilter.__init__. 3. renamed _cpconfig to "config". 4. renamed _cpserver to "server". 5. renamed cperror to _cperror; cherrypy.__init__ now imports * from _cperror.
* Now using 'global' for the main config key. ('/' still works but 'global' is ↵Remi Delon2005-06-141-1/+1
| | | | the default). Still need to update the docs
* Merged new test suite from branches/ticket-177 into trunk.Robert Brewer2005-06-101-0/+153