Tests / confs/tests.py
TestMigratedLegacyConferences::test_djangoconus_date_redirects
First seen 1 month, 1 week ago in 0c23747
CI
github-actions:test
13 runs
Average
164 ms
median 157 ms
max 320 ms
max 320 ms
Phases
Setup 1 ms
Call 160 ms
Teardown 2 ms
Categories
Database 15 ms
Other (Libraries, pytest, Unsampled) 149 ms
5 database queries per run
Needs 94 KB of memory (max 436 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
setup0.97 ms0.5%
call210 ms99.4%
TestMigratedLegacyConferences.test_djangoconus_date_redirectsconfs/tests.py:193 response = self.client.get(reverse("djangoconus", args=[dt.date(2023, 10, 16)]))209 ms98.9%
Client.getdjango/test/client.py:1133209 ms98.9%
RequestFactory.getdjango/test/client.py:475209 ms98.9%
RequestFactory.genericdjango/test/client.py:671209 ms98.9%
Client.requestdjango/test/client.py:1091209 ms98.9%
ClientHandler.__call__django/test/client.py:173209 ms98.9%
BaseHandler.load_middlewaredjango/core/handlers/base.py:63209 ms98.9%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:104209 ms98.9%
WhiteNoise.add_fileswhitenoise/base.py:108209 ms98.9%
WhiteNoise.update_files_dictionarywhitenoise/base.py:120203 ms96.1%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:131203 ms96.1%
WhiteNoise.get_static_filewhitenoise/base.py:217198 ms93.9%
StaticFile.__init__whitenoise/responders.py:72193 ms91.1%
StaticFile.get_file_statswhitenoise/responders.py:163191 ms90.6%
<GC>~191 ms90.6%
StaticFile.get_file_statswhitenoise/responders.py:1611 ms0.6%
StaticFile.__init__whitenoise/responders.py:762 ms1.1%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1892 ms1.1%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms1.1%
Headers.get<stdlib>/wsgiref/headers.py:1061 ms0.6%
Headers.get<stdlib>/wsgiref/headers.py:1041 ms0.6%
StaticFile.__init__whitenoise/responders.py:731 ms0.6%
StaticFile.get_headerswhitenoise/responders.py:1761 ms0.6%
formatdate<stdlib>/email/utils.py:2661 ms0.6%
format_datetime<stdlib>/email/utils.py:2751 ms0.6%
StaticFile.__init__whitenoise/responders.py:741 ms0.6%
WhiteNoise.get_static_filewhitenoise/base.py:2125 ms2.2%
WhiteNoise.add_cache_headerswhitenoise/base.py:2334 ms1.7%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1762 ms1.1%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1972 ms1.1%
URLMixin.urldebug_toolbar/panels/staticfiles.py:202 ms1.1%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2352 ms1.1%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2162 ms1.1%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2072 ms1.1%
urljoin<stdlib>/urllib/parse.py:7652 ms1.1%
WhiteNoise.add_cache_headerswhitenoise/base.py:2361 ms0.6%
Headers.__setitem__<stdlib>/wsgiref/headers.py:621 ms0.6%
Headers.__delitem__<stdlib>/wsgiref/headers.py:721 ms0.6%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1156 ms2.8%
scantreewhitenoise/base.py:2715 ms2.2%
scantreewhitenoise/base.py:2715 ms2.2%
scantreewhitenoise/base.py:2734 ms1.7%
scantreewhitenoise/base.py:2711 ms0.6%
scantreewhitenoise/base.py:2711 ms0.6%
scantreewhitenoise/base.py:2711 ms0.6%
scantreewhitenoise/base.py:2731 ms0.6%
scantreewhitenoise/base.py:2731 ms0.6%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()1 ms0.6%
TestCase._fixture_setupdjango/test/testcases.py:14811 ms0.6%
TestCase._enter_atomicsdjango/test/testcases.py:13991 ms0.6%
Atomic.__enter__django/db/transaction.py:2231 ms0.6%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms0.6%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4001 ms0.6%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3671 ms0.6%
CursorWrapper.executedjango/db/backends/utils.py:791 ms0.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms0.6%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms0.6%
Cursor.executepsycopg/cursor.py:1131 ms0.6%
Connection.waitpsycopg/connection.py:4951 ms0.6%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms0.6%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms0.6%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms0.6%
Estimated from 181 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
confs/tests.py:193
response = self.client.get(reverse("djangoconus", args=[dt.date(2023, 10, 16)]))
TestMigratedLegacyConferences.test_djangoconus_date_redirects
· Libraries
|
209 ms |
Fixtures
Exact setup time| _template_string_if_invalid_marker function | 0.29 ms |
| _dj_autoclear_mailbox function | 0.04 ms |
| _django_db_marker function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| _django_isolate_apps function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.02 ms |
Database
5 queries · 0.93 msNo repeated queries.
Biggest pieces of work
|
call test body
confs/tests.py:193
|
209 ms |
|
call _pre_setup
django/test/testcases.py:1167
|
1 ms |
|
setup isasyncgenfunction
<stdlib>/inspect.py:344
|
0.97 ms |
Reliability
14 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 14 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 2 weeks ago | CI github-actions:test | passed | 211 ms | Profile |
| 2 weeks, 5 days ago | CI github-actions:test | passed | 320 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 289 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 223 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 124 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 90 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 64 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 103 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 78 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 51 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 255 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 157 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 167 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 127 ms | Run |