Tests / apps/guides/tests.py
TestGuidePages::test_linked_from_the_site
First seen 1 month ago in b3fedae
CI
github-actions:test
9 runs
Average
64 ms
median 63 ms
max 92 ms
max 92 ms
Phases
Setup 0.59 ms
Call 63 ms
Teardown 0.15 ms
Categories
Database 4 ms
Other (Templates, Libraries, Unsampled, pytest, ...) 60 ms
6 database queries per run
Needs 84 KB of memory (max 608 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
call48 ms98.6%
TestGuidePages.test_linked_from_the_siteapps/guides/tests.py:109 response = self.client.get(reverse("index"))41 ms85.7%
Client.getdjango/test/client.py:112441 ms85.7%
RequestFactory.getdjango/test/client.py:47541 ms85.7%
RequestFactory.genericdjango/test/client.py:67141 ms85.7%
Client.requestdjango/test/client.py:108241 ms85.7%
ClientHandler.__call__django/test/client.py:18633 ms68.6%
BaseHandler.get_responsedjango/core/handlers/base.py:14133 ms68.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5533 ms68.6%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:13033 ms68.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5533 ms68.6%
MiddlewareMixin.__call__django/utils/deprecation.py:30933 ms68.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5533 ms68.6%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12333 ms68.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5533 ms68.6%
MiddlewareMixin.__call__django/utils/deprecation.py:30933 ms68.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5533 ms68.6%
MiddlewareMixin.__call__django/utils/deprecation.py:30931 ms64.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5531 ms64.3%
MiddlewareMixin.__call__django/utils/deprecation.py:30931 ms64.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5531 ms64.3%
MiddlewareMixin.__call__django/utils/deprecation.py:30931 ms64.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5531 ms64.3%
MiddlewareMixin.__call__django/utils/deprecation.py:30931 ms64.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5531 ms64.3%
MiddlewareMixin.__call__django/utils/deprecation.py:30931 ms64.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5531 ms64.3%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:3431 ms64.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5531 ms64.3%
BaseHandler._get_responsedjango/core/handlers/base.py:19831 ms64.3%
indexft/urls.py:45 return render(request, "index.html", {"example_projects": example_projects})31 ms64.3%
renderdjango/shortcuts.py:2531 ms64.3%
render_to_stringdjango/template/loader.py:6231 ms64.3%
Template.renderdjango/template/backends/django.py:10731 ms64.3%
Template.renderdjango/template/base.py:17431 ms64.3%
instrumented_test_renderdjango/test/utils.py:11431 ms64.3%
NodeList.renderdjango/template/base.py:109131 ms64.3%
Node.render_annotateddjango/template/base.py:105231 ms64.3%
ExtendsNode.renderdjango/template/loader_tags.py:16031 ms64.3%
instrumented_test_renderdjango/test/utils.py:11431 ms64.3%
NodeList.renderdjango/template/base.py:109131 ms64.3%
Node.render_annotateddjango/template/base.py:105231 ms64.3%
ExtendsNode.renderdjango/template/loader_tags.py:16031 ms64.3%
instrumented_test_renderdjango/test/utils.py:11431 ms64.3%
NodeList.renderdjango/template/base.py:109131 ms64.3%
Node.render_annotateddjango/template/base.py:105231 ms64.3%
BlockNode.renderdjango/template/loader_tags.py:6631 ms64.3%
NodeList.renderdjango/template/base.py:109131 ms64.3%
Node.render_annotateddjango/template/base.py:105231 ms64.3%
BlockNode.renderdjango/template/loader_tags.py:6629 ms60.0%
NodeList.renderdjango/template/base.py:109129 ms60.0%
Node.render_annotateddjango/template/base.py:105229 ms60.0%
SimpleNode.renderdjango/template/library.py:32527 ms55.7%
heroicon_outlineheroicons/templatetags/heroicons.py:2321 ms42.9%
_render_iconheroicons/templatetags/heroicons.py:3921 ms42.9%
_render_iconheroicons/__init__.py:4521 ms42.9%
_load_iconheroicons/__init__.py:1821 ms42.9%
ZipFile.__init__<stdlib>/zipfile/__init__.py:150521 ms42.9%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16066 ms12.9%
Codec.decode<stdlib>/encodings/cp437.py:142 ms4.3%
<GC>~2 ms4.3%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16234 ms8.6%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16152 ms4.3%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15902 ms4.3%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16082 ms4.3%
__init____init__:-12 ms4.3%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15932 ms4.3%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16292 ms4.3%
heroicon_miniheroicons/templatetags/heroicons.py:186 ms12.9%
_render_iconheroicons/templatetags/heroicons.py:396 ms12.9%
_render_iconheroicons/__init__.py:456 ms12.9%
_load_iconheroicons/__init__.py:184 ms8.6%
ZipFile.__init__<stdlib>/zipfile/__init__.py:15054 ms8.6%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16082 ms4.3%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15992 ms4.3%
_load_iconheroicons/__init__.py:262 ms4.3%
XML<stdlib>/xml/etree/ElementTree.py:13692 ms4.3%
IfNode.renderdjango/template/defaulttags.py:3322 ms4.3%
QuerySet.__bool__django/db/models/query.py:4042 ms4.3%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms4.3%
ModelIterable.__iter__django/db/models/query.py:952 ms4.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms4.3%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.3%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms4.3%
Cursor.executepsycopg/cursor.py:1132 ms4.3%
Connection.waitpsycopg/connection.py:4952 ms4.3%
URLNode.renderdjango/template/defaulttags.py:5112 ms4.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3082 ms4.3%
ClientHandler.__call__django/test/client.py:1738 ms17.1%
BaseHandler.load_middlewaredjango/core/handlers/base.py:628 ms17.1%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1048 ms17.1%
WhiteNoise.add_fileswhitenoise/base.py:1088 ms17.1%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1208 ms17.1%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1318 ms17.1%
WhiteNoise.get_static_filewhitenoise/base.py:2088 ms17.1%
StaticFile.__init__whitenoise/responders.py:732 ms4.3%
StaticFile.get_headerswhitenoise/responders.py:1822 ms4.3%
StaticFile.__init__whitenoise/responders.py:772 ms4.3%
StaticFile.get_alternativeswhitenoise/responders.py:2032 ms4.3%
StaticFile.__init__whitenoise/responders.py:742 ms4.3%
parsedate<stdlib>/email/_parseaddr.py:1852 ms4.3%
TestGuidePages.test_linked_from_the_siteapps/guides/tests.py:111 response = self.client.get(reverse("docs"))4 ms8.6%
Client.getdjango/test/client.py:11244 ms8.6%
RequestFactory.getdjango/test/client.py:4754 ms8.6%
RequestFactory.genericdjango/test/client.py:6714 ms8.6%
Client.requestdjango/test/client.py:10824 ms8.6%
ClientHandler.__call__django/test/client.py:1864 ms8.6%
BaseHandler.get_responsedjango/core/handlers/base.py:1414 ms8.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms8.6%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1304 ms8.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms8.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms8.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms8.6%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1234 ms8.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms8.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms8.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms8.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms8.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms8.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms8.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms8.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms8.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms8.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms8.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms8.6%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms8.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms8.6%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:344 ms8.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms8.6%
BaseHandler._get_responsedjango/core/handlers/base.py:1984 ms8.6%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._view_wrapperdjango/utils/decorators.py:1902 ms4.3%
vary_on_headers.<locals>.decorator.<locals>._view_wrapperdjango/views/decorators/vary.py:312 ms4.3%
docsft/urls.py:57 return render(request, "docs.html")2 ms4.3%
renderdjango/shortcuts.py:252 ms4.3%
render_to_stringdjango/template/loader.py:622 ms4.3%
Template.renderdjango/template/backends/django.py:1072 ms4.3%
Template.renderdjango/template/base.py:1742 ms4.3%
instrumented_test_renderdjango/test/utils.py:1142 ms4.3%
NodeList.renderdjango/template/base.py:10912 ms4.3%
Node.render_annotateddjango/template/base.py:10522 ms4.3%
ExtendsNode.renderdjango/template/loader_tags.py:1602 ms4.3%
instrumented_test_renderdjango/test/utils.py:1142 ms4.3%
NodeList.renderdjango/template/base.py:10912 ms4.3%
Node.render_annotateddjango/template/base.py:10522 ms4.3%
ExtendsNode.renderdjango/template/loader_tags.py:1602 ms4.3%
instrumented_test_renderdjango/test/utils.py:1142 ms4.3%
NodeList.renderdjango/template/base.py:10912 ms4.3%
Node.render_annotateddjango/template/base.py:10522 ms4.3%
BlockNode.renderdjango/template/loader_tags.py:662 ms4.3%
NodeList.renderdjango/template/base.py:10912 ms4.3%
Node.render_annotateddjango/template/base.py:10522 ms4.3%
IncludeNode.renderdjango/template/loader_tags.py:2112 ms4.3%
Template.renderdjango/template/base.py:1762 ms4.3%
instrumented_test_renderdjango/test/utils.py:1132 ms4.3%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._view_wrapperdjango/utils/decorators.py:1962 ms4.3%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._post_process_requestdjango/utils/decorators.py:1632 ms4.3%
UpdateCacheMiddleware.process_responsedjango/middleware/cache.py:1302 ms4.3%
learn_cache_keydjango/utils/cache.py:4172 ms4.3%
_generate_cache_header_keydjango/utils/cache.py:3702 ms4.3%
HttpRequest.build_absolute_uridjango/http/request.py:2952 ms4.3%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()2 ms4.3%
TestCase._fixture_teardowndjango/test/testcases.py:14972 ms4.3%
TestCase._rollback_atomicsdjango/test/testcases.py:14052 ms4.3%
Atomic.__exit__django/db/transaction.py:2862 ms4.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms4.3%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4312 ms4.3%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3752 ms4.3%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.3%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms4.3%
Cursor.executepsycopg/cursor.py:1132 ms4.3%
Connection.waitpsycopg/connection.py:4952 ms4.3%
Estimated from 23 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
ft/urls.py:45
return render(request, "index.html", {"example_projects": example_projects})
index
· Templates
|
31 ms |
|
apps/guides/tests.py:109
response = self.client.get(reverse("index"))
TestGuidePages.test_linked_from_the_site
· Libraries
|
10 ms |
|
ft/urls.py:57
return render(request, "docs.html")
docs
· Templates
|
2 ms |
|
apps/guides/tests.py:111
response = self.client.get(reverse("docs"))
TestGuidePages.test_linked_from_the_site
· Libraries
|
2 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.04 ms |
| _django_db_marker function | 0.03 ms |
| _template_string_if_invalid_marker function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.02 ms |
Database
6 queries · 2 msNo repeated queries.
Biggest pieces of work
|
call test body
apps/guides/tests.py:109
|
46 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
2 ms |
Reliability
9 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 9 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 2 weeks ago | CI github-actions:test | passed | 48 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 92 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 38 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 79 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 42 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 85 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 63 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 77 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 49 ms | Profile |