CI
github-actions:test
5 runs
Average
36 ms
median 40 ms
max 45 ms
max 45 ms
Phases
Setup 0.77 ms
Call 35 ms
Teardown 0.66 ms
Categories
Database 7 ms
Other (Libraries, Templates, Unsampled, pytest) 29 ms
6 database queries per run
Needs 777 KB of memory (max 792 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 18 minutes ago ·
open run
setup0.86 ms2.1%
call40 ms96.3%
TestDocsPage.test_linked_from_the_siteft/tests.py:74 response = self.client.get(reverse("index"))37 ms89.9%
Client.getdjango/test/client.py:112437 ms89.9%
RequestFactory.getdjango/test/client.py:47537 ms89.9%
RequestFactory.genericdjango/test/client.py:67137 ms89.9%
Client.requestdjango/test/client.py:108237 ms89.9%
ClientHandler.__call__django/test/client.py:17332 ms77.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6232 ms77.0%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10429 ms70.6%
WhiteNoise.add_fileswhitenoise/base.py:10829 ms70.6%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12021 ms51.3%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13121 ms51.3%
WhiteNoise.get_static_filewhitenoise/base.py:20813 ms32.1%
StaticFile.__init__whitenoise/responders.py:735 ms12.8%
StaticFile.get_headerswhitenoise/responders.py:1785 ms12.8%
parsedate<stdlib>/email/_parseaddr.py:1853 ms6.4%
StaticFile.__init__whitenoise/responders.py:773 ms6.4%
StaticFile.get_alternativeswhitenoise/responders.py:2013 ms6.4%
StaticFile.__init__whitenoise/responders.py:723 ms6.4%
StaticFile.get_file_statswhitenoise/responders.py:1613 ms6.4%
WhiteNoise.get_static_filewhitenoise/base.py:2023 ms6.4%
WhiteNoise.get_static_filewhitenoise/base.py:2033 ms6.4%
WhiteNoise.add_cache_headerswhitenoise/base.py:2243 ms6.4%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1763 ms6.4%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1973 ms6.4%
URLMixin.urldebug_toolbar/panels/staticfiles.py:203 ms6.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1158 ms19.3%
scantreewhitenoise/base.py:2628 ms19.3%
scantreewhitenoise/base.py:2628 ms19.3%
scantreewhitenoise/base.py:2625 ms12.8%
scantreewhitenoise/base.py:2625 ms12.8%
scantreewhitenoise/base.py:2625 ms12.8%
scantreewhitenoise/base.py:2605 ms12.8%
scantreewhitenoise/base.py:2643 ms6.4%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1113 ms6.4%
WhiteNoise.add_fileswhitenoise/base.py:1083 ms6.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1203 ms6.4%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1313 ms6.4%
ClientHandler.__call__django/test/client.py:1865 ms12.8%
BaseHandler.get_responsedjango/core/handlers/base.py:1415 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms12.8%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1305 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms12.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms12.8%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1235 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms12.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms12.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms12.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms12.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms12.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms12.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms12.8%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:345 ms12.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms12.8%
BaseHandler._get_responsedjango/core/handlers/base.py:1985 ms12.8%
indexft/urls.py:45 return render(request, "index.html", {"example_projects": example_projects})5 ms12.8%
renderdjango/shortcuts.py:255 ms12.8%
render_to_stringdjango/template/loader.py:625 ms12.8%
Template.renderdjango/template/backends/django.py:1075 ms12.8%
Template.renderdjango/template/base.py:1745 ms12.8%
instrumented_test_renderdjango/test/utils.py:1145 ms12.8%
NodeList.renderdjango/template/base.py:10915 ms12.8%
Node.render_annotateddjango/template/base.py:10525 ms12.8%
ExtendsNode.renderdjango/template/loader_tags.py:1605 ms12.8%
instrumented_test_renderdjango/test/utils.py:1145 ms12.8%
NodeList.renderdjango/template/base.py:10915 ms12.8%
Node.render_annotateddjango/template/base.py:10525 ms12.8%
ExtendsNode.renderdjango/template/loader_tags.py:1605 ms12.8%
instrumented_test_renderdjango/test/utils.py:1145 ms12.8%
NodeList.renderdjango/template/base.py:10915 ms12.8%
Node.render_annotateddjango/template/base.py:10525 ms12.8%
BlockNode.renderdjango/template/loader_tags.py:665 ms12.8%
NodeList.renderdjango/template/base.py:10915 ms12.8%
Node.render_annotateddjango/template/base.py:10525 ms12.8%
BlockNode.renderdjango/template/loader_tags.py:665 ms12.8%
NodeList.renderdjango/template/base.py:10915 ms12.8%
Node.render_annotateddjango/template/base.py:10525 ms12.8%
SimpleNode.renderdjango/template/library.py:3253 ms6.4%
heroicon_miniheroicons/templatetags/heroicons.py:183 ms6.4%
_render_iconheroicons/templatetags/heroicons.py:393 ms6.4%
_render_iconheroicons/__init__.py:633 ms6.4%
tostring<stdlib>/xml/etree/ElementTree.py:11103 ms6.4%
ElementTree.write<stdlib>/xml/etree/ElementTree.py:7493 ms6.4%
_serialize_xml<stdlib>/xml/etree/ElementTree.py:9123 ms6.4%
IfNode.renderdjango/template/defaulttags.py:3323 ms6.4%
QuerySet.__bool__django/db/models/query.py:4043 ms6.4%
QuerySet._fetch_alldjango/db/models/query.py:20003 ms6.4%
ModelIterable.__iter__django/db/models/query.py:953 ms6.4%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16243 ms6.4%
CursorWrapper.executedjango/db/backends/utils.py:793 ms6.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms6.4%
CursorWrapper._executedjango/db/backends/utils.py:1053 ms6.4%
Cursor.executepsycopg/cursor.py:1133 ms6.4%
Connection.waitpsycopg/connection.py:4953 ms6.4%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()3 ms6.4%
TestCase._fixture_teardowndjango/test/testcases.py:14953 ms6.4%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4833 ms6.4%
CursorWrapper.executedjango/db/backends/utils.py:793 ms6.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms6.4%
CursorWrapper._executedjango/db/backends/utils.py:1033 ms6.4%
Cursor.executepsycopg/cursor.py:1133 ms6.4%
Connection.waitpsycopg/connection.py:4953 ms6.4%
Estimated from 16 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
ft/tests.py:74
response = self.client.get(reverse("index"))
TestDocsPage.test_linked_from_the_site
· Libraries
|
32 ms |
|
ft/urls.py:45
return render(request, "index.html", {"example_projects": example_projects})
index
· Templates
|
5 ms |
Fixtures
Exact setup time| _template_string_if_invalid_marker function | 0.05 ms |
| _dj_autoclear_mailbox function | 0.05 ms |
| _django_set_urlconf function | 0.05 ms |
| _django_db_marker function | 0.05 ms |
| _live_server_helper function | 0.05 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.03 ms |
Database
6 queries · 2 msNo repeated queries.
Biggest pieces of work
|
call test body
ft/tests.py:74
|
37 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
3 ms |
| setup pytest internals | 0.86 ms |
Reliability
5 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 5 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 18 minutes ago | CI github-actions:test | passed | 41 ms | Profile |
| 43 minutes ago | CI github-actions:test | passed | 40 ms | Profile |
| 7 hours ago | CI github-actions:test | passed | 45 ms | Profile |
| 7 hours ago | CI github-actions:test | passed | 19 ms | Profile |
| 7 hours ago | CI github-actions:test | passed | 37 ms | Profile |