<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-coveragepy-git.git/coverage/pytracer.py, branch 7.2.4</title>
<subtitle>github.com: nedbat/coveragepy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/'/>
<entry>
<title>style: double quotes</title>
<updated>2023-03-22T22:34:50+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-03-22T21:12:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=b7be64538aa480fce641349d3053e9a84862d571'/>
<id>b7be64538aa480fce641349d3053e9a84862d571</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: add safety for empty stack on shutdown. (#1543)</title>
<updated>2023-02-03T12:42:18+00:00</updated>
<author>
<name>Russell Keith-Magee</name>
<email>russell@keith-magee.com</email>
</author>
<published>2023-02-03T12:42:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=96af3eae92a7b5dc1053be194820adf47c17777a'/>
<id>96af3eae92a7b5dc1053be194820adf47c17777a</id>
<content type='text'>
* Add safety for empty stack on shutdown.

* Correct line length linting issue.

---------

Co-authored-by: Ned Batchelder &lt;ned@nedbatchelder.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add safety for empty stack on shutdown.

* Correct line length linting issue.

---------

Co-authored-by: Ned Batchelder &lt;ned@nedbatchelder.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>mypy: pytracer.py, the last file in coverage/</title>
<updated>2023-01-12T15:44:15+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-01-12T15:44:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=460dd98dae56d26f0611a0f6dc9c24e44435958f'/>
<id>460dd98dae56d26f0611a0f6dc9c24e44435958f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mypy: use __future__ uniformly in checked files</title>
<updated>2023-01-05T17:55:16+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-01-05T11:31:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=4ea850a695e3ab8e42d400dc9dceaebea9246081'/>
<id>4ea850a695e3ab8e42d400dc9dceaebea9246081</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mypy: partial debug.py and pytracer.py</title>
<updated>2023-01-02T16:43:18+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-01-02T16:43:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=3f0bce2f5f4658bfa1d9cd6ddb2f6d7e520897e8'/>
<id>3f0bce2f5f4658bfa1d9cd6ddb2f6d7e520897e8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mypy: check collector.py and plugin_support.py</title>
<updated>2023-01-02T00:27:47+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-01-01T23:57:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=0c9b5e0e9da9c2cffd50db7b28142d22d0f66cee'/>
<id>0c9b5e0e9da9c2cffd50db7b28142d22d0f66cee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: mentioned pull #1388</title>
<updated>2022-05-30T16:42:25+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2022-05-30T16:42:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=73f4a6787b69138f5fe3e682a5cbb08432919e72'/>
<id>73f4a6787b69138f5fe3e682a5cbb08432919e72</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>perf: PyTracer improvements (#1388)</title>
<updated>2022-05-30T16:35:05+00:00</updated>
<author>
<name>Carl Friedrich Bolz-Tereick</name>
<email>cfbolz@gmx.de</email>
</author>
<published>2022-05-30T16:35:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=f40da644142bd89092e81ef72beaf66687fe9a15'/>
<id>f40da644142bd89092e81ef72beaf66687fe9a15</id>
<content type='text'>
* cache the bound method of _trace on self

this speeds up pure python tracing because we don't have to re-create a
bound method object all the time

* optimize checking whether a file should be traced

the optimization works based on the following heuristic: in a
majority of cases, functions call other functions in the same file. In
that situation we don't have to re-check whether we should trace the
file

* fix optimization in the presence of contexts

* fix too long line</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* cache the bound method of _trace on self

this speeds up pure python tracing because we don't have to re-create a
bound method object all the time

* optimize checking whether a file should be traced

the optimization works based on the following heuristic: in a
majority of cases, functions call other functions in the same file. In
that situation we don't have to re-check whether we should trace the
file

* fix optimization in the presence of contexts

* fix too long line</pre>
</div>
</content>
</entry>
<entry>
<title>perf: set frame-&gt;f_trace_lines=0 when not tracing. ~3% faster</title>
<updated>2022-05-28T20:12:14+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2022-05-28T20:12:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=4b592fe30a7ebf871ba9a3d883ec955dae198c15'/>
<id>4b592fe30a7ebf871ba9a3d883ec955dae198c15</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>perf: speed up python tracer with frame.f_trace_lines = False (#1381)</title>
<updated>2022-05-28T19:34:43+00:00</updated>
<author>
<name>Carl Friedrich Bolz-Tereick</name>
<email>cfbolz@gmx.de</email>
</author>
<published>2022-05-28T19:34:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=08ec70fe8acbd5864b3c8c3dcc4c65c38afeeff8'/>
<id>08ec70fe8acbd5864b3c8c3dcc4c65c38afeeff8</id>
<content type='text'>
use the python &gt;= 3.7 feature of being able to disable line tracing by
setting the frame attribute f_trace_lines to False. This can be used for
the frames of functions that we aren't collecting coverage information
for (eg those functions in the stdlib).

This speeds up the pure python tracer in CPython by ~9x and in PyPy by
80% on a coverage run of one realistic project that I tried.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
use the python &gt;= 3.7 feature of being able to disable line tracing by
setting the frame attribute f_trace_lines to False. This can be used for
the frames of functions that we aren't collecting coverage information
for (eg those functions in the stdlib).

This speeds up the pure python tracer in CPython by ~9x and in PyPy by
80% on a coverage run of one realistic project that I tried.</pre>
</div>
</content>
</entry>
</feed>
