flakytest.dev anze3db fedidevs
Tests / accounts/tests.py

TestAccountIndexRobots::test_deep_pagination_is_noindex

First seen 14 hours ago in 0c23747
CI github-actions:test 4 runs
Average
152 ms
median 152 ms
max 243 ms
Phases
Setup 2 ms Call 150 ms Teardown 0.28 ms
Categories
Database 14 ms App code 0.78 ms Other (Libraries, Templates, pytest, Unsampled) 137 ms

8 database queries per run

Needs 16 KB of memory (max 64 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 8 hours ago · open run
Show pytest frames
setup1 ms2.0%
__init____init__:-11 ms2.0%
signature<stdlib>/inspect.py:33401 ms2.0%
Signature.from_callable<stdlib>/inspect.py:30551 ms2.0%
_signature_from_callable<stdlib>/inspect.py:24741 ms2.0%
call58 ms97.6%
TestAccountIndexRobots.test_deep_pagination_is_noindexaccounts/tests.py:596 self.assert_noindex("/python/?page=800")58 ms97.6%
TestAccountIndexRobots.assert_noindexaccounts/tests.py:550 response = self.client.get(url)58 ms97.6%
Client.getdjango/test/client.py:113358 ms97.6%
RequestFactory.getdjango/test/client.py:47558 ms97.6%
RequestFactory.genericdjango/test/client.py:67158 ms97.6%
Client.requestdjango/test/client.py:109158 ms97.6%
ClientHandler.__call__django/test/client.py:17340 ms66.8%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6340 ms66.8%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10440 ms66.8%
WhiteNoise.add_fileswhitenoise/base.py:10840 ms66.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12024 ms41.1%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13124 ms41.1%
WhiteNoise.get_static_filewhitenoise/base.py:21718 ms30.8%
StaticFile.__init__whitenoise/responders.py:769 ms15.4%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1883 ms5.1%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1893 ms5.1%
Headers.__getitem__<stdlib>/wsgiref/headers.py:833 ms5.1%
Headers.get<stdlib>/wsgiref/headers.py:1043 ms5.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:503 ms5.1%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1903 ms5.1%
StaticFile.__init__whitenoise/responders.py:723 ms5.1%
StaticFile.get_file_statswhitenoise/responders.py:1613 ms5.1%
__init____init__:-13 ms5.1%
FileEntry.__init__whitenoise/responders.py:2603 ms5.1%
<GC>~3 ms5.1%
StaticFile.__init__whitenoise/responders.py:773 ms5.1%
StaticFile.get_alternativeswhitenoise/responders.py:2003 ms5.1%
__init____init__:-13 ms5.1%
Headers.__init__<stdlib>/wsgiref/headers.py:433 ms5.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:503 ms5.1%
StaticFile.__init__whitenoise/responders.py:733 ms5.1%
StaticFile.get_headerswhitenoise/responders.py:1673 ms5.1%
WhiteNoise.get_static_filewhitenoise/base.py:2123 ms5.1%
WhiteNoise.add_cache_headerswhitenoise/base.py:2333 ms5.1%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1763 ms5.1%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1973 ms5.1%
URLMixin.urldebug_toolbar/panels/staticfiles.py:203 ms5.1%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2353 ms5.1%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2143 ms5.1%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11515 ms25.7%
scantreewhitenoise/base.py:27112 ms20.5%
scantreewhitenoise/base.py:2736 ms10.3%
scantreewhitenoise/base.py:2703 ms5.1%
scantreewhitenoise/base.py:2713 ms5.1%
scantreewhitenoise/base.py:2713 ms5.1%
scantreewhitenoise/base.py:2713 ms5.1%
scantreewhitenoise/base.py:2713 ms5.1%
scantreewhitenoise/base.py:2733 ms5.1%
scantreewhitenoise/base.py:2733 ms5.1%
ClientHandler.__call__django/test/client.py:18618 ms30.8%
BaseHandler.get_responsedjango/core/handlers/base.py:14218 ms30.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms30.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms30.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms30.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms30.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms30.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms30.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms30.8%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12318 ms30.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms30.8%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14518 ms30.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms30.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms30.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms30.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms30.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms30.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms30.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms30.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms30.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms30.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms30.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms30.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms30.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms30.8%
MiddlewareMixin.__call__django/utils/deprecation.py:38018 ms30.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5618 ms30.8%
BaseHandler._get_responsedjango/core/handlers/base.py:19918 ms30.8%
indexaccounts/views.py:4126 ms10.3%
CountlessPaginator.get_pageaccounts/views.py:846 ms10.3%
CountlessPaginator.pageaccounts/views.py:906 ms10.3%
CountlessPage.__init__accounts/views.py:28 self.object_list = list(self.object_list)6 ms10.3%
QuerySet.__iter__django/db/models/query.py:4396 ms10.3%
QuerySet._fetch_alldjango/db/models/query.py:22626 ms10.3%
ModelIterable.__iter__django/db/models/query.py:1036 ms10.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16256 ms10.3%
CursorWrapper.executedjango/db/backends/utils.py:796 ms10.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:926 ms10.3%
CursorWrapper._executedjango/db/backends/utils.py:1053 ms5.1%
Cursor.executepsycopg/cursor.py:1133 ms5.1%
Connection.waitpsycopg/connection.py:4953 ms5.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2063 ms5.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2863 ms5.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:783 ms5.1%
indexaccounts/views.py:425 return render(6 ms10.3%
renderdjango/shortcuts.py:273 ms5.1%
render_to_stringdjango/template/loader.py:623 ms5.1%
Template.renderdjango/template/backends/django.py:1073 ms5.1%
Template.renderdjango/template/base.py:1753 ms5.1%
instrumented_test_renderdjango/test/utils.py:1133 ms5.1%
NodeList.renderdjango/template/base.py:11083 ms5.1%
Node.render_annotateddjango/template/base.py:10693 ms5.1%
ExtendsNode.renderdjango/template/loader_tags.py:1603 ms5.1%
instrumented_test_renderdjango/test/utils.py:1133 ms5.1%
NodeList.renderdjango/template/base.py:11083 ms5.1%
Node.render_annotateddjango/template/base.py:10693 ms5.1%
BlockNode.renderdjango/template/loader_tags.py:663 ms5.1%
NodeList.renderdjango/template/base.py:11083 ms5.1%
Node.render_annotateddjango/template/base.py:10693 ms5.1%
ForNode.renderdjango/template/defaulttags.py:2493 ms5.1%
Node.render_annotateddjango/template/base.py:10693 ms5.1%
IfNode.renderdjango/template/defaulttags.py:3263 ms5.1%
infix.<locals>.Operator.evaldjango/template/smartif.py:613 ms5.1%
<lambda>django/template/smartif.py:1073 ms5.1%
TemplateLiteral.evaldjango/template/defaulttags.py:9183 ms5.1%
FilterExpression.resolvedjango/template/base.py:8063 ms5.1%
Variable.resolvedjango/template/base.py:9453 ms5.1%
renderdjango/shortcuts.py:283 ms5.1%
HttpResponse.__init__django/http/response.py:3893 ms5.1%
HttpResponse.contentdjango/http/response.py:4213 ms5.1%
HttpResponseBase.make_bytesdjango/http/response.py:3293 ms5.1%
indexaccounts/views.py:292 frameworks_map = {f.code: f for f in FRAMEWORKS}3 ms5.1%
indexaccounts/views.py:295 language_counts = Daily.objects.order_by("date").last()3 ms5.1%
QuerySet.lastdjango/db/models/query.py:12253 ms5.1%
QuerySet.__iter__django/db/models/query.py:4393 ms5.1%
QuerySet._fetch_alldjango/db/models/query.py:22623 ms5.1%
ModelIterable.__iter__django/db/models/query.py:1033 ms5.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16253 ms5.1%
CursorWrapper.executedjango/db/backends/utils.py:793 ms5.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms5.1%
CursorWrapper._executedjango/db/backends/utils.py:1053 ms5.1%
Cursor.executepsycopg/cursor.py:1133 ms5.1%
Connection.waitpsycopg/connection.py:4953 ms5.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2063 ms5.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2863 ms5.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:783 ms5.1%
Estimated from 20 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
40 ms
accounts/views.py:28
self.object_list = list(self.object_list)
CountlessPage.__init__ · Database
6 ms
accounts/views.py:425
return render(
index · Templates
6 ms
accounts/views.py:292
frameworks_map = {f.code: f for f in FRAMEWORKS}
index · App code
3 ms
accounts/views.py:295
language_counts = Daily.objects.order_by("date").last()
index · Database
3 ms

Fixtures

Exact setup time
_django_isolate_apps function 0.37 ms
_dj_autoclear_mailbox function 0.06 ms
_template_string_if_invalid_marker function 0.04 ms
_django_db_marker function 0.04 ms
_django_set_urlconf function 0.04 ms
_live_server_helper function 0.03 ms
_django_clear_site_cache function 0.03 ms
monkeypatch function 0.02 ms

Database

8 queries · 3 ms
No repeated queries.

Biggest pieces of work

call test body
accounts/tests.py:596
58 ms
setup __init__
__init__:-1
1 ms

Reliability

5 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 5 results, oldest first in the strip
When Environment Outcome Duration Commit
8 hours ago CI github-actions:test passed 59 ms d923a46 main Profile
8 hours ago CI github-actions:test passed 107 ms 82997f8 main Profile
9 hours ago CI github-actions:test passed 243 ms 623aa3e main Profile
13 hours ago CI github-actions:test passed 198 ms ab6465a main Profile
14 hours ago CI github-actions:test passed 101 ms 0c23747 main Run