Tests / confs/tests.py
TestMigratedLegacyConferences::test_dotnetconf_page
First seen 1 month, 1 week ago in 0c23747
CI
github-actions:test
13 runs
Average
176 ms
median 144 ms
max 436 ms
max 436 ms
Phases
Setup 2 ms
Call 172 ms
Teardown 2 ms
Categories
Database 28 ms
App code 0.79 ms
Other (Libraries, Templates, Imports, pytest, ...) 147 ms
11 database queries per run
Needs 920 KB of memory (max 3 MB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
setup0.72 ms1.0%
call63 ms91.6%
TestMigratedLegacyConferences.test_dotnetconf_pageconfs/tests.py:180 response = self._assert_no_naive_warning(reverse("dotnetconf"))63 ms91.6%
TestMigratedLegacyConferences._assert_no_naive_warningconfs/tests.py:152 response = self.client.get(url)63 ms91.6%
Client.getdjango/test/client.py:113363 ms91.6%
RequestFactory.getdjango/test/client.py:47563 ms91.6%
RequestFactory.genericdjango/test/client.py:67163 ms91.6%
Client.requestdjango/test/client.py:109163 ms91.6%
ClientHandler.__call__django/test/client.py:17351 ms74.9%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6346 ms66.6%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:9517 ms25.0%
WhiteNoise.add_fileswhitenoise/base.py:10811 ms16.6%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11511 ms16.6%
scantreewhitenoise/base.py:26911 ms16.6%
urlparse<stdlib>/urllib/parse.py:4726 ms8.3%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10417 ms25.0%
WhiteNoise.add_fileswhitenoise/base.py:10817 ms25.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11517 ms25.0%
scantreewhitenoise/base.py:27111 ms16.6%
scantreewhitenoise/base.py:27111 ms16.6%
scantreewhitenoise/base.py:2716 ms8.3%
scantreewhitenoise/base.py:2736 ms8.3%
scantreewhitenoise/base.py:2736 ms8.3%
scantreewhitenoise/base.py:2736 ms8.3%
BaseHandler.load_middlewaredjango/core/handlers/base.py:976 ms8.3%
ClientHandler.__call__django/test/client.py:18611 ms16.6%
BaseHandler.get_responsedjango/core/handlers/base.py:14211 ms16.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5611 ms16.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38011 ms16.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5611 ms16.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38011 ms16.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5611 ms16.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38011 ms16.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5611 ms16.6%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12311 ms16.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5611 ms16.6%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14511 ms16.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5611 ms16.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38011 ms16.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5611 ms16.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38011 ms16.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5611 ms16.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38011 ms16.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5611 ms16.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38011 ms16.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5611 ms16.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38011 ms16.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5611 ms16.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38011 ms16.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5611 ms16.6%
MiddlewareMixin.__call__django/utils/deprecation.py:38011 ms16.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5611 ms16.6%
BaseHandler._get_responsedjango/core/handlers/base.py:19911 ms16.6%
conferenceconfs/views.py:169 return _conference_detail_cached(request, conference_slug)11 ms16.6%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._view_wrapperdjango/utils/decorators.py:18911 ms16.6%
_conference_detailconfs/views.py:296 return render(11 ms16.6%
renderdjango/shortcuts.py:2711 ms16.6%
render_to_stringdjango/template/loader.py:6211 ms16.6%
Template.renderdjango/template/backends/django.py:10711 ms16.6%
Template.renderdjango/template/base.py:17511 ms16.6%
instrumented_test_renderdjango/test/utils.py:11311 ms16.6%
NodeList.renderdjango/template/base.py:110811 ms16.6%
Node.render_annotateddjango/template/base.py:106911 ms16.6%
ExtendsNode.renderdjango/template/loader_tags.py:16011 ms16.6%
instrumented_test_renderdjango/test/utils.py:11311 ms16.6%
NodeList.renderdjango/template/base.py:110811 ms16.6%
Node.render_annotateddjango/template/base.py:106911 ms16.6%
IfNode.renderdjango/template/defaulttags.py:33311 ms16.6%
NodeList.renderdjango/template/base.py:110811 ms16.6%
Node.render_annotateddjango/template/base.py:106911 ms16.6%
IncludeNode.renderdjango/template/loader_tags.py:21111 ms16.6%
Template.renderdjango/template/base.py:17711 ms16.6%
instrumented_test_renderdjango/test/utils.py:11311 ms16.6%
NodeList.renderdjango/template/base.py:110811 ms16.6%
Node.render_annotateddjango/template/base.py:106911 ms16.6%
CsrfTokenNode.renderdjango/template/defaulttags.py:826 ms8.3%
format_htmldjango/utils/html.py:1456 ms8.3%
SimpleNode.renderdjango/template/library.py:3436 ms8.3%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:6 ms8.3%
QuerySet.__iter__django/db/models/query.py:4396 ms8.3%
QuerySet._fetch_alldjango/db/models/query.py:22626 ms8.3%
FlatValuesListIterable.__iter__django/db/models/query.py:3026 ms8.3%
teardown5 ms7.4%
TestCase.tearDownClassdjango/test/testcases.py:1458 conn.close()5 ms7.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:265 ms7.3%
BaseDatabaseWrapper.closedjango/db/backends/base/base.py:3555 ms7.3%
DatabaseWrapper._closedjango/db/backends/postgresql/base.py:4085 ms7.3%
Connection.closepsycopg/connection.py:2015 ms7.3%
Estimated from 70 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
|
51 ms |
|
confs/views.py:296
return render(
_conference_detail
· Templates
|
6 ms |
|
accounts/templatetags/account_extras.py:36
for instance in instances:
instances_datalist
· Database
|
6 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _django_db_marker function | 0.03 ms |
| _django_isolate_apps function | 0.03 ms |
| _live_server_helper 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
11 queries · 6 msNo repeated queries.
Biggest pieces of work
|
call test body
confs/tests.py:180
|
63 ms |
|
teardown tearDownClass
django/test/testcases.py:1458
|
5 ms |
| setup pytest internals | 0.48 ms |
|
setup __init__
__init__:-1
|
0.24 ms |
| teardown pytest internals | 0.09 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 | 69 ms | Profile |
| 2 weeks, 5 days ago | CI github-actions:test | passed | 150 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 95 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 69 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 81 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 108 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 96 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 204 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 222 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 144 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 367 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 436 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 244 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 177 ms | Run |