Tests / fedidevs/tests.py
TestAnonymousCacheAndCsrf::test_query_string_pages_are_not_noindexed
First seen 3 weeks ago in 0c23747
CI
github-actions:test
11 runs
Average
129 ms
median 136 ms
max 261 ms
max 261 ms
Phases
Setup 2 ms
Call 116 ms
Teardown 11 ms
Categories
Database 20 ms
App code 0.15 ms
Other (Libraries, DB schema, Templates, pytest, ...) 109 ms
7 database queries per run
Needs 188 KB of memory (max 1 MB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 7 hours ago ·
open run
call132 ms97.3%
TestAnonymousCacheAndCsrf.test_query_string_pages_are_not_noindexedfedidevs/tests.py:105 response = self.client.get("/login/?q=")132 ms97.3%
Client.getdjango/test/client.py:1133132 ms97.3%
RequestFactory.getdjango/test/client.py:475132 ms97.3%
RequestFactory.genericdjango/test/client.py:671132 ms97.3%
Client.requestdjango/test/client.py:1091132 ms97.3%
ClientHandler.__call__django/test/client.py:173132 ms97.3%
BaseHandler.load_middlewaredjango/core/handlers/base.py:63132 ms97.3%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:104132 ms97.3%
WhiteNoise.add_fileswhitenoise/base.py:108132 ms97.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:120122 ms90.0%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:131122 ms90.0%
WhiteNoise.get_static_filewhitenoise/base.py:21788 ms64.4%
StaticFile.__init__whitenoise/responders.py:7550 ms36.5%
Headers.__getitem__<stdlib>/wsgiref/headers.py:8350 ms36.5%
Headers.get<stdlib>/wsgiref/headers.py:10650 ms36.5%
StaticFile.__init__whitenoise/responders.py:7321 ms15.8%
StaticFile.get_headerswhitenoise/responders.py:17820 ms14.6%
parsedate<stdlib>/email/_parseaddr.py:18520 ms14.6%
parsedate_tz<stdlib>/email/_parseaddr.py:5015 ms10.9%
_parsedate_tz<stdlib>/email/_parseaddr.py:10115 ms10.9%
StaticFile.get_headerswhitenoise/responders.py:1702 ms1.2%
StaticFile.__init__whitenoise/responders.py:7617 ms12.2%
StaticFile.get_not_modified_responsewhitenoise/responders.py:18817 ms12.2%
Headers.__contains__<stdlib>/wsgiref/headers.py:8717 ms12.2%
Headers.get<stdlib>/wsgiref/headers.py:10417 ms12.2%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:4817 ms12.2%
WhiteNoise.get_static_filewhitenoise/base.py:21218 ms13.4%
WhiteNoise.add_cache_headerswhitenoise/base.py:23318 ms13.4%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:17618 ms13.4%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:19717 ms12.2%
URLMixin.urldebug_toolbar/panels/staticfiles.py:2013 ms9.7%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:23513 ms9.7%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2165 ms3.6%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2075 ms3.6%
urljoin<stdlib>/urllib/parse.py:7585 ms3.6%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2085 ms3.6%
urlsplit<stdlib>/urllib/parse.py:5795 ms3.6%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2143 ms2.4%
WhiteNoise.get_static_filewhitenoise/base.py:2118 ms6.1%
WhiteNoise.add_mime_headerswhitenoise/base.py:2258 ms6.1%
MediaTypes.get_typewhitenoise/media_types.py:158 ms6.1%
basename<frozen posixpath>:1728 ms6.1%
WhiteNoise.get_static_filewhitenoise/base.py:2148 ms6.1%
Headers.__setitem__<stdlib>/wsgiref/headers.py:638 ms6.1%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11510 ms7.3%
scantreewhitenoise/base.py:27110 ms7.3%
scantreewhitenoise/base.py:2717 ms4.9%
scantreewhitenoise/base.py:2713 ms2.4%
scantreewhitenoise/base.py:2713 ms2.4%
scantreewhitenoise/base.py:2713 ms2.4%
scantreewhitenoise/base.py:2733 ms2.4%
scantreewhitenoise/base.py:2692 ms1.2%
scantreewhitenoise/base.py:2732 ms1.2%
scantreewhitenoise/base.py:2692 ms1.2%
scantreewhitenoise/base.py:2732 ms1.2%
teardown2 ms1.8%
TestCase.tearDownClassdjango/test/testcases.py:1458 conn.close()2 ms1.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms1.8%
BaseDatabaseWrapper.closedjango/db/backends/base/base.py:3552 ms1.8%
DatabaseWrapper._closedjango/db/backends/postgresql/base.py:4082 ms1.8%
Connection.closepsycopg/connection.py:2012 ms1.8%
Estimated from 96 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
fedidevs/tests.py:105
response = self.client.get("/login/?q=")
TestAnonymousCacheAndCsrf.test_query_string_pages_are_not_noindexed
· Libraries
|
132 ms |
Fixtures
Exact setup time| _django_isolate_apps function | 0.07 ms |
| _template_string_if_invalid_marker function | 0.06 ms |
| _dj_autoclear_mailbox function | 0.06 ms |
| _django_db_marker function | 0.06 ms |
| _live_server_helper function | 0.05 ms |
| _django_set_urlconf function | 0.05 ms |
| _django_clear_site_cache function | 0.04 ms |
| monkeypatch function | 0.03 ms |
Database
7 queries · 8 msNo repeated queries.
Biggest pieces of work
|
call test body
fedidevs/tests.py:105
|
132 ms |
|
teardown tearDownClass
django/test/testcases.py:1458
|
2 ms |
Reliability
12 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 12 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 7 hours ago | CI github-actions:test | passed | 136 ms | Profile |
| 16 hours ago | CI github-actions:test | passed | 55 ms | Profile |
| 22 hours ago | CI github-actions:test | passed | 155 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 103 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 144 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 74 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 102 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 50 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 261 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 180 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 161 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 78 ms | Run |