CI
github-actions:test
5 runs
Average
46 ms
median 50 ms
max 54 ms
max 54 ms
Phases
Setup 10 ms
Call 36 ms
Teardown 0.15 ms
Categories
Database 16 ms
Other (Libraries, Templates, pytest, Unsampled) 30 ms
6 database queries per run
Needs 276 KB of memory (max 468 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 45 minutes ago ·
open run
setup10 ms20.5%
TestCase.setUpClassdjango/test/testcases.py:1423 cls.cls_atomics = cls._enter_atomics()10 ms20.5%
TestCase._enter_atomicsdjango/test/testcases.py:139610 ms20.5%
Atomic.__enter__django/db/transaction.py:19810 ms20.5%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:45410 ms20.5%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:30310 ms20.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2610 ms20.5%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27910 ms20.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2610 ms20.5%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:25610 ms20.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2610 ms20.5%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:33310 ms20.5%
Connection.connectpsycopg/connection.py:10910 ms20.5%
wait_connpsycopg/waiting.py:1416 ms11.7%
EpollSelector.select<stdlib>/selectors.py:4526 ms11.7%
wait_connpsycopg/waiting.py:1454 ms8.8%
BaseConnection._connect_genpsycopg/_connection_base.py:4394 ms8.8%
call40 ms79.1%
TestIndexPage.test_indexft/tests.py:14 response = self.client.get(reverse("index"))35 ms69.8%
Client.getdjango/test/client.py:112435 ms69.8%
RequestFactory.getdjango/test/client.py:47535 ms69.8%
RequestFactory.genericdjango/test/client.py:67135 ms69.8%
Client.requestdjango/test/client.py:108235 ms69.8%
ClientHandler.__call__django/test/client.py:17328 ms55.9%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6228 ms55.9%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10428 ms55.9%
WhiteNoise.add_fileswhitenoise/base.py:10828 ms55.9%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12019 ms37.2%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13119 ms37.2%
WhiteNoise.get_static_filewhitenoise/base.py:2089 ms18.6%
StaticFile.__init__whitenoise/responders.py:732 ms4.7%
StaticFile.get_headerswhitenoise/responders.py:1672 ms4.7%
StaticFile.__init__whitenoise/responders.py:722 ms4.7%
StaticFile.__init__whitenoise/responders.py:772 ms4.7%
StaticFile.get_alternativeswhitenoise/responders.py:2012 ms4.7%
WhiteNoise.get_static_filewhitenoise/base.py:2037 ms14.0%
WhiteNoise.add_cache_headerswhitenoise/base.py:2247 ms14.0%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1767 ms14.0%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1977 ms14.0%
URLMixin.urldebug_toolbar/panels/staticfiles.py:205 ms9.3%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2052 ms4.7%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:1862 ms4.7%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2092 ms4.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1159 ms18.6%
scantreewhitenoise/base.py:2629 ms18.6%
scantreewhitenoise/base.py:2629 ms18.6%
scantreewhitenoise/base.py:2627 ms14.0%
scantreewhitenoise/base.py:2627 ms14.0%
scantreewhitenoise/base.py:2645 ms9.3%
scantreewhitenoise/base.py:2622 ms4.7%
scantreewhitenoise/base.py:2642 ms4.7%
<GC>~2 ms4.7%
scantreewhitenoise/base.py:2602 ms4.7%
ClientHandler.__call__django/test/client.py:1867 ms14.0%
BaseHandler.get_responsedjango/core/handlers/base.py:1417 ms14.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:557 ms14.0%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1307 ms14.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:557 ms14.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3097 ms14.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:557 ms14.0%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1237 ms14.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:557 ms14.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3097 ms14.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:557 ms14.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3097 ms14.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:557 ms14.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3097 ms14.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:557 ms14.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3097 ms14.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:557 ms14.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3097 ms14.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:557 ms14.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3097 ms14.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:557 ms14.0%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:347 ms14.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:557 ms14.0%
BaseHandler._get_responsedjango/core/handlers/base.py:1987 ms14.0%
indexft/urls.py:45 return render(request, "index.html", {"example_projects": example_projects})7 ms14.0%
renderdjango/shortcuts.py:257 ms14.0%
render_to_stringdjango/template/loader.py:627 ms14.0%
Template.renderdjango/template/backends/django.py:1077 ms14.0%
Template.renderdjango/template/base.py:1747 ms14.0%
instrumented_test_renderdjango/test/utils.py:1147 ms14.0%
NodeList.renderdjango/template/base.py:10917 ms14.0%
Node.render_annotateddjango/template/base.py:10527 ms14.0%
ExtendsNode.renderdjango/template/loader_tags.py:1607 ms14.0%
instrumented_test_renderdjango/test/utils.py:1147 ms14.0%
NodeList.renderdjango/template/base.py:10917 ms14.0%
Node.render_annotateddjango/template/base.py:10527 ms14.0%
ExtendsNode.renderdjango/template/loader_tags.py:1607 ms14.0%
instrumented_test_renderdjango/test/utils.py:1147 ms14.0%
NodeList.renderdjango/template/base.py:10917 ms14.0%
Node.render_annotateddjango/template/base.py:10527 ms14.0%
BlockNode.renderdjango/template/loader_tags.py:667 ms14.0%
NodeList.renderdjango/template/base.py:10917 ms14.0%
Node.render_annotateddjango/template/base.py:10525 ms9.3%
BlockNode.renderdjango/template/loader_tags.py:665 ms9.3%
NodeList.renderdjango/template/base.py:10915 ms9.3%
Node.render_annotateddjango/template/base.py:10525 ms9.3%
IfNode.renderdjango/template/defaulttags.py:3325 ms9.3%
QuerySet.__bool__django/db/models/query.py:4045 ms9.3%
QuerySet._fetch_alldjango/db/models/query.py:20005 ms9.3%
ModelIterable.__iter__django/db/models/query.py:955 ms9.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16112 ms4.7%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7672 ms4.7%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:862 ms4.7%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:752 ms4.7%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:2552 ms4.7%
SQLCompiler.get_default_columnsdjango/db/models/sql/compiler.py:10302 ms4.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms4.7%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.7%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms4.7%
Cursor.executepsycopg/cursor.py:1132 ms4.7%
Connection.waitpsycopg/connection.py:4952 ms4.7%
TransactionTestCase._pre_setupdjango/test/testcases.py:1179 connections[db_name].queries_log.clear()2 ms4.7%
BaseConnectionHandler.__getitem__django/utils/connection.py:582 ms4.7%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()2 ms4.7%
TestCase._fixture_teardowndjango/test/testcases.py:14972 ms4.7%
TestCase._rollback_atomicsdjango/test/testcases.py:14052 ms4.7%
Atomic.__exit__django/db/transaction.py:2862 ms4.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms4.7%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4312 ms4.7%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3742 ms4.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms4.7%
Estimated from 24 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
|
28 ms |
|
ft/urls.py:45
return render(request, "index.html", {"example_projects": example_projects})
index
· Database
|
7 ms |
Fixtures
Exact setup time| _unittest_setUpClass_fixture_TestIndexPage class | 9 ms |
| _django_setup_unittest class | 0.30 ms |
| _django_db_marker function | 0.06 ms |
| _django_set_urlconf function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _dj_autoclear_mailbox function | 0.04 ms |
| _live_server_helper function | 0.03 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
6 queries · 3 msNo repeated queries.
Biggest pieces of work
|
call test body
ft/tests.py:14
|
35 ms |
|
setup setUpClass
django/test/testcases.py:1423
|
10 ms |
|
call _pre_setup
django/test/testcases.py:1179
|
2 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
2 ms |
Reliability
5 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 50 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 45 minutes ago | CI github-actions:test | passed | 50 ms | Profile |
| an hour ago | CI github-actions:test | passed | 50 ms | Profile |
| 7 hours ago | CI github-actions:test | passed | 54 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 27 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 47 ms | Profile |
| 2 years ago | CI github-actions | passed | 108 ms | Run |
| 2 years, 2 months ago | CI github-actions | passed | 100 ms | Run |
| 2 years, 3 months ago | CI github-actions | passed | 105 ms | Run |
| 2 years, 4 months ago | CI github-actions | passed | 192 ms | Run |
| 2 years, 4 months ago | CI github-actions | passed | 111 ms | Run |
| 2 years, 4 months ago | CI github-actions | passed | 106 ms | Run |
| 2 years, 4 months ago | CI github-actions | passed | 190 ms | Run |
| 2 years, 5 months ago | CI github-actions | passed | 101 ms | Run |
| 2 years, 5 months ago | CI github-actions | passed | 97 ms | Run |
| 2 years, 5 months ago | CI github-actions | passed | 98 ms | Run |
| 2 years, 5 months ago | CI github-actions | passed | 97 ms | Run |
| 2 years, 5 months ago | CI github-actions | passed | 99 ms | Run |
| 2 years, 6 months ago | CI github-actions | passed | 101 ms | Run |
| 2 years, 6 months ago | CI github-actions | passed | 100 ms | Run |
| 2 years, 6 months ago | CI github-actions | passed | 97 ms | Run |