Mercurial > p > roundup > code
annotate .coveragerc @ 6747:d32d43e4a5ba
wsgi can cache tracker instance enabled by feature flag.
Patch by Marcus Priesch caches a loaded tracker instance and reuse it
for future client sessions.
It is enabled by a feature flag in wsgi.py since it arrived during the
2.2.0 beta period.
The provided wsgi.py is modified to enable it. Testing is run with
flag enabled and disabled.
Ralf Schlatterbeck and Marcus tested it on one of their larger more
complex trackers and it sped up the response time to a client request
by a factor of 3 (270ms down to about 80-85ms).
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 02 Jul 2022 14:04:00 -0400 |
| parents | 729e703a6c5a |
| children |
| rev | line source |
|---|---|
|
5209
729e703a6c5a
Added .coveragerc to exclude the dist utilites from code coverage.
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
1 [run] |
|
729e703a6c5a
Added .coveragerc to exclude the dist utilites from code coverage.
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
2 |
|
729e703a6c5a
Added .coveragerc to exclude the dist utilites from code coverage.
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
3 # ignore the dist utils. They are not part of the code base |
|
729e703a6c5a
Added .coveragerc to exclude the dist utilites from code coverage.
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
4 # we are going to test. They are used by maintainers only. |
|
729e703a6c5a
Added .coveragerc to exclude the dist utilites from code coverage.
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
5 omit = roundup/dist/* |
