summaryrefslogtreecommitdiff
path: root/coverage/collector.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * Every comment makes the world slightly betterNed Batchelder2014-09-231-0/+1
| |
* | Improve performance of coverage under PyPy.Alex Gaynor2014-09-221-1/+9
|/ | | | | | | | | | | | | | An explanation is in order: should_trace_cache is a strictly growing key, which is to say once a key is in it, it never changes. Further, the keys used to access it are generally constant, given sufficient context. That is to say, at any given point _trace() is called, a Sufficient Smart Compiler (tm) is able to know the key. This is because the key is determined by the physical source code line, and that's obviously invariant with the call site. This property of a dict with immutable keys, combined call-site-constant keys is a match for PyPy's module dict, which is optimized for such workloads. This gives a 20% benefit on the workload described at https://bitbucket.org/pypy/pypy/issue/1871/10x-slower-than-cpython-under-coverage I have not benchmarked on a wider array of programs yet.
* More metacov, tox, and make cleanupNed Batchelder2014-09-201-1/+0
|
* More things we don't need with the latest versionsNed Batchelder2014-09-201-6/+5
|
* Coroutines are now only supported with the C tracer, and better error handlingNed Batchelder2014-09-201-18/+45
|
* Split this into two files, as it should have been years ago.Ned Batchelder2014-09-191-169/+3
|
* Remove more commented-out code. #274.Ned Batchelder2014-09-171-6/+1
|
* Gevent, etc, support finally works. #149Ned Batchelder2014-09-171-36/+30
|
* Move dispositions closer to useful pluginsNed Batchelder2014-09-061-30/+45
|
* Rename extensions to plugins, since extensions reminds me of parts of filenamesNed Batchelder2014-08-201-16/+16
|
* Crazy debugging output for tracking down gevent weirdnessNed Batchelder2014-07-131-7/+33
|
* Crazy-ugly start to extensions for Django and MakoNed Batchelder2014-07-041-16/+24
|
* should_trace now returns a FileDisposition objectNed Batchelder2014-06-151-6/+7
|
* Hacked-in django template supportNed Batchelder2014-06-121-14/+24
|
* Peter Portante's coroutine support, but it doesn't work yet.Ned Batchelder2014-01-091-2/+28
|
* The PyTracer can't always be stopped, so give it a flag to stop tracing when ↵Ned Batchelder2013-09-161-1/+8
| | | | that happens. This silences a noisome exception during the test suite.
* PyTracer's cache broke when I changed False to None from should_trace. Fixed.Ned Batchelder2013-09-041-2/+3
|
* New flag for run: --debug, can trace why files aren't being traced.Ned Batchelder2013-09-041-2/+2
|
* Don't issue spurious warnings about the trace function changing. Fixes #164Ned Batchelder2013-03-101-3/+7
|
* A more convenient way to check on the trace function.Ned Batchelder2013-01-111-3/+4
|
* Clean up debugging stuffNed Batchelder2012-12-211-4/+5
|
* Debugging to understand why 'trace function changed' appears.Ned Batchelder2012-12-201-2/+4
|
* Silence the last of the pylint warnings.Ned Batchelder2012-11-201-1/+1
|
* Fix #201: wrong default for traces0 being missing.Ned Batchelder2012-10-131-1/+1
|
* If fullcoverage is run with the wrong tracer, make it apparent.Ned Batchelder2012-08-301-1/+6
|
* Undo Brett's change to the fullcoverage feature: it should only be used with ↵Ned Batchelder2012-08-301-1/+2
| | | | the C tracer.
* Make fullcoverage at least run (doesn't work though).Brett Cannon2012-08-171-7/+6
|
* If the C tracer is missing during testing, make the problem immediately ↵Ned Batchelder2012-07-071-1/+12
| | | | apparent.
* Change the name of the C tracer from Tracer to CTracer, as it always should ↵Ned Batchelder2011-09-031-3/+3
| | | | have been.
* Control the test better; don't use os when cleaning up the pathNed Batchelder2011-08-081-1/+1
|
* A fullcoverage tracer that works. Events are stashed, then replayed when ↵Ned Batchelder2011-08-081-4/+3
| | | | coverage is started.
* An enormous hack to try to get stdlib measurement from the very beginning of ↵Ned Batchelder2011-08-071-1/+18
| | | | the process.
* Detect when our trace function is yanked out from under us, and warn the ↵Ned Batchelder2010-11-061-1/+11
| | | | user. Finishes, but does not fix, issue #93.
* Use 2-and-3-friendly syntax in the debugging prints in the trace function.Ned Batchelder2010-10-131-5/+8
|
* Clean up lint.Ned Batchelder2010-08-261-1/+1
|
* The thread-startup dance caused Thread.run() to not be measured. This fixes ↵Ned Batchelder2010-08-261-5/+15
| | | | it, I hope without introducing too much more new code. Fixes #85.
* Yikes: when using the Python tracing function, we haven't been caching the ↵Ned Batchelder2010-06-131-1/+4
| | | | results of should_trace since <<changeset a480f40d1fa4>>
* Properly record multiple exits separately. Fixes #62.Ned Batchelder2010-04-271-2/+8
|
* A way to start coverage when Python starts, to help with measuring coverage ↵Ned Batchelder2009-12-231-1/+1
| | | | in subprocesses.
* Massive eol whitespace clean-up.Ned Batchelder2009-12-021-21/+22
|
* Fix some self-measurement problems. Now coverage_coverage.py works again ↵Ned Batchelder2009-11-291-0/+5
| | | | (had to be sure to stop coverage if check_coverage threw an exception).
* Add statistics gathering to help find a problem in the C tracer.Ned Batchelder2009-11-221-2/+11
|
* Clean up.Ned Batchelder2009-11-081-2/+7
|
* The C tracer function can do arc tracing also.Ned Batchelder2009-10-241-3/+2
|
* Everything should derive from object.Ned Batchelder2009-10-241-2/+2
|
* Tidy up long linesNed Batchelder2009-10-241-1/+1
|
* Another line of logging.Ned Batchelder2009-10-231-0/+1
|
* More exception flow testing. This stuff is kind of involved...Ned Batchelder2009-10-201-0/+2
|
* Start unit testing the arc measurement. In arcs, -1 means enter or exit.Ned Batchelder2009-10-161-3/+3
|
* Write the arcs to the data file.Ned Batchelder2009-10-121-1/+1
|