Tests / ft/tests.py
TestDocsPage::test_linked_from_the_site
First seen 1 month, 1 week ago in 78a4357
CI
github-actions:test
15 runs
Average
35 ms
median 37 ms
max 63 ms
max 63 ms
Phases
Setup 0.68 ms
Call 33 ms
Teardown 1 ms
Categories
Database 5 ms
Other (Libraries, Unsampled, Templates, pytest) 31 ms
6 database queries per run
Needs 314 KB of memory (max 792 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
call27 ms96.0%
TestDocsPage.test_linked_from_the_siteft/tests.py:81 response = self.client.get(reverse("index"))27 ms96.0%
Client.getdjango/test/client.py:112427 ms96.0%
RequestFactory.getdjango/test/client.py:47527 ms96.0%
RequestFactory.genericdjango/test/client.py:67127 ms96.0%
Client.requestdjango/test/client.py:108227 ms96.0%
ClientHandler.__call__django/test/client.py:17322 ms78.5%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6222 ms78.5%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10422 ms78.5%
WhiteNoise.add_fileswhitenoise/base.py:10822 ms78.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12017 ms61.1%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13117 ms61.1%
WhiteNoise.get_static_filewhitenoise/base.py:20812 ms43.6%
StaticFile.__init__whitenoise/responders.py:725 ms17.4%
StaticFile.__init__whitenoise/responders.py:775 ms17.4%
StaticFile.get_alternativeswhitenoise/responders.py:1982 ms8.7%
<GC>~2 ms8.7%
StaticFile.get_alternativeswhitenoise/responders.py:2002 ms8.7%
StaticFile.__init__whitenoise/responders.py:732 ms8.7%
StaticFile.get_headerswhitenoise/responders.py:1782 ms8.7%
WhiteNoise.get_static_filewhitenoise/base.py:2032 ms8.7%
WhiteNoise.add_cache_headerswhitenoise/base.py:2242 ms8.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1155 ms17.4%
scantreewhitenoise/base.py:2625 ms17.4%
scantreewhitenoise/base.py:2625 ms17.4%
scantreewhitenoise/base.py:2602 ms8.7%
scantreewhitenoise/base.py:2642 ms8.7%
ClientHandler.__call__django/test/client.py:1865 ms17.4%
BaseHandler.get_responsedjango/core/handlers/base.py:1415 ms17.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms17.4%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1305 ms17.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms17.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms17.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms17.4%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1235 ms17.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms17.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms17.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms17.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms17.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms17.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms17.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms17.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms17.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms17.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms17.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms17.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3095 ms17.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms17.4%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:345 ms17.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:555 ms17.4%
BaseHandler._get_responsedjango/core/handlers/base.py:1985 ms17.4%
indexft/urls.py:44 example_projects = Project.objects.filter(public=True).select_related("organization")2 ms8.7%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms8.7%
QuerySet.filterdjango/db/models/query.py:15422 ms8.7%
QuerySet._filter_or_excludedjango/db/models/query.py:15602 ms8.7%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:15702 ms8.7%
Query.add_qdjango/db/models/sql/query.py:16712 ms8.7%
Query._add_qdjango/db/models/sql/query.py:17142 ms8.7%
JoinPromoter.add_votesdjango/db/models/sql/query.py:27862 ms8.7%
indexft/urls.py:45 return render(request, "index.html", {"example_projects": example_projects})2 ms8.7%
renderdjango/shortcuts.py:252 ms8.7%
render_to_stringdjango/template/loader.py:622 ms8.7%
Template.renderdjango/template/backends/django.py:1072 ms8.7%
Template.renderdjango/template/base.py:1742 ms8.7%
instrumented_test_renderdjango/test/utils.py:1142 ms8.7%
NodeList.renderdjango/template/base.py:10912 ms8.7%
Node.render_annotateddjango/template/base.py:10522 ms8.7%
ExtendsNode.renderdjango/template/loader_tags.py:1602 ms8.7%
instrumented_test_renderdjango/test/utils.py:1142 ms8.7%
NodeList.renderdjango/template/base.py:10912 ms8.7%
Node.render_annotateddjango/template/base.py:10522 ms8.7%
ExtendsNode.renderdjango/template/loader_tags.py:1602 ms8.7%
instrumented_test_renderdjango/test/utils.py:1142 ms8.7%
NodeList.renderdjango/template/base.py:10912 ms8.7%
Node.render_annotateddjango/template/base.py:10522 ms8.7%
BlockNode.renderdjango/template/loader_tags.py:662 ms8.7%
NodeList.renderdjango/template/base.py:10912 ms8.7%
Node.render_annotateddjango/template/base.py:10522 ms8.7%
BlockNode.renderdjango/template/loader_tags.py:662 ms8.7%
NodeList.renderdjango/template/base.py:10912 ms8.7%
Node.render_annotateddjango/template/base.py:10522 ms8.7%
StaticNode.renderdjango/templatetags/static.py:1162 ms8.7%
StaticNode.urldjango/templatetags/static.py:1132 ms8.7%
StaticNode.handle_simpledjango/templatetags/static.py:1292 ms8.7%
teardown0.58 ms2.1%
TestCase.tearDownClassdjango/test/testcases.py:1453 cls._rollback_atomics(cls.cls_atomics)0.58 ms2.1%
TestCase._rollback_atomicsdjango/test/testcases.py:14050.58 ms2.1%
Atomic.__exit__django/db/transaction.py:2950.58 ms2.1%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:260.58 ms2.1%
BaseDatabaseWrapper.rollbackdjango/db/backends/base/base.py:3370.58 ms2.1%
BaseDatabaseWrapper._rollbackdjango/db/backends/base/base.py:3080.58 ms2.1%
Connection.rollbackpsycopg/connection.py:3140.58 ms2.1%
Connection.waitpsycopg/connection.py:4950.58 ms2.1%
Estimated from 12 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
ft/tests.py:81
response = self.client.get(reverse("index"))
TestDocsPage.test_linked_from_the_site
· Libraries
|
22 ms |
|
ft/urls.py:44
example_projects = Project.objects.filter(public=True).select_related("organization")
index
· Database
|
2 ms |
|
ft/urls.py:45
return render(request, "index.html", {"example_projects": example_projects})
index
· Templates
|
2 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.05 ms |
| _django_db_marker function | 0.03 ms |
| _template_string_if_invalid_marker 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.01 ms |
Database
6 queries · 0.84 msNo repeated queries.
Biggest pieces of work
|
call test body
ft/tests.py:81
|
27 ms |
|
teardown tearDownClass
django/test/testcases.py:1453
|
0.58 ms |
Reliability
15 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 15 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 2 weeks ago | CI github-actions:test | passed | 28 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 37 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 23 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 34 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 20 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 42 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 34 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 63 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 26 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 42 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 41 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 40 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 45 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 19 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 37 ms | Profile |