Tests / apps/guides/tests.py
TestGuidePages::test_linked_from_the_site
First seen 2 weeks, 2 days ago in b3fedae
CI
github-actions:test
1 run
Average
79 ms
median 79 ms
max 79 ms
max 79 ms
Phases
Setup 0.71 ms
Call 78 ms
Teardown 0.15 ms
Categories
Database 2 ms
Other (Templates, Libraries, Unsampled) 77 ms
6 database queries per run
Needs 4 KB of memory (max 4 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 16 hours ago ·
open run
call78 ms98.9%
CallInfo.from_call_pytest/runner.py:35378 ms98.9%
call_and_report.<locals>.<lambda>_pytest/runner.py:24578 ms98.9%
HookCaller.__call__pluggy/_hooks.py:51278 ms98.9%
PluginManager._hookexecpluggy/_manager.py:12078 ms98.9%
_multicallpluggy/_callers.py:12178 ms98.9%
pytest_runtest_call_pytest/runner.py:17978 ms98.9%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:57378 ms98.9%
SimpleTestCase.__call__django/test/testcases.py:31378 ms98.9%
SimpleTestCase._setup_and_calldjango/test/testcases.py:36878 ms98.9%
TestCase.__call__<stdlib>/unittest/case.py:74778 ms98.9%
TestCase.run<stdlib>/unittest/case.py:69178 ms98.9%
TestCase._callTestMethod<stdlib>/unittest/case.py:63778 ms98.9%
TestGuidePages.test_linked_from_the_siteapps/guides/tests.py:106 response = self.client.get(reverse("index"))72 ms91.7%
Client.getdjango/test/client.py:112472 ms91.7%
RequestFactory.getdjango/test/client.py:47572 ms91.7%
RequestFactory.genericdjango/test/client.py:67172 ms91.7%
Client.requestdjango/test/client.py:108272 ms91.7%
ClientHandler.__call__django/test/client.py:18655 ms70.0%
BaseHandler.get_responsedjango/core/handlers/base.py:14155 ms70.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5555 ms70.0%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:13055 ms70.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5555 ms70.0%
MiddlewareMixin.__call__django/utils/deprecation.py:30955 ms70.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5555 ms70.0%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12355 ms70.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5555 ms70.0%
MiddlewareMixin.__call__django/utils/deprecation.py:30955 ms70.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5555 ms70.0%
MiddlewareMixin.__call__django/utils/deprecation.py:30955 ms70.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5555 ms70.0%
MiddlewareMixin.__call__django/utils/deprecation.py:30955 ms70.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5555 ms70.0%
MiddlewareMixin.__call__django/utils/deprecation.py:30955 ms70.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5555 ms70.0%
MiddlewareMixin.__call__django/utils/deprecation.py:30955 ms70.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5555 ms70.0%
MiddlewareMixin.__call__django/utils/deprecation.py:30955 ms70.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5555 ms70.0%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:3455 ms70.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5555 ms70.0%
BaseHandler._get_responsedjango/core/handlers/base.py:19855 ms70.0%
indexft/urls.py:45 return render(request, "index.html", {"example_projects": example_projects})55 ms70.0%
renderdjango/shortcuts.py:2555 ms70.0%
render_to_stringdjango/template/loader.py:6255 ms70.0%
Template.renderdjango/template/backends/django.py:10755 ms70.0%
Template.renderdjango/template/base.py:17455 ms70.0%
instrumented_test_renderdjango/test/utils.py:11455 ms70.0%
NodeList.renderdjango/template/base.py:109155 ms70.0%
Node.render_annotateddjango/template/base.py:105255 ms70.0%
ExtendsNode.renderdjango/template/loader_tags.py:16055 ms70.0%
instrumented_test_renderdjango/test/utils.py:11455 ms70.0%
NodeList.renderdjango/template/base.py:109155 ms70.0%
Node.render_annotateddjango/template/base.py:105255 ms70.0%
ExtendsNode.renderdjango/template/loader_tags.py:16055 ms70.0%
instrumented_test_renderdjango/test/utils.py:11455 ms70.0%
NodeList.renderdjango/template/base.py:109155 ms70.0%
Node.render_annotateddjango/template/base.py:105255 ms70.0%
BlockNode.renderdjango/template/loader_tags.py:6655 ms70.0%
NodeList.renderdjango/template/base.py:109155 ms70.0%
Node.render_annotateddjango/template/base.py:105255 ms70.0%
BlockNode.renderdjango/template/loader_tags.py:6655 ms70.0%
NodeList.renderdjango/template/base.py:109155 ms70.0%
Node.render_annotateddjango/template/base.py:105255 ms70.0%
SimpleNode.renderdjango/template/library.py:32553 ms67.5%
heroicon_outlineheroicons/templatetags/heroicons.py:2347 ms60.3%
_render_iconheroicons/templatetags/heroicons.py:3947 ms60.3%
_render_iconheroicons/__init__.py:4546 ms57.9%
_load_iconheroicons/__init__.py:1846 ms57.9%
ZipFile.__init__<stdlib>/zipfile/__init__.py:150546 ms57.9%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:160615 ms19.3%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15938 ms9.6%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16216 ms7.2%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15996 ms7.2%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16084 ms4.8%
__init____init__:-12 ms2.4%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15982 ms2.4%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15902 ms2.4%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16222 ms2.4%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16292 ms2.4%
keep_lazy.<locals>.decorator.<locals>.wrapperdjango/utils/functional.py:2312 ms2.4%
heroicon_miniheroicons/templatetags/heroicons.py:186 ms7.2%
_render_iconheroicons/templatetags/heroicons.py:396 ms7.2%
_render_iconheroicons/__init__.py:456 ms7.2%
_load_iconheroicons/__init__.py:186 ms7.2%
ZipFile.__init__<stdlib>/zipfile/__init__.py:15056 ms7.2%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15992 ms2.4%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16232 ms2.4%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16082 ms2.4%
IfNode.renderdjango/template/defaulttags.py:3322 ms2.4%
QuerySet.__bool__django/db/models/query.py:4042 ms2.4%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms2.4%
ModelIterable.__iter__django/db/models/query.py:952 ms2.4%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms2.4%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.4%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms2.4%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms2.4%
Cursor.executepsycopg/cursor.py:1132 ms2.4%
Connection.waitpsycopg/connection.py:4952 ms2.4%
ClientHandler.__call__django/test/client.py:17317 ms21.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6217 ms21.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10417 ms21.7%
WhiteNoise.add_fileswhitenoise/base.py:10817 ms21.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12013 ms16.9%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13113 ms16.9%
WhiteNoise.get_static_filewhitenoise/base.py:2089 ms12.1%
StaticFile.__init__whitenoise/responders.py:724 ms4.8%
StaticFile.get_file_statswhitenoise/responders.py:1572 ms2.4%
StaticFile.get_file_statswhitenoise/responders.py:1612 ms2.4%
StaticFile.__init__whitenoise/responders.py:772 ms2.4%
StaticFile.get_alternativeswhitenoise/responders.py:2002 ms2.4%
__init____init__:-12 ms2.4%
Headers.__init__<stdlib>/wsgiref/headers.py:432 ms2.4%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:502 ms2.4%
StaticFile.__init__whitenoise/responders.py:732 ms2.4%
StaticFile.get_headerswhitenoise/responders.py:1672 ms2.4%
StaticFile.__init__whitenoise/responders.py:742 ms2.4%
parsedate<stdlib>/email/_parseaddr.py:1852 ms2.4%
WhiteNoise.get_static_filewhitenoise/base.py:2034 ms4.8%
WhiteNoise.add_cache_headerswhitenoise/base.py:2244 ms4.8%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1764 ms4.8%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1974 ms4.8%
URLMixin.urldebug_toolbar/panels/staticfiles.py:204 ms4.8%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2052 ms2.4%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:1842 ms2.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1154 ms4.8%
scantreewhitenoise/base.py:2642 ms2.4%
TestGuidePages.test_linked_from_the_siteapps/guides/tests.py:108 response = self.client.get(reverse("docs"))6 ms7.2%
Client.getdjango/test/client.py:11246 ms7.2%
RequestFactory.getdjango/test/client.py:4756 ms7.2%
RequestFactory.genericdjango/test/client.py:6716 ms7.2%
Client.requestdjango/test/client.py:10806 ms7.2%
ClientHandler.__call__django/test/client.py:1864 ms4.8%
BaseHandler.get_responsedjango/core/handlers/base.py:1414 ms4.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms4.8%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1304 ms4.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms4.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms4.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms4.8%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1234 ms4.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms4.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms4.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms4.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms4.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms4.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms4.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms4.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms4.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms4.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms4.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms4.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms4.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms4.8%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:344 ms4.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms4.8%
BaseHandler._get_responsedjango/core/handlers/base.py:1984 ms4.8%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._view_wrapperdjango/utils/decorators.py:1904 ms4.8%
vary_on_headers.<locals>.decorator.<locals>._view_wrapperdjango/views/decorators/vary.py:314 ms4.8%
docsft/urls.py:57 return render(request, "docs.html")4 ms4.8%
renderdjango/shortcuts.py:252 ms2.4%
render_to_stringdjango/template/loader.py:612 ms2.4%
get_templatedjango/template/loader.py:152 ms2.4%
DjangoTemplates.get_templatedjango/template/backends/django.py:792 ms2.4%
Engine.get_templatedjango/template/engine.py:1862 ms2.4%
Engine.find_templatedjango/template/engine.py:1592 ms2.4%
Loader.get_templatedjango/template/loaders/cached.py:572 ms2.4%
Loader.get_templatedjango/template/loaders/base.py:282 ms2.4%
__init____init__:-12 ms2.4%
Template.__init__django/template/base.py:1572 ms2.4%
Template.compile_nodelistdjango/template/base.py:1992 ms2.4%
Parser.parsedjango/template/base.py:5832 ms2.4%
do_extendsdjango/template/loader_tags.py:3072 ms2.4%
Parser.parsedjango/template/base.py:5832 ms2.4%
do_blockdjango/template/loader_tags.py:2352 ms2.4%
Parser.parsedjango/template/base.py:5832 ms2.4%
urldjango/template/defaulttags.py:15762 ms2.4%
Parser.compile_filterdjango/template/base.py:6762 ms2.4%
__init____init__:-12 ms2.4%
FilterExpression.__init__django/template/base.py:7552 ms2.4%
renderdjango/shortcuts.py:262 ms2.4%
HttpResponse.__init__django/http/response.py:3822 ms2.4%
HttpResponse.contentdjango/http/response.py:4142 ms2.4%
HttpResponseBase.make_bytesdjango/http/response.py:3222 ms2.4%
Signal.connectdjango/dispatch/dispatcher.py:1102 ms2.4%
Estimated from 41 samples; phase durations are exact. Frames from pytest and pluggy are
shown
.
Hot lines in your code
|
ft/urls.py:45
return render(request, "index.html", {"example_projects": example_projects})
index
· Templates
|
55 ms |
|
apps/guides/tests.py:106
response = self.client.get(reverse("index"))
TestGuidePages.test_linked_from_the_site
· Libraries
|
17 ms |
|
ft/urls.py:57
return render(request, "docs.html")
docs
· Templates
|
4 ms |
|
apps/guides/tests.py:108
response = self.client.get(reverse("docs"))
TestGuidePages.test_linked_from_the_site
· Libraries
|
2 ms |
Fixtures
Exact setup time| _django_set_urlconf function | 0.06 ms |
| _dj_autoclear_mailbox function | 0.05 ms |
| _django_db_marker function | 0.04 ms |
| _live_server_helper function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
6 queries · 2 msNo repeated queries.
Biggest pieces of work
|
call test body
apps/guides/tests.py:106
|
78 ms |
Reliability
6 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 6 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 16 hours ago | CI github-actions:test | passed | 79 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 42 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 85 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 63 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 77 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 49 ms | Profile |