Tests / confs/tests.py
TestMigratedLegacyConferences::test_djangoconus_date_redirects
First seen 3 weeks ago in 0c23747
CI
github-actions:test
11 runs
Average
145 ms
median 124 ms
max 289 ms
max 289 ms
Phases
Setup 2 ms
Call 141 ms
Teardown 2 ms
Categories
Database 17 ms
Other (Libraries, pytest, Unsampled) 128 ms
5 database queries per run
Needs 65 KB of memory (max 356 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 7 hours ago ·
open run
call288 ms99.6%
TestMigratedLegacyConferences.test_djangoconus_date_redirectsconfs/tests.py:193 response = self.client.get(reverse("djangoconus", args=[dt.date(2023, 10, 16)]))288 ms99.6%
Client.getdjango/test/client.py:1133288 ms99.6%
RequestFactory.getdjango/test/client.py:475288 ms99.6%
RequestFactory.genericdjango/test/client.py:671288 ms99.6%
Client.requestdjango/test/client.py:1091288 ms99.6%
ClientHandler.__call__django/test/client.py:173288 ms99.6%
BaseHandler.load_middlewaredjango/core/handlers/base.py:63288 ms99.6%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:104286 ms99.2%
WhiteNoise.add_fileswhitenoise/base.py:108286 ms99.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:120259 ms89.8%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:131258 ms89.4%
WhiteNoise.get_static_filewhitenoise/base.py:217237 ms82.1%
StaticFile.__init__whitenoise/responders.py:77221 ms76.4%
StaticFile.get_alternativeswhitenoise/responders.py:198221 ms76.4%
StaticFile.get_alternatives.<locals>.<lambda>whitenoise/responders.py:198221 ms76.4%
<GC>~221 ms76.4%
StaticFile.__init__whitenoise/responders.py:739 ms3.3%
StaticFile.get_headerswhitenoise/responders.py:1765 ms1.6%
StaticFile.get_headerswhitenoise/responders.py:1812 ms0.8%
Headers.__setitem__<stdlib>/wsgiref/headers.py:622 ms0.8%
Headers.__delitem__<stdlib>/wsgiref/headers.py:722 ms0.8%
1 smaller frames hidden
StaticFile.__init__whitenoise/responders.py:752 ms0.8%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms0.8%
Headers.get<stdlib>/wsgiref/headers.py:1062 ms0.8%
StaticFile.__init__whitenoise/responders.py:762 ms0.8%
StaticFile.__init__whitenoise/responders.py:722 ms0.8%
StaticFile.get_file_statswhitenoise/responders.py:1612 ms0.8%
WhiteNoise.get_static_filewhitenoise/base.py:21218 ms6.1%
WhiteNoise.add_cache_headerswhitenoise/base.py:23316 ms5.7%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:17616 ms5.7%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:19716 ms5.7%
URLMixin.urldebug_toolbar/panels/staticfiles.py:2112 ms4.1%
<GC>~12 ms4.1%
URLMixin.urldebug_toolbar/panels/staticfiles.py:205 ms1.6%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2352 ms0.8%
1 smaller frames hidden
WhiteNoise.get_static_filewhitenoise/base.py:2114 ms1.2%
WhiteNoise.add_mime_headerswhitenoise/base.py:2252 ms0.8%
MediaTypes.get_typewhitenoise/media_types.py:192 ms0.8%
splitext<frozen posixpath>:1262 ms0.8%
1 smaller frames hidden
1 smaller frames hidden
WhiteNoise.update_files_dictionarywhitenoise/base.py:11527 ms9.3%
scantreewhitenoise/base.py:27127 ms9.3%
scantreewhitenoise/base.py:27127 ms9.3%
scantreewhitenoise/base.py:27326 ms8.9%
1 smaller frames hidden
1 smaller frames hidden
Estimated from 245 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
|
288 ms |
Fixtures
Exact setup time| _template_string_if_invalid_marker function | 0.05 ms |
| _dj_autoclear_mailbox function | 0.05 ms |
| _django_db_marker function | 0.04 ms |
| _django_isolate_apps function | 0.04 ms |
| _django_set_urlconf function | 0.04 ms |
| _live_server_helper function | 0.04 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
5 queries · 2 msNo repeated queries.
Biggest pieces of work
|
call test body
confs/tests.py:193
|
288 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 | 289 ms | Profile |
| 16 hours ago | CI github-actions:test | passed | 223 ms | Profile |
| 22 hours ago | CI github-actions:test | passed | 124 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 90 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 64 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 103 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 78 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 51 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 255 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 157 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 167 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 127 ms | Run |