Tests / confs/tests.py
TestMigratedLegacyConferences::test_djangoconafrica_date_redirects
First seen 3 weeks ago in 0c23747
CI
github-actions:test
11 runs
Average
102 ms
median 83 ms
max 208 ms
max 208 ms
Phases
Setup 1 ms
Call 100 ms
Teardown 0.33 ms
Categories
Database 4 ms
Other (Libraries, pytest, Unsampled) 98 ms
5 database queries per run
Needs 1 MB of memory (max 1 MB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 7 hours ago ·
open run
call153 ms99.3%
TestMigratedLegacyConferences.test_djangoconafrica_date_redirectsconfs/tests.py:176 response = self.client.get(reverse("djangoconafrica", args=[dt.date(2023, 11, 7)]))148 ms95.9%
Client.getdjango/test/client.py:1133148 ms95.9%
RequestFactory.getdjango/test/client.py:475148 ms95.9%
RequestFactory.genericdjango/test/client.py:671148 ms95.9%
Client.requestdjango/test/client.py:1091148 ms95.9%
ClientHandler.__call__django/test/client.py:173148 ms95.9%
BaseHandler.load_middlewaredjango/core/handlers/base.py:63148 ms95.9%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:104144 ms93.7%
WhiteNoise.add_fileswhitenoise/base.py:108144 ms93.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:120127 ms82.5%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:131125 ms81.4%
WhiteNoise.get_static_filewhitenoise/base.py:217119 ms77.0%
StaticFile.__init__whitenoise/responders.py:73110 ms71.4%
StaticFile.get_headerswhitenoise/responders.py:171108 ms70.3%
Headers.__contains__<stdlib>/wsgiref/headers.py:87108 ms70.3%
StaticFile.get_headerswhitenoise/responders.py:1672 ms1.1%
StaticFile.__init__whitenoise/responders.py:743 ms2.2%
parsedate<stdlib>/email/_parseaddr.py:1852 ms1.1%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms1.1%
StaticFile.__init__whitenoise/responders.py:722 ms1.1%
StaticFile.get_file_statswhitenoise/responders.py:1612 ms1.1%
StaticFile.__init__whitenoise/responders.py:772 ms1.1%
StaticFile.get_alternativeswhitenoise/responders.py:2012 ms1.1%
StaticFile.__init__whitenoise/responders.py:762 ms1.1%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1882 ms1.1%
Headers.__contains__<stdlib>/wsgiref/headers.py:872 ms1.1%
Headers.get<stdlib>/wsgiref/headers.py:1072 ms1.1%
WhiteNoise.get_static_filewhitenoise/base.py:2113 ms2.2%
WhiteNoise.add_mime_headerswhitenoise/base.py:2252 ms1.1%
WhiteNoise.get_static_filewhitenoise/base.py:2123 ms2.2%
WhiteNoise.add_cache_headerswhitenoise/base.py:2333 ms2.2%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1763 ms2.2%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1973 ms2.2%
URLMixin.urldebug_toolbar/panels/staticfiles.py:203 ms2.2%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2353 ms2.2%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2082 ms1.1%
urlsplit<stdlib>/urllib/parse.py:5822 ms1.1%
_urlsplit<stdlib>/urllib/parse.py:6222 ms1.1%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2162 ms1.1%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11517 ms11.2%
scantreewhitenoise/base.py:2717 ms4.5%
scantreewhitenoise/base.py:2713 ms2.2%
scantreewhitenoise/base.py:2712 ms1.1%
scantreewhitenoise/base.py:2712 ms1.1%
scantreewhitenoise/base.py:2712 ms1.1%
scantreewhitenoise/base.py:2732 ms1.1%
scantreewhitenoise/base.py:2732 ms1.1%
scantreewhitenoise/base.py:2735 ms3.3%
scantreewhitenoise/base.py:2695 ms3.3%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:883 ms2.2%
LazySettings.__getattr__django/conf/__init__.py:1243 ms2.2%
UserSettingsHolder.__getattr__django/conf/__init__.py:3353 ms2.2%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()5 ms3.3%
TestCase._fixture_setupdjango/test/testcases.py:14815 ms3.3%
TestCase._enter_atomicsdjango/test/testcases.py:13995 ms3.3%
Atomic.__enter__django/db/transaction.py:2235 ms3.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:265 ms3.3%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4005 ms3.3%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3675 ms3.3%
CursorWrapper.executedjango/db/backends/utils.py:795 ms3.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:925 ms3.3%
CursorWrapper._executedjango/db/backends/utils.py:1035 ms3.3%
Cursor.executepsycopg/cursor.py:1135 ms3.3%
Connection.waitpsycopg/connection.py:4955 ms3.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:2065 ms3.3%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2865 ms3.3%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:785 ms3.3%
Estimated from 89 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
confs/tests.py:176
response = self.client.get(reverse("djangoconafrica", args=[dt.date(2023, 11, 7)]))
TestMigratedLegacyConferences.test_djangoconafrica_date_redirects
· Libraries
|
148 ms |
Fixtures
Exact setup time| _template_string_if_invalid_marker function | 0.05 ms |
| _django_db_marker function | 0.04 ms |
| _django_isolate_apps function | 0.04 ms |
| _live_server_helper function | 0.04 ms |
| _django_set_urlconf function | 0.04 ms |
| _dj_autoclear_mailbox function | 0.03 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
5 queries · 3 msNo repeated queries.
Biggest pieces of work
|
call test body
confs/tests.py:176
|
148 ms |
|
call _pre_setup
django/test/testcases.py:1167
|
5 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 | 154 ms | Profile |
| 16 hours ago | CI github-actions:test | passed | 35 ms | Profile |
| 22 hours ago | CI github-actions:test | passed | 123 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 83 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 56 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 82 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 120 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 64 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 77 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 208 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 114 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 135 ms | Run |