Tests / accounts/tests.py
TestAccountIndexRobots::test_paginated_single_facet_is_noindex
First seen 3 weeks ago in 0c23747
CI
github-actions:test
11 runs
Average
142 ms
median 135 ms
max 262 ms
max 262 ms
Phases
Setup 1 ms
Call 141 ms
Teardown 0.30 ms
Categories
Database 22 ms
App code 0.14 ms
Other (Libraries, Templates, Unsampled, pytest) 120 ms
8 database queries per run
Needs 8 KB of memory (max 24 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 7 hours ago ·
open run
call97 ms98.4%
TestAccountIndexRobots.test_paginated_single_facet_is_noindexaccounts/tests.py:599 self.assert_noindex("/python/?f=best&page=3")97 ms98.4%
TestAccountIndexRobots.assert_noindexaccounts/tests.py:550 response = self.client.get(url)97 ms98.4%
Client.getdjango/test/client.py:113397 ms98.4%
RequestFactory.getdjango/test/client.py:47597 ms98.4%
RequestFactory.genericdjango/test/client.py:67197 ms98.4%
Client.requestdjango/test/client.py:109197 ms98.4%
ClientHandler.__call__django/test/client.py:17351 ms51.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6351 ms51.0%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10451 ms51.0%
WhiteNoise.add_fileswhitenoise/base.py:10851 ms51.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12051 ms51.0%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13151 ms51.0%
WhiteNoise.get_static_filewhitenoise/base.py:21736 ms36.5%
StaticFile.__init__whitenoise/responders.py:7314 ms14.6%
StaticFile.get_headerswhitenoise/responders.py:1764 ms3.6%
formatdate<stdlib>/email/utils.py:2664 ms3.6%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:504 ms3.6%
StaticFile.get_headerswhitenoise/responders.py:1674 ms3.6%
StaticFile.get_headerswhitenoise/responders.py:1704 ms3.6%
StaticFile.get_alternativeswhitenoise/responders.py:2004 ms3.6%
__init____init__:-14 ms3.6%
StaticFile.__init__whitenoise/responders.py:767 ms7.3%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1887 ms7.3%
StaticFile.__init__whitenoise/responders.py:747 ms7.3%
parsedate<stdlib>/email/_parseaddr.py:1857 ms7.3%
StaticFile.__init__whitenoise/responders.py:774 ms3.6%
StaticFile.get_alternativeswhitenoise/responders.py:2004 ms3.6%
WhiteNoise.get_static_filewhitenoise/base.py:21211 ms10.9%
WhiteNoise.add_cache_headerswhitenoise/base.py:23311 ms10.9%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:17611 ms10.9%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:19711 ms10.9%
URLMixin.urldebug_toolbar/panels/staticfiles.py:2011 ms10.9%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2354 ms3.6%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2164 ms3.6%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2044 ms3.6%
ClientHandler.__call__django/test/client.py:18647 ms47.4%
BaseHandler.get_responsedjango/core/handlers/base.py:14247 ms47.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5647 ms47.4%
MiddlewareMixin.__call__django/utils/deprecation.py:38047 ms47.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5647 ms47.4%
MiddlewareMixin.__call__django/utils/deprecation.py:38047 ms47.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5647 ms47.4%
MiddlewareMixin.__call__django/utils/deprecation.py:38047 ms47.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5647 ms47.4%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12347 ms47.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5647 ms47.4%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14547 ms47.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5647 ms47.4%
MiddlewareMixin.__call__django/utils/deprecation.py:38047 ms47.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5647 ms47.4%
MiddlewareMixin.__call__django/utils/deprecation.py:38047 ms47.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5647 ms47.4%
MiddlewareMixin.__call__django/utils/deprecation.py:38047 ms47.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5647 ms47.4%
MiddlewareMixin.__call__django/utils/deprecation.py:38047 ms47.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5647 ms47.4%
MiddlewareMixin.__call__django/utils/deprecation.py:38047 ms47.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5647 ms47.4%
MiddlewareMixin.__call__django/utils/deprecation.py:38047 ms47.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5647 ms47.4%
MiddlewareMixin.__call__django/utils/deprecation.py:38047 ms47.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5647 ms47.4%
BaseHandler._get_responsedjango/core/handlers/base.py:19947 ms47.4%
indexaccounts/views.py:425 return render(47 ms47.4%
renderdjango/shortcuts.py:2747 ms47.4%
render_to_stringdjango/template/loader.py:6247 ms47.4%
Template.renderdjango/template/backends/django.py:10747 ms47.4%
Template.renderdjango/template/base.py:17547 ms47.4%
instrumented_test_renderdjango/test/utils.py:11347 ms47.4%
NodeList.renderdjango/template/base.py:110847 ms47.4%
Node.render_annotateddjango/template/base.py:106947 ms47.4%
ExtendsNode.renderdjango/template/loader_tags.py:16047 ms47.4%
instrumented_test_renderdjango/test/utils.py:11347 ms47.4%
NodeList.renderdjango/template/base.py:110847 ms47.4%
Node.render_annotateddjango/template/base.py:106947 ms47.4%
BlockNode.renderdjango/template/loader_tags.py:6647 ms47.4%
NodeList.renderdjango/template/base.py:110847 ms47.4%
Node.render_annotateddjango/template/base.py:106947 ms47.4%
ForNode.renderdjango/template/defaulttags.py:24947 ms47.4%
Node.render_annotateddjango/template/base.py:106947 ms47.4%
IfNode.renderdjango/template/defaulttags.py:32629 ms29.2%
infix.<locals>.Operator.evaldjango/template/smartif.py:6129 ms29.2%
<lambda>django/template/smartif.py:10622 ms21.9%
TemplateLiteral.evaldjango/template/defaulttags.py:91822 ms21.9%
FilterExpression.resolvedjango/template/base.py:80622 ms21.9%
Variable.resolvedjango/template/base.py:94518 ms18.2%
Variable._resolve_lookupdjango/template/base.py:99611 ms10.9%
Variable._resolve_lookupdjango/template/base.py:10064 ms3.6%
Variable._resolve_lookupdjango/template/base.py:9994 ms3.6%
<lambda>django/template/smartif.py:1077 ms7.3%
TemplateLiteral.evaldjango/template/defaulttags.py:9187 ms7.3%
FilterExpression.resolvedjango/template/base.py:8064 ms3.6%
Variable.resolvedjango/template/base.py:9454 ms3.6%
Variable._resolve_lookupdjango/template/base.py:9994 ms3.6%
FilterExpression.resolvedjango/template/base.py:8094 ms3.6%
Variable.resolvedjango/template/base.py:9454 ms3.6%
Variable._resolve_lookupdjango/template/base.py:10434 ms3.6%
SimpleNode.renderdjango/template/library.py:34314 ms14.6%
querystringdjango/template/defaulttags.py:13487 ms7.3%
QueryDict.urlencodedjango/http/request.py:7444 ms3.6%
QueryDict.urlencode.<locals>.<genexpr>django/http/request.py:7454 ms3.6%
QueryDict.urlencode.<locals>.encodedjango/http/request.py:7414 ms3.6%
querystringdjango/template/defaulttags.py:13274 ms3.6%
querystringdjango/template/defaulttags.py:13454 ms3.6%
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%
Estimated from 27 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
accounts/tests.py:550
response = self.client.get(url)
TestAccountIndexRobots.assert_noindex
· Libraries
|
51 ms |
|
accounts/views.py:425
return render(
index
· Templates
|
47 ms |
Fixtures
Exact setup time| _template_string_if_invalid_marker function | 0.07 ms |
| _dj_autoclear_mailbox function | 0.06 ms |
| _django_db_marker function | 0.06 ms |
| _django_isolate_apps function | 0.05 ms |
| _django_set_urlconf function | 0.05 ms |
| _live_server_helper function | 0.05 ms |
| _django_clear_site_cache function | 0.04 ms |
| monkeypatch function | 0.03 ms |
Database
8 queries · 4 msNo repeated queries.
Biggest pieces of work
|
call test body
accounts/tests.py:599
|
97 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 | 80 ms | Profile |
| 22 hours ago | CI github-actions:test | passed | 96 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 135 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 83 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 242 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 159 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 58 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 193 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 157 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 262 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 81 ms | Run |