Tests / accounts/tests.py
TestAccountIndexRobots::test_pagination_is_noindex
First seen 3 weeks ago in 0c23747
CI
github-actions:test
11 runs
Average
133 ms
median 100 ms
max 215 ms
max 215 ms
Phases
Setup 1 ms
Call 131 ms
Teardown 0.36 ms
Categories
Database 22 ms
App code 0.09 ms
Other (Libraries, Templates, pytest, Unsampled, ...) 111 ms
8 database queries per run
Needs 8 KB of memory (max 52 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 7 hours ago ·
open run
call98 ms98.4%
TestAccountIndexRobots.test_pagination_is_noindexaccounts/tests.py:592 self.assert_noindex("/python/?page=2")97 ms97.2%
TestAccountIndexRobots.assert_noindexaccounts/tests.py:550 response = self.client.get(url)97 ms97.2%
Client.getdjango/test/client.py:113397 ms97.2%
RequestFactory.getdjango/test/client.py:47597 ms97.2%
RequestFactory.genericdjango/test/client.py:67197 ms97.2%
Client.requestdjango/test/client.py:109197 ms97.2%
ClientHandler.__call__django/test/client.py:18658 ms58.3%
BaseHandler.get_responsedjango/core/handlers/base.py:14258 ms58.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5658 ms58.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38058 ms58.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5658 ms58.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38058 ms58.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5658 ms58.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38058 ms58.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5658 ms58.3%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12358 ms58.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5658 ms58.3%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14558 ms58.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5658 ms58.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38058 ms58.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5658 ms58.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38058 ms58.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5658 ms58.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38058 ms58.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5658 ms58.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38058 ms58.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5658 ms58.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38058 ms58.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5658 ms58.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38058 ms58.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5658 ms58.3%
MiddlewareMixin.__call__django/utils/deprecation.py:38058 ms58.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5658 ms58.3%
BaseHandler._get_responsedjango/core/handlers/base.py:19958 ms58.3%
indexaccounts/views.py:425 return render(57 ms57.1%
renderdjango/shortcuts.py:2757 ms57.1%
render_to_stringdjango/template/loader.py:6257 ms57.1%
Template.renderdjango/template/backends/django.py:10757 ms57.1%
Template.renderdjango/template/base.py:17557 ms57.1%
instrumented_test_renderdjango/test/utils.py:11357 ms57.1%
NodeList.renderdjango/template/base.py:110857 ms57.1%
Node.render_annotateddjango/template/base.py:106957 ms57.1%
ExtendsNode.renderdjango/template/loader_tags.py:16056 ms55.9%
instrumented_test_renderdjango/test/utils.py:11356 ms55.9%
NodeList.renderdjango/template/base.py:110856 ms55.9%
Node.render_annotateddjango/template/base.py:106956 ms55.9%
BlockNode.renderdjango/template/loader_tags.py:6648 ms48.6%
NodeList.renderdjango/template/base.py:110848 ms48.6%
Node.render_annotateddjango/template/base.py:106946 ms46.2%
ForNode.renderdjango/template/defaulttags.py:24930 ms30.4%
Node.render_annotateddjango/template/base.py:106927 ms26.7%
IfNode.renderdjango/template/defaulttags.py:32610 ms9.7%
infix.<locals>.Operator.evaldjango/template/smartif.py:6110 ms9.7%
<lambda>django/template/smartif.py:1068 ms8.5%
TemplateLiteral.evaldjango/template/defaulttags.py:9188 ms8.5%
FilterExpression.resolvedjango/template/base.py:8068 ms8.5%
Variable.resolvedjango/template/base.py:9457 ms7.3%
Variable._resolve_lookupdjango/template/base.py:9964 ms3.6%
Variable._resolve_lookupdjango/template/base.py:9992 ms2.4%
Variable._resolve_lookupdjango/template/base.py:-11 ms1.2%
<lambda>django/template/smartif.py:1071 ms1.2%
TemplateLiteral.evaldjango/template/defaulttags.py:9181 ms1.2%
FilterExpression.resolvedjango/template/base.py:8061 ms1.2%
Variable.resolvedjango/template/base.py:9451 ms1.2%
Variable._resolve_lookupdjango/template/base.py:10061 ms1.2%
StaticNode.renderdjango/templatetags/static.py:1166 ms6.1%
StaticNode.urldjango/templatetags/static.py:1136 ms6.1%
StaticNode.handle_simpledjango/templatetags/static.py:1296 ms6.1%
URLMixin.urldebug_toolbar/panels/staticfiles.py:205 ms4.9%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2355 ms4.9%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2082 ms2.4%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2141 ms1.2%
IfNode.renderdjango/template/defaulttags.py:3334 ms3.6%
NodeList.renderdjango/template/base.py:11084 ms3.6%
Node.render_annotateddjango/template/base.py:10694 ms3.6%
URLNode.renderdjango/template/defaulttags.py:5114 ms3.6%
reversedjango/urls/base.py:981 ms1.2%
SimpleNode.renderdjango/template/library.py:3432 ms2.4%
querystringdjango/template/defaulttags.py:13481 ms1.2%
QueryDict.urlencodedjango/http/request.py:7441 ms1.2%
querystringdjango/template/defaulttags.py:13341 ms1.2%
MultiValueDict.listsdjango/utils/datastructures.py:1891 ms1.2%
VariableNode.renderdjango/template/base.py:11732 ms2.4%
render_value_in_contextdjango/template/base.py:11472 ms2.4%
localizedjango/utils/formats.py:2082 ms2.4%
number_formatdjango/utils/formats.py:1811 ms1.2%
get_languagedjango/utils/translation/__init__.py:2111 ms1.2%
get_languagedjango/utils/translation/trans_real.py:3291 ms1.2%
number_formatdjango/utils/formats.py:1821 ms1.2%
SimpleNode.renderdjango/template/library.py:3481 ms1.2%
conditional_escapedjango/utils/html.py:1321 ms1.2%
QueryDict.urlencodedjango/http/request.py:7441 ms1.2%
VariableNode.renderdjango/template/base.py:11671 ms1.2%
TextNode.render_annotateddjango/template/base.py:11301 ms1.2%
FilterExpression.resolvedjango/template/base.py:8061 ms1.2%
IfNode.renderdjango/template/defaulttags.py:33312 ms12.2%
NodeList.renderdjango/template/base.py:110812 ms12.2%
Node.render_annotateddjango/template/base.py:106912 ms12.2%
SimpleNode.renderdjango/template/library.py:34312 ms12.2%
heroicon_outlineheroicons/templatetags/heroicons.py:2312 ms12.2%
_render_iconheroicons/templatetags/heroicons.py:4112 ms12.2%
_render_iconheroicons/__init__.py:4712 ms12.2%
deepcopy<stdlib>/copy.py:13712 ms12.2%
deepcopy<stdlib>/copy.py:14512 ms12.2%
ForNode.renderdjango/template/defaulttags.py:2561 ms1.2%
SimpleNode.renderdjango/template/library.py:3431 ms1.2%
heroicon_outlineheroicons/templatetags/heroicons.py:231 ms1.2%
_render_iconheroicons/templatetags/heroicons.py:411 ms1.2%
_render_iconheroicons/__init__.py:651 ms1.2%
tostring<stdlib>/xml/etree/ElementTree.py:11061 ms1.2%
ElementTree.write<stdlib>/xml/etree/ElementTree.py:7451 ms1.2%
_serialize_xml<stdlib>/xml/etree/ElementTree.py:8751 ms1.2%
IfNode.renderdjango/template/defaulttags.py:3261 ms1.2%
infix.<locals>.Operator.evaldjango/template/smartif.py:611 ms1.2%
<lambda>django/template/smartif.py:1061 ms1.2%
TemplateLiteral.evaldjango/template/defaulttags.py:9181 ms1.2%
FilterExpression.resolvedjango/template/base.py:8061 ms1.2%
Variable.resolvedjango/template/base.py:9451 ms1.2%
IfNode.renderdjango/template/defaulttags.py:3332 ms2.4%
NodeList.renderdjango/template/base.py:11082 ms2.4%
Node.render_annotateddjango/template/base.py:10692 ms2.4%
VariableNode.renderdjango/template/base.py:11672 ms2.4%
FilterExpression.resolvedjango/template/base.py:8331 ms1.2%
FilterExpression.resolvedjango/template/base.py:8061 ms1.2%
Variable.resolvedjango/template/base.py:9451 ms1.2%
Variable._resolve_lookupdjango/template/base.py:9961 ms1.2%
InclusionNode.renderdjango/template/library.py:3811 ms1.2%
tailwind_csstailwind/templatetags/tailwind_tags.py:231 ms1.2%
get_configtailwind/__init__.py:91 ms1.2%
TranslateNode.renderdjango/templatetags/i18n.py:911 ms1.2%
render_value_in_contextdjango/template/base.py:11501 ms1.2%
URLNode.renderdjango/template/defaulttags.py:4991 ms1.2%
BlockTranslateNode.renderdjango/templatetags/i18n.py:1771 ms1.2%
ExtendsNode.renderdjango/template/loader_tags.py:1521 ms1.2%
NodeList.get_nodes_by_typedjango/template/base.py:11141 ms1.2%
IfNode.__iter__django/template/defaulttags.py:3161 ms1.2%
indexaccounts/views.py:438 "page_image": static("og.png"),1 ms1.2%
staticdjango/templatetags/static.py:1791 ms1.2%
StaticNode.handle_simpledjango/templatetags/static.py:1261 ms1.2%
Apps.is_installeddjango/apps/registry.py:2491 ms1.2%
Apps.is_installed.<locals>.<genexpr>django/apps/registry.py:2491 ms1.2%
ClientHandler.__call__django/test/client.py:17339 ms38.9%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6339 ms38.9%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10439 ms38.9%
WhiteNoise.add_fileswhitenoise/base.py:10839 ms38.9%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12039 ms38.9%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13139 ms38.9%
WhiteNoise.get_static_filewhitenoise/base.py:21739 ms38.9%
StaticFile.__init__whitenoise/responders.py:7233 ms32.8%
StaticFile.get_file_statswhitenoise/responders.py:16333 ms32.8%
<GC>~33 ms32.8%
StaticFile.__init__whitenoise/responders.py:742 ms2.4%
Headers.__getitem__<stdlib>/wsgiref/headers.py:831 ms1.2%
StaticFile.get_headerswhitenoise/responders.py:1781 ms1.2%
parsedate<stdlib>/email/_parseaddr.py:1851 ms1.2%
StaticFile.__init__whitenoise/responders.py:771 ms1.2%
StaticFile.get_alternativeswhitenoise/responders.py:2001 ms1.2%
StaticFile.__init__whitenoise/responders.py:761 ms1.2%
WhiteNoise.add_cache_headerswhitenoise/base.py:2331 ms1.2%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1761 ms1.2%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1971 ms1.2%
URLMixin.urldebug_toolbar/panels/staticfiles.py:201 ms1.2%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2351 ms1.2%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2161 ms1.2%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()1 ms1.2%
TestCase._fixture_teardowndjango/test/testcases.py:14981 ms1.2%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4941 ms1.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms1.2%
BaseDatabaseWrapper.cursordjango/db/backends/base/base.py:3201 ms1.2%
BaseDatabaseWrapper._cursordjango/db/backends/base/base.py:2981 ms1.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms1.2%
Estimated from 81 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
accounts/views.py:425
return render(
index
· Templates
|
57 ms |
|
accounts/tests.py:550
response = self.client.get(url)
TestAccountIndexRobots.assert_noindex
· Libraries
|
39 ms |
|
accounts/views.py:438
"page_image": static("og.png"),
index
· Libraries
|
1 ms |
Fixtures
Exact setup time| _django_isolate_apps function | 0.06 ms |
| _dj_autoclear_mailbox function | 0.05 ms |
| _django_db_marker function | 0.05 ms |
| _template_string_if_invalid_marker function | 0.05 ms |
| _live_server_helper function | 0.05 ms |
| _django_set_urlconf function | 0.05 ms |
| _django_clear_site_cache function | 0.04 ms |
| monkeypatch function | 0.03 ms |
Database
8 queries · 3 msNo repeated queries.
Biggest pieces of work
|
call test body
accounts/tests.py:592
|
97 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
1 ms |
Reliability
12 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 12 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 7 hours ago | CI github-actions:test | passed | 99 ms | Profile |
| 16 hours ago | CI github-actions:test | passed | 65 ms | Profile |
| 22 hours ago | CI github-actions:test | passed | 177 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 170 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 84 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 100 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 85 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 54 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 195 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 214 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 215 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 90 ms | Run |