CI
github-actions:test
12 runs
Average
47 ms
median 53 ms
max 61 ms
max 61 ms
Phases
Setup 9 ms
Call 36 ms
Teardown 1 ms
Categories
Database 13 ms
Other (Libraries, Templates, pytest, Unsampled) 34 ms
5 database queries per run
Needs 256 KB of memory (max 480 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 16 hours ago ·
open run
setup9 ms17.0%
TestCase.setUpClassdjango/test/testcases.py:1423 cls.cls_atomics = cls._enter_atomics()9 ms17.0%
TestCase._enter_atomicsdjango/test/testcases.py:13969 ms17.0%
Atomic.__enter__django/db/transaction.py:1989 ms17.0%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:4549 ms17.0%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:3039 ms17.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:269 ms17.0%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:2799 ms17.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:269 ms17.0%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:2569 ms17.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:269 ms17.0%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:3339 ms17.0%
Connection.connectpsycopg/connection.py:1099 ms17.0%
wait_connpsycopg/waiting.py:1454 ms7.6%
BaseConnection._connect_genpsycopg/_connection_base.py:4394 ms7.6%
wait_connpsycopg/waiting.py:1413 ms5.7%
EpollSelector.select<stdlib>/selectors.py:4523 ms5.7%
wait_connpsycopg/waiting.py:1362 ms3.8%
BaseConnection._connect_genpsycopg/_connection_base.py:4392 ms3.8%
call44 ms81.7%
TestCIPage.test_cift/tests.py:90 response = self.client.get(reverse("ci"))42 ms77.2%
Client.getdjango/test/client.py:112442 ms77.2%
RequestFactory.getdjango/test/client.py:47542 ms77.2%
RequestFactory.genericdjango/test/client.py:67142 ms77.2%
Client.requestdjango/test/client.py:108242 ms77.2%
ClientHandler.__call__django/test/client.py:18630 ms54.5%
BaseHandler.get_responsedjango/core/handlers/base.py:14130 ms54.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms54.5%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:13030 ms54.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms54.5%
MiddlewareMixin.__call__django/utils/deprecation.py:30930 ms54.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms54.5%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12330 ms54.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms54.5%
MiddlewareMixin.__call__django/utils/deprecation.py:30930 ms54.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms54.5%
MiddlewareMixin.__call__django/utils/deprecation.py:30930 ms54.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms54.5%
MiddlewareMixin.__call__django/utils/deprecation.py:30930 ms54.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms54.5%
MiddlewareMixin.__call__django/utils/deprecation.py:30930 ms54.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms54.5%
MiddlewareMixin.__call__django/utils/deprecation.py:30930 ms54.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms54.5%
MiddlewareMixin.__call__django/utils/deprecation.py:30930 ms54.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms54.5%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:3430 ms54.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms54.5%
BaseHandler._get_responsedjango/core/handlers/base.py:19830 ms54.5%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._view_wrapperdjango/utils/decorators.py:19030 ms54.5%
vary_on_headers.<locals>.decorator.<locals>._view_wrapperdjango/views/decorators/vary.py:3130 ms54.5%
cift/urls.py:67 return render(request, "ci.html", {"logged_in": request.user.is_authenticated})30 ms54.5%
renderdjango/shortcuts.py:2530 ms54.5%
render_to_stringdjango/template/loader.py:6225 ms45.4%
Template.renderdjango/template/backends/django.py:10725 ms45.4%
Template.renderdjango/template/base.py:17425 ms45.4%
instrumented_test_renderdjango/test/utils.py:11425 ms45.4%
NodeList.renderdjango/template/base.py:109125 ms45.4%
Node.render_annotateddjango/template/base.py:105225 ms45.4%
ExtendsNode.renderdjango/template/loader_tags.py:16025 ms45.4%
instrumented_test_renderdjango/test/utils.py:11425 ms45.4%
NodeList.renderdjango/template/base.py:109125 ms45.4%
Node.render_annotateddjango/template/base.py:105225 ms45.4%
ExtendsNode.renderdjango/template/loader_tags.py:16025 ms45.4%
instrumented_test_renderdjango/test/utils.py:11425 ms45.4%
NodeList.renderdjango/template/base.py:109125 ms45.4%
Node.render_annotateddjango/template/base.py:105225 ms45.4%
BlockNode.renderdjango/template/loader_tags.py:6625 ms45.4%
NodeList.renderdjango/template/base.py:109125 ms45.4%
Node.render_annotateddjango/template/base.py:105222 ms40.9%
URLNode.renderdjango/template/defaulttags.py:51115 ms27.2%
reversedjango/urls/base.py:985 ms9.1%
URLResolver._reverse_with_prefixdjango/urls/resolvers.py:7622 ms4.5%
URLNode.renderdjango/template/defaulttags.py:5012 ms4.5%
IfNode.renderdjango/template/defaulttags.py:3262 ms4.5%
prefix.<locals>.Operator.evaldjango/template/smartif.py:882 ms4.5%
<lambda>django/template/smartif.py:1012 ms4.5%
TemplateLiteral.evaldjango/template/defaulttags.py:9182 ms4.5%
FilterExpression.resolvedjango/template/base.py:7882 ms4.5%
Variable.resolvedjango/template/base.py:9282 ms4.5%
Variable._resolve_lookupdjango/template/base.py:10262 ms4.5%
BlockNode.renderdjango/template/loader_tags.py:662 ms4.5%
NodeList.renderdjango/template/base.py:10912 ms4.5%
Node.render_annotateddjango/template/base.py:10522 ms4.5%
BlockNode.renderdjango/template/loader_tags.py:662 ms4.5%
NodeList.renderdjango/template/base.py:10912 ms4.5%
Node.render_annotateddjango/template/base.py:10522 ms4.5%
StaticNode.renderdjango/templatetags/static.py:1162 ms4.5%
StaticNode.urldjango/templatetags/static.py:1132 ms4.5%
StaticNode.handle_simpledjango/templatetags/static.py:1292 ms4.5%
render_to_stringdjango/template/loader.py:615 ms9.1%
get_templatedjango/template/loader.py:155 ms9.1%
DjangoTemplates.get_templatedjango/template/backends/django.py:795 ms9.1%
Engine.get_templatedjango/template/engine.py:1865 ms9.1%
Engine.find_templatedjango/template/engine.py:1595 ms9.1%
Loader.get_templatedjango/template/loaders/cached.py:575 ms9.1%
Loader.get_templatedjango/template/loaders/base.py:285 ms9.1%
__init____init__:-15 ms9.1%
Template.__init__django/template/base.py:1575 ms9.1%
Template.compile_nodelistdjango/template/base.py:1992 ms4.5%
Parser.parsedjango/template/base.py:5832 ms4.5%
do_extendsdjango/template/loader_tags.py:3072 ms4.5%
Parser.parsedjango/template/base.py:5612 ms4.5%
ClientHandler.__call__django/test/client.py:17312 ms22.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6212 ms22.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10412 ms22.7%
WhiteNoise.add_fileswhitenoise/base.py:10812 ms22.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1207 ms13.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1317 ms13.6%
WhiteNoise.get_static_filewhitenoise/base.py:2087 ms13.6%
StaticFile.__init__whitenoise/responders.py:737 ms13.6%
StaticFile.get_headerswhitenoise/responders.py:1765 ms9.1%
formatdate<stdlib>/email/utils.py:2665 ms9.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:502 ms4.5%
StaticFile.get_headerswhitenoise/responders.py:1782 ms4.5%
parsedate<stdlib>/email/_parseaddr.py:1852 ms4.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1155 ms9.1%
scantreewhitenoise/base.py:2602 ms4.5%
scantreewhitenoise/base.py:2622 ms4.5%
scantreewhitenoise/base.py:2622 ms4.5%
scantreewhitenoise/base.py:2642 ms4.5%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()2 ms4.5%
TestCase._fixture_teardowndjango/test/testcases.py:14952 ms4.5%
Estimated from 27 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
ft/urls.py:67
return render(request, "ci.html", {"logged_in": request.user.is_authenticated})
ci
· Templates
|
30 ms |
|
ft/tests.py:90
response = self.client.get(reverse("ci"))
TestCIPage.test_ci
· Libraries
|
12 ms |
Fixtures
Exact setup time| _unittest_setUpClass_fixture_TestCIPage class | 8 ms |
| _django_setup_unittest class | 0.28 ms |
| _dj_autoclear_mailbox function | 0.05 ms |
| _django_db_marker function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _django_clear_site_cache function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
5 queries · 0.91 msNo repeated queries.
Biggest pieces of work
|
call test body
ft/tests.py:90
|
42 ms |
|
setup setUpClass
django/test/testcases.py:1423
|
9 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
2 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 | |
|---|---|---|---|---|
| 16 hours ago | CI github-actions:test | passed | 54 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 28 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 46 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 52 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 54 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 30 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 55 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 53 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 50 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 56 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 25 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 61 ms | Profile |