CI
github-actions:test
12 runs
Average
45 ms
median 49 ms
max 58 ms
max 58 ms
Phases
Setup 10 ms
Call 35 ms
Teardown 0.15 ms
Categories
Database 17 ms
Other (Libraries, Templates, Imports, pytest, ...) 28 ms
6 database queries per run
Needs 138 KB of memory (max 468 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 16 hours ago ·
open run
setup10 ms20.8%
TestCase.setUpClassdjango/test/testcases.py:1423 cls.cls_atomics = cls._enter_atomics()9 ms18.7%
TestCase._enter_atomicsdjango/test/testcases.py:13969 ms18.7%
Atomic.__enter__django/db/transaction.py:1989 ms18.7%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:4549 ms18.7%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:3039 ms18.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:269 ms18.7%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:2799 ms18.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:269 ms18.7%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:2568 ms16.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:268 ms16.7%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:3338 ms16.7%
Connection.connectpsycopg/connection.py:1098 ms16.7%
wait_connpsycopg/waiting.py:1414 ms8.3%
EpollSelector.select<stdlib>/selectors.py:4524 ms8.3%
wait_connpsycopg/waiting.py:1454 ms8.3%
BaseConnection._connect_genpsycopg/_connection_base.py:4394 ms8.3%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:2581 ms2.1%
DatabaseWrapper.init_connection_statedjango/db/backends/postgresql/base.py:4021 ms2.1%
DatabaseWrapper._configure_connectiondjango/db/backends/postgresql/base.py:3741 ms2.1%
DatabaseWrapper._configure_timezonedjango/db/backends/postgresql/base.py:3571 ms2.1%
Cursor.executepsycopg/cursor.py:1131 ms2.1%
Connection.waitpsycopg/connection.py:4951 ms2.1%
__init____init__:-11 ms2.1%
signature<stdlib>/inspect.py:33431 ms2.1%
Signature.from_callable<stdlib>/inspect.py:30581 ms2.1%
_signature_from_callable<stdlib>/inspect.py:25281 ms2.1%
_signature_from_function<stdlib>/inspect.py:23291 ms2.1%
call38 ms78.9%
TestIndexPage.test_indexft/tests.py:14 response = self.client.get(reverse("index"))35 ms72.0%
Client.getdjango/test/client.py:112435 ms72.0%
RequestFactory.getdjango/test/client.py:47535 ms72.0%
RequestFactory.genericdjango/test/client.py:67135 ms72.0%
Client.requestdjango/test/client.py:108235 ms72.0%
ClientHandler.__call__django/test/client.py:17330 ms61.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6230 ms61.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10430 ms61.7%
WhiteNoise.add_fileswhitenoise/base.py:10830 ms61.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12027 ms54.9%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13125 ms51.4%
WhiteNoise.get_static_filewhitenoise/base.py:20817 ms34.3%
StaticFile.__init__whitenoise/responders.py:727 ms13.7%
StaticFile.get_file_statswhitenoise/responders.py:1617 ms13.7%
__init____init__:-17 ms13.7%
FileEntry.__init__whitenoise/responders.py:2637 ms13.7%
FileEntry.stat_regular_filewhitenoise/responders.py:2767 ms13.7%
<GC>~7 ms13.7%
StaticFile.__init__whitenoise/responders.py:775 ms10.3%
StaticFile.get_alternativeswhitenoise/responders.py:2005 ms10.3%
__init____init__:-12 ms3.4%
StaticFile.__init__whitenoise/responders.py:732 ms3.4%
StaticFile.get_headerswhitenoise/responders.py:1762 ms3.4%
StaticFile.__init__whitenoise/responders.py:742 ms3.4%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms3.4%
WhiteNoise.get_static_filewhitenoise/base.py:2037 ms13.7%
WhiteNoise.add_cache_headerswhitenoise/base.py:2247 ms13.7%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1767 ms13.7%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1977 ms13.7%
URLMixin.urldebug_toolbar/panels/staticfiles.py:205 ms10.3%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2052 ms3.4%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:1862 ms3.4%
WhiteNoise.get_static_filewhitenoise/base.py:2022 ms3.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1153 ms6.9%
scantreewhitenoise/base.py:2623 ms6.9%
scantreewhitenoise/base.py:2623 ms6.9%
scantreewhitenoise/base.py:2642 ms3.4%
scantreewhitenoise/base.py:2602 ms3.4%
ClientHandler.__call__django/test/client.py:1865 ms10.3%
BaseHandler.get_responsedjango/core/handlers/base.py:1415 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.3%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1305 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.3%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1235 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.3%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:345 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms10.3%
BaseHandler._get_responsedjango/core/handlers/base.py:1985 ms10.3%
indexft/urls.py:45 return render(request, "index.html", {"example_projects": example_projects})5 ms10.3%
renderdjango/shortcuts.py:255 ms10.3%
render_to_stringdjango/template/loader.py:625 ms10.3%
Template.renderdjango/template/backends/django.py:1075 ms10.3%
Template.renderdjango/template/base.py:1745 ms10.3%
instrumented_test_renderdjango/test/utils.py:1145 ms10.3%
NodeList.renderdjango/template/base.py:10915 ms10.3%
Node.render_annotateddjango/template/base.py:10525 ms10.3%
ExtendsNode.renderdjango/template/loader_tags.py:1605 ms10.3%
instrumented_test_renderdjango/test/utils.py:1145 ms10.3%
NodeList.renderdjango/template/base.py:10915 ms10.3%
Node.render_annotateddjango/template/base.py:10525 ms10.3%
ExtendsNode.renderdjango/template/loader_tags.py:1605 ms10.3%
instrumented_test_renderdjango/test/utils.py:1145 ms10.3%
NodeList.renderdjango/template/base.py:10915 ms10.3%
Node.render_annotateddjango/template/base.py:10525 ms10.3%
BlockNode.renderdjango/template/loader_tags.py:665 ms10.3%
NodeList.renderdjango/template/base.py:10915 ms10.3%
Node.render_annotateddjango/template/base.py:10525 ms10.3%
BlockNode.renderdjango/template/loader_tags.py:665 ms10.3%
NodeList.renderdjango/template/base.py:10915 ms10.3%
Node.render_annotateddjango/template/base.py:10523 ms6.9%
SimpleNode.renderdjango/template/library.py:3252 ms3.4%
IfNode.renderdjango/template/defaulttags.py:3322 ms3.4%
QuerySet.__bool__django/db/models/query.py:4042 ms3.4%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms3.4%
ModelIterable.__iter__django/db/models/query.py:952 ms3.4%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms3.4%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.4%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms3.4%
Cursor.executepsycopg/cursor.py:1132 ms3.4%
Connection.waitpsycopg/connection.py:4952 ms3.4%
TransactionTestCase._pre_setupdjango/test/testcases.py:1164 cls._fixture_setup()2 ms3.4%
TestCase._fixture_setupdjango/test/testcases.py:14782 ms3.4%
TestCase._enter_atomicsdjango/test/testcases.py:13962 ms3.4%
Atomic.__enter__django/db/transaction.py:2112 ms3.4%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms3.4%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4002 ms3.4%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3672 ms3.4%
CursorWrapper.executedjango/db/backends/utils.py:792 ms3.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms3.4%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms3.4%
Cursor.executepsycopg/cursor.py:1132 ms3.4%
Connection.waitpsycopg/connection.py:4952 ms3.4%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()2 ms3.4%
TestCase._fixture_teardowndjango/test/testcases.py:14942 ms3.4%
TestCase._should_check_constraintsdjango/test/testcases.py:15032 ms3.4%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:4922 ms3.4%
Cursor.executepsycopg/cursor.py:1132 ms3.4%
Connection.waitpsycopg/connection.py:4952 ms3.4%
Estimated from 33 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
ft/tests.py:14
response = self.client.get(reverse("index"))
TestIndexPage.test_index
· Libraries
|
30 ms |
|
ft/urls.py:45
return render(request, "index.html", {"example_projects": example_projects})
index
· Templates
|
5 ms |
Fixtures
Exact setup time| _unittest_setUpClass_fixture_TestIndexPage class | 9 ms |
| _django_setup_unittest class | 0.27 ms |
| _django_clear_site_cache function | 0.05 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _django_db_marker function | 0.03 ms |
| _dj_autoclear_mailbox function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
6 queries · 2 msNo repeated queries.
Biggest pieces of work
|
call test body
ft/tests.py:14
|
35 ms |
|
setup setUpClass
django/test/testcases.py:1423
|
9 ms |
|
call _pre_setup
django/test/testcases.py:1164
|
2 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
2 ms |
|
setup __init__
__init__:-1
|
1 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 | 48 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 25 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 57 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 38 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 58 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 32 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 50 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 50 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 50 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 54 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 27 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 47 ms | Profile |