Tests / accounts/tests.py
TestAccountIndexRobots::test_paginated_single_facet_is_noindex
First seen 14 hours ago in 0c23747
CI
github-actions:test
4 runs
Average
167 ms
median 175 ms
max 262 ms
max 262 ms
Phases
Setup 1 ms
Call 166 ms
Teardown 0.29 ms
Categories
Database 15 ms
Other (Libraries, Templates, Unsampled, pytest) 152 ms
8 database queries per run
Needs 11 KB of memory (max 24 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 8 hours ago ·
open run
setup0.67 ms1.2%
call57 ms98.4%
TestAccountIndexRobots.test_paginated_single_facet_is_noindexaccounts/tests.py:599 self.assert_noindex("/python/?f=best&page=3")52 ms89.9%
TestAccountIndexRobots.assert_noindexaccounts/tests.py:550 response = self.client.get(url)52 ms89.9%
Client.getdjango/test/client.py:113352 ms89.9%
RequestFactory.getdjango/test/client.py:47552 ms89.9%
RequestFactory.genericdjango/test/client.py:67152 ms89.9%
Client.requestdjango/test/client.py:109152 ms89.9%
ClientHandler.__call__django/test/client.py:17337 ms64.2%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6337 ms64.2%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10437 ms64.2%
WhiteNoise.add_fileswhitenoise/base.py:10837 ms64.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12025 ms42.8%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13125 ms42.8%
WhiteNoise.get_static_filewhitenoise/base.py:21722 ms38.5%
StaticFile.__init__whitenoise/responders.py:7210 ms17.1%
StaticFile.get_file_statswhitenoise/responders.py:16110 ms17.1%
__init____init__:-110 ms17.1%
FileEntry.__init__whitenoise/responders.py:26010 ms17.1%
<GC>~10 ms17.1%
StaticFile.__init__whitenoise/responders.py:737 ms12.8%
StaticFile.get_headerswhitenoise/responders.py:1785 ms8.6%
parsedate<stdlib>/email/_parseaddr.py:1852 ms4.3%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms4.3%
StaticFile.get_headerswhitenoise/responders.py:1672 ms4.3%
StaticFile.__init__whitenoise/responders.py:775 ms8.6%
StaticFile.get_alternativeswhitenoise/responders.py:2032 ms4.3%
StaticFile.get_alternativeswhitenoise/responders.py:1982 ms4.3%
WhiteNoise.get_static_filewhitenoise/base.py:2122 ms4.3%
WhiteNoise.add_cache_headerswhitenoise/base.py:2332 ms4.3%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1762 ms4.3%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1972 ms4.3%
URLMixin.urldebug_toolbar/panels/staticfiles.py:202 ms4.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11510 ms17.1%
scantreewhitenoise/base.py:27110 ms17.1%
scantreewhitenoise/base.py:27110 ms17.1%
scantreewhitenoise/base.py:2735 ms8.6%
scantreewhitenoise/base.py:2715 ms8.6%
scantreewhitenoise/base.py:2715 ms8.6%
scantreewhitenoise/base.py:2715 ms8.6%
scantreewhitenoise/base.py:2732 ms4.3%
scantreewhitenoise/base.py:2692 ms4.3%
ClientHandler.__call__django/test/client.py:18615 ms25.7%
BaseHandler.get_responsedjango/core/handlers/base.py:14215 ms25.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms25.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms25.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms25.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms25.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms25.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms25.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms25.7%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12315 ms25.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms25.7%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14515 ms25.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms25.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms25.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms25.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms25.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms25.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms25.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms25.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms25.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms25.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms25.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms25.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms25.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms25.7%
MiddlewareMixin.__call__django/utils/deprecation.py:38015 ms25.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5615 ms25.7%
BaseHandler._get_responsedjango/core/handlers/base.py:19915 ms25.7%
indexaccounts/views.py:425 return render(7 ms12.8%
renderdjango/shortcuts.py:277 ms12.8%
render_to_stringdjango/template/loader.py:627 ms12.8%
Template.renderdjango/template/backends/django.py:1077 ms12.8%
Template.renderdjango/template/base.py:1757 ms12.8%
instrumented_test_renderdjango/test/utils.py:1137 ms12.8%
NodeList.renderdjango/template/base.py:11087 ms12.8%
Node.render_annotateddjango/template/base.py:10697 ms12.8%
ExtendsNode.renderdjango/template/loader_tags.py:1525 ms8.6%
NodeList.get_nodes_by_typedjango/template/base.py:11142 ms4.3%
instrumented_test_renderdjango/test/utils.py:1132 ms4.3%
NodeList.renderdjango/template/base.py:11082 ms4.3%
Node.render_annotateddjango/template/base.py:10692 ms4.3%
BlockNode.renderdjango/template/loader_tags.py:662 ms4.3%
NodeList.renderdjango/template/base.py:11082 ms4.3%
Node.render_annotateddjango/template/base.py:10692 ms4.3%
IfNode.renderdjango/template/defaulttags.py:3332 ms4.3%
NodeList.renderdjango/template/base.py:11082 ms4.3%
Node.render_annotateddjango/template/base.py:10692 ms4.3%
CottonComponentNode.renderdjango_cotton/templatetags/_component.py:2142 ms4.3%
InlineTemplate.renderdjango_cotton/templatetags/__init__.py:342 ms4.3%
NodeList.renderdjango/template/base.py:11082 ms4.3%
Node.render_annotateddjango/template/base.py:10692 ms4.3%
IfNode.renderdjango/template/defaulttags.py:3332 ms4.3%
NodeList.renderdjango/template/base.py:11082 ms4.3%
Node.render_annotateddjango/template/base.py:10692 ms4.3%
URLNode.renderdjango/template/defaulttags.py:5112 ms4.3%
ExtendsNode.renderdjango/template/loader_tags.py:1602 ms4.3%
instrumented_test_renderdjango/test/utils.py:1132 ms4.3%
NodeList.renderdjango/template/base.py:11082 ms4.3%
Node.render_annotateddjango/template/base.py:10692 ms4.3%
BlockNode.renderdjango/template/loader_tags.py:662 ms4.3%
NodeList.renderdjango/template/base.py:11082 ms4.3%
Node.render_annotateddjango/template/base.py:10692 ms4.3%
IfNode.renderdjango/template/defaulttags.py:3332 ms4.3%
NodeList.renderdjango/template/base.py:11082 ms4.3%
Node.render_annotateddjango/template/base.py:10692 ms4.3%
CottonComponentNode.renderdjango_cotton/templatetags/_component.py:2752 ms4.3%
Template.renderdjango/template/base.py:1772 ms4.3%
instrumented_test_renderdjango/test/utils.py:1132 ms4.3%
NodeList.renderdjango/template/base.py:11082 ms4.3%
Node.render_annotateddjango/template/base.py:10692 ms4.3%
IfNode.renderdjango/template/defaulttags.py:3332 ms4.3%
NodeList.renderdjango/template/base.py:11082 ms4.3%
Node.render_annotateddjango/template/base.py:10692 ms4.3%
SimpleNode.renderdjango/template/library.py:3432 ms4.3%
heroicon_outlineheroicons/templatetags/heroicons.py:232 ms4.3%
_render_iconheroicons/templatetags/heroicons.py:412 ms4.3%
_render_iconheroicons/__init__.py:652 ms4.3%
tostring<stdlib>/xml/etree/ElementTree.py:11102 ms4.3%
ElementTree.write<stdlib>/xml/etree/ElementTree.py:7492 ms4.3%
_serialize_xml<stdlib>/xml/etree/ElementTree.py:9062 ms4.3%
indexaccounts/views.py:4125 ms8.6%
CountlessPaginator.get_pageaccounts/views.py:845 ms8.6%
CountlessPaginator.pageaccounts/views.py:905 ms8.6%
CountlessPage.__init__accounts/views.py:28 self.object_list = list(self.object_list)5 ms8.6%
QuerySet.__iter__django/db/models/query.py:4395 ms8.6%
QuerySet._fetch_alldjango/db/models/query.py:22625 ms8.6%
ModelIterable.__iter__django/db/models/query.py:1035 ms8.6%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16122 ms4.3%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7682 ms4.3%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:892 ms4.3%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:782 ms4.3%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3102 ms4.3%
SQLCompiler.get_related_selectionsdjango/db/models/sql/compiler.py:12432 ms4.3%
select_related_descenddjango/db/models/query_utils.py:4312 ms4.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 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%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms4.3%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms4.3%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms4.3%
indexaccounts/views.py:295 language_counts = Daily.objects.order_by("date").last()2 ms4.3%
QuerySet.lastdjango/db/models/query.py:12252 ms4.3%
QuerySet.__iter__django/db/models/query.py:4392 ms4.3%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms4.3%
ModelIterable.__iter__django/db/models/query.py:1032 ms4.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms4.3%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.3%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()2 ms4.3%
TestCase._fixture_setupdjango/test/testcases.py:14812 ms4.3%
TestCase._enter_atomicsdjango/test/testcases.py:13992 ms4.3%
Atomic.__enter__django/db/transaction.py:2232 ms4.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms4.3%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4002 ms4.3%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3672 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%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms4.3%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms4.3%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms4.3%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()2 ms4.3%
TestCase._fixture_teardowndjango/test/testcases.py:14982 ms4.3%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4952 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%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms4.3%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms4.3%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms4.3%
Estimated from 24 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
|
37 ms |
|
accounts/views.py:425
return render(
index
· Templates
|
7 ms |
|
accounts/views.py:28
self.object_list = list(self.object_list)
CountlessPage.__init__
· Database
|
5 ms |
|
accounts/views.py:295
language_counts = Daily.objects.order_by("date").last()
index
· Database
|
2 ms |
Fixtures
Exact setup time| _template_string_if_invalid_marker function | 0.05 ms |
| _dj_autoclear_mailbox function | 0.05 ms |
| _django_db_marker function | 0.03 ms |
| _django_isolate_apps function | 0.02 ms |
| _live_server_helper function | 0.02 ms |
| _django_set_urlconf function | 0.02 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.02 ms |
Database
8 queries · 3 msNo repeated queries.
Biggest pieces of work
|
call test body
accounts/tests.py:599
|
52 ms |
|
call _pre_setup
django/test/testcases.py:1167
|
2 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
2 ms |
| setup pytest internals | 0.67 ms |
Reliability
5 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 5 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 8 hours ago | CI github-actions:test | passed | 58 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 193 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 157 ms | Profile |
| 13 hours ago | CI github-actions:test | passed | 262 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 81 ms | Run |