flakytest.dev anze3db fedidevs
Tests / confs/tests.py

TestMigratedLegacyConferences::test_djangoconafrica_page

First seen 3 weeks ago in 0c23747
CI github-actions:test 11 runs
Average
362 ms
median 325 ms
max 637 ms
Phases
Setup 1 ms Call 361 ms Teardown 0.33 ms
Categories
Database 136 ms App code 0.10 ms Other (Libraries, Templates, Unsampled, Imports, ...) 226 ms

11 database queries per run

Needs 648 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
Show pytest frames
call132 ms98.2%
TestMigratedLegacyConferences.test_djangoconafrica_pageconfs/tests.py:172 response = self._assert_no_naive_warning(reverse("djangoconafrica"))132 ms98.2%
TestMigratedLegacyConferences._assert_no_naive_warningconfs/tests.py:152 response = self.client.get(url)132 ms98.2%
Client.getdjango/test/client.py:1133132 ms98.2%
RequestFactory.getdjango/test/client.py:475132 ms98.2%
RequestFactory.genericdjango/test/client.py:671132 ms98.2%
Client.requestdjango/test/client.py:1091132 ms98.2%
ClientHandler.__call__django/test/client.py:18670 ms52.6%
BaseHandler.get_responsedjango/core/handlers/base.py:14270 ms52.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5670 ms52.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38070 ms52.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5670 ms52.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38070 ms52.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5670 ms52.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38070 ms52.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5670 ms52.6%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12370 ms52.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5670 ms52.6%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14570 ms52.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5670 ms52.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38070 ms52.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5670 ms52.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38070 ms52.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5670 ms52.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38070 ms52.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5670 ms52.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38070 ms52.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5670 ms52.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38070 ms52.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5670 ms52.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38070 ms52.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5670 ms52.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38070 ms52.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5670 ms52.6%
BaseHandler._get_responsedjango/core/handlers/base.py:19970 ms52.6%
conferenceconfs/views.py:169 return _conference_detail_cached(request, conference_slug)70 ms52.6%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._view_wrapperdjango/utils/decorators.py:18970 ms52.6%
_conference_detailconfs/views.py:296 return render(37 ms27.8%
renderdjango/shortcuts.py:2737 ms27.8%
render_to_stringdjango/template/loader.py:6134 ms25.5%
get_templatedjango/template/loader.py:1534 ms25.5%
DjangoTemplates.get_templatedjango/template/backends/django.py:7934 ms25.5%
Engine.get_templatedjango/template/engine.py:18634 ms25.5%
Engine.find_templatedjango/template/engine.py:15934 ms25.5%
Loader.get_templatedjango/template/loaders/cached.py:5734 ms25.5%
Loader.get_templatedjango/template/loaders/base.py:2834 ms25.5%
__init____init__:-134 ms25.5%
Template.__init__django/template/base.py:15834 ms25.5%
Template.compile_nodelistdjango/template/base.py:20034 ms25.5%
Parser.parsedjango/template/base.py:60134 ms25.5%
do_extendsdjango/template/loader_tags.py:30734 ms25.5%
Parser.parsedjango/template/base.py:60134 ms25.5%
do_blockdjango/template/loader_tags.py:23534 ms25.5%
Parser.parsedjango/template/base.py:60134 ms25.5%
do_ifdjango/template/defaulttags.py:99434 ms25.5%
Parser.parsedjango/template/base.py:60134 ms25.5%
do_fordjango/template/defaulttags.py:89434 ms25.5%
Parser.parsedjango/template/base.py:60134 ms25.5%
do_ifdjango/template/defaulttags.py:99434 ms25.5%
Parser.parsedjango/template/base.py:60134 ms25.5%
Library.simple_tag.<locals>.dec.<locals>.compile_funcdjango/template/library.py:14134 ms25.5%
parse_bitsdjango/template/library.py:43034 ms25.5%
token_kwargsdjango/template/base.py:119834 ms25.5%
new_method_proxy.<locals>.innerdjango/utils/functional.py:25034 ms25.5%
LazyObject.__getattribute__django/utils/functional.py:27934 ms25.5%
render_to_stringdjango/template/loader.py:623 ms2.3%
Template.renderdjango/template/backends/django.py:1073 ms2.3%
Template.renderdjango/template/base.py:1753 ms2.3%
instrumented_test_renderdjango/test/utils.py:1133 ms2.3%
NodeList.renderdjango/template/base.py:11083 ms2.3%
Node.render_annotateddjango/template/base.py:10693 ms2.3%
ExtendsNode.renderdjango/template/loader_tags.py:1602 ms1.5%
instrumented_test_renderdjango/test/utils.py:1132 ms1.5%
NodeList.renderdjango/template/base.py:11082 ms1.5%
Node.render_annotateddjango/template/base.py:10692 ms1.5%
TranslateNode.renderdjango/templatetags/i18n.py:911 ms0.8%
render_value_in_contextdjango/template/base.py:11501 ms0.8%
lazy.<locals>.__proxy__.__str__django/utils/functional.py:1191 ms0.8%
ExtendsNode.renderdjango/template/loader_tags.py:1351 ms0.8%
ExtendsNode.get_parentdjango/template/loader_tags.py:1321 ms0.8%
ExtendsNode.find_templatedjango/template/loader_tags.py:1101 ms0.8%
Engine.find_templatedjango/template/engine.py:1591 ms0.8%
Loader.get_templatedjango/template/loaders/cached.py:-11 ms0.8%
_conference_detailconfs/views.py:173 conference = get_object_or_404(Conference, slug=conference_slug)33 ms24.8%
get_object_or_404django/shortcuts.py:10033 ms24.8%
QuerySet.getdjango/db/models/query.py:70233 ms24.8%
QuerySet.__len__django/db/models/query.py:42133 ms24.8%
QuerySet._fetch_alldjango/db/models/query.py:226233 ms24.8%
ModelIterable.__iter__django/db/models/query.py:10333 ms24.8%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:162533 ms24.8%
CursorWrapper.executedjango/db/backends/utils.py:7933 ms24.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9233 ms24.8%
CursorWrapper._executedjango/db/backends/utils.py:10533 ms24.8%
Cursor.executepsycopg/cursor.py:11333 ms24.8%
Connection.waitpsycopg/connection.py:49533 ms24.8%
ClientHandler.__call__django/test/client.py:17361 ms45.6%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6361 ms45.6%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10461 ms45.6%
WhiteNoise.add_fileswhitenoise/base.py:10861 ms45.6%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11544 ms32.5%
scantreewhitenoise/base.py:27334 ms25.5%
scantreewhitenoise/base.py:2717 ms5.4%
scantreewhitenoise/base.py:2714 ms3.1%
scantreewhitenoise/base.py:2734 ms3.1%
scantreewhitenoise/base.py:2733 ms2.3%
scantreewhitenoise/base.py:2691 ms0.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12018 ms13.1%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13115 ms10.8%
WhiteNoise.get_static_filewhitenoise/base.py:21710 ms7.7%
StaticFile.__init__whitenoise/responders.py:773 ms2.3%
StaticFile.get_alternativeswhitenoise/responders.py:2003 ms2.3%
__init____init__:-11 ms0.8%
StaticFile.__init__whitenoise/responders.py:742 ms1.5%
parsedate<stdlib>/email/_parseaddr.py:1852 ms1.5%
StaticFile.__init__whitenoise/responders.py:762 ms1.5%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1882 ms1.5%
Headers.__contains__<stdlib>/wsgiref/headers.py:871 ms0.8%
Headers.get<stdlib>/wsgiref/headers.py:1041 ms0.8%
StaticFile.__init__whitenoise/responders.py:731 ms0.8%
StaticFile.get_headerswhitenoise/responders.py:1761 ms0.8%
formatdate<stdlib>/email/utils.py:2661 ms0.8%
WhiteNoise.get_static_filewhitenoise/base.py:2143 ms2.3%
Headers.__setitem__<stdlib>/wsgiref/headers.py:623 ms2.3%
Headers.__delitem__<stdlib>/wsgiref/headers.py:713 ms2.3%
WhiteNoise.get_static_filewhitenoise/base.py:2121 ms0.8%
WhiteNoise.add_cache_headerswhitenoise/base.py:2331 ms0.8%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1761 ms0.8%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1971 ms0.8%
URLMixin.urldebug_toolbar/panels/staticfiles.py:201 ms0.8%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1323 ms2.3%
Estimated from 127 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

confs/tests.py:152
response = self.client.get(url)
TestMigratedLegacyConferences._assert_no_naive_warning · Libraries
61 ms
confs/views.py:296
return render(
_conference_detail · Templates
37 ms
confs/views.py:173
conference = get_object_or_404(Conference, slug=conference_slug)
_conference_detail · Database
33 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
_live_server_helper function 0.04 ms
_django_set_urlconf function 0.04 ms
_django_clear_site_cache function 0.03 ms
monkeypatch function 0.02 ms

Database

11 queries · 26 ms
No repeated queries.

Biggest pieces of work

call test body
confs/tests.py:172
132 ms

Reliability

12 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 12 results, oldest first in the strip
When Environment Outcome Duration Commit
7 hours ago CI github-actions:test passed 134 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 68 ms 9b8826a main Profile
22 hours ago CI github-actions:test passed 409 ms 4f01055 main Profile
1 week, 5 days ago CI github-actions:test passed 325 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 561 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 433 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 321 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 325 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 300 ms 82997f8 main Profile
3 weeks ago CI github-actions:test passed 637 ms 623aa3e main Profile
3 weeks ago CI github-actions:test passed 473 ms ab6465a main Profile
3 weeks ago CI github-actions:test passed 290 ms 0c23747 main Run