flakytest.dev anze3db flakytest
Tests / ft/tests.py

TestDocsPage::test_linked_from_the_site

First seen 3 weeks ago in 78a4357
CI github-actions:test 12 runs
Average
37 ms
median 39 ms
max 63 ms
Phases
Setup 0.71 ms Call 35 ms Teardown 0.98 ms
Categories
Database 5 ms Other (Libraries, Templates, Unsampled, pytest) 31 ms

6 database queries per run

Needs 390 KB of memory (max 792 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 16 hours ago · open run
Show pytest frames
call33 ms95.9%
TestDocsPage.test_linked_from_the_siteft/tests.py:75 response = self.client.get(reverse("index"))30 ms88.5%
Client.getdjango/test/client.py:112428 ms81.2%
RequestFactory.getdjango/test/client.py:47528 ms81.2%
RequestFactory.genericdjango/test/client.py:67128 ms81.2%
Client.requestdjango/test/client.py:108228 ms81.2%
ClientHandler.__call__django/test/client.py:17325 ms73.8%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6225 ms73.8%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10425 ms73.8%
WhiteNoise.add_fileswhitenoise/base.py:10825 ms73.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12020 ms59.0%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13120 ms59.0%
WhiteNoise.get_static_filewhitenoise/base.py:20815 ms44.3%
StaticFile.__init__whitenoise/responders.py:7313 ms36.9%
StaticFile.get_headerswhitenoise/responders.py:1768 ms22.1%
formatdate<stdlib>/email/utils.py:2668 ms22.1%
format_datetime<stdlib>/email/utils.py:2843 ms7.4%
StaticFile.get_headerswhitenoise/responders.py:1703 ms7.4%
StaticFile.get_headerswhitenoise/responders.py:1673 ms7.4%
StaticFile.__init__whitenoise/responders.py:773 ms7.4%
StaticFile.get_alternativeswhitenoise/responders.py:2003 ms7.4%
__init____init__:-13 ms7.4%
WhiteNoise.get_static_filewhitenoise/base.py:2035 ms14.8%
WhiteNoise.add_cache_headerswhitenoise/base.py:2243 ms7.4%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1763 ms7.4%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1973 ms7.4%
URLMixin.urldebug_toolbar/panels/staticfiles.py:203 ms7.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1153 ms7.4%
scantreewhitenoise/base.py:2623 ms7.4%
scantreewhitenoise/base.py:2623 ms7.4%
scantreewhitenoise/base.py:2623 ms7.4%
scantreewhitenoise/base.py:2623 ms7.4%
scantreewhitenoise/base.py:2623 ms7.4%
scantreewhitenoise/base.py:2643 ms7.4%
ClientHandler.__call__django/test/client.py:1863 ms7.4%
BaseHandler.get_responsedjango/core/handlers/base.py:1413 ms7.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms7.4%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1303 ms7.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms7.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3093 ms7.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms7.4%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1233 ms7.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms7.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3093 ms7.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms7.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3093 ms7.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms7.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3093 ms7.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms7.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3093 ms7.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms7.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3093 ms7.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms7.4%
MiddlewareMixin.__call__django/utils/deprecation.py:3093 ms7.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms7.4%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:343 ms7.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms7.4%
BaseHandler._get_responsedjango/core/handlers/base.py:1983 ms7.4%
indexft/urls.py:45 return render(request, "index.html", {"example_projects": example_projects})3 ms7.4%
renderdjango/shortcuts.py:253 ms7.4%
render_to_stringdjango/template/loader.py:623 ms7.4%
Template.renderdjango/template/backends/django.py:1073 ms7.4%
Template.renderdjango/template/base.py:1743 ms7.4%
instrumented_test_renderdjango/test/utils.py:1143 ms7.4%
NodeList.renderdjango/template/base.py:10913 ms7.4%
Node.render_annotateddjango/template/base.py:10523 ms7.4%
ExtendsNode.renderdjango/template/loader_tags.py:1603 ms7.4%
instrumented_test_renderdjango/test/utils.py:1143 ms7.4%
NodeList.renderdjango/template/base.py:10913 ms7.4%
Node.render_annotateddjango/template/base.py:10523 ms7.4%
ExtendsNode.renderdjango/template/loader_tags.py:1603 ms7.4%
instrumented_test_renderdjango/test/utils.py:1143 ms7.4%
NodeList.renderdjango/template/base.py:10913 ms7.4%
Node.render_annotateddjango/template/base.py:10523 ms7.4%
BlockNode.renderdjango/template/loader_tags.py:663 ms7.4%
NodeList.renderdjango/template/base.py:10913 ms7.4%
Node.render_annotateddjango/template/base.py:10523 ms7.4%
BlockNode.renderdjango/template/loader_tags.py:663 ms7.4%
NodeList.renderdjango/template/base.py:10913 ms7.4%
Node.render_annotateddjango/template/base.py:10523 ms7.4%
IfNode.renderdjango/template/defaulttags.py:3323 ms7.4%
QuerySet.__bool__django/db/models/query.py:4043 ms7.4%
QuerySet._fetch_alldjango/db/models/query.py:20003 ms7.4%
ModelIterable.__iter__django/db/models/query.py:953 ms7.4%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16243 ms7.4%
CursorWrapper.executedjango/db/backends/utils.py:793 ms7.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms7.4%
CursorWrapper._executedjango/db/backends/utils.py:1053 ms7.4%
Cursor.executepsycopg/cursor.py:1133 ms7.4%
Connection.waitpsycopg/connection.py:4953 ms7.4%
reversedjango/urls/base.py:983 ms7.4%
URLResolver._reverse_with_prefixdjango/urls/resolvers.py:8033 ms7.4%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()3 ms7.4%
TestCase._fixture_teardowndjango/test/testcases.py:14973 ms7.4%
TestCase._rollback_atomicsdjango/test/testcases.py:14053 ms7.4%
Atomic.__exit__django/db/transaction.py:2833 ms7.4%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:263 ms7.4%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4133 ms7.4%
teardown0.68 ms2.0%
TestCase.tearDownClassdjango/test/testcases.py:1453 cls._rollback_atomics(cls.cls_atomics)0.68 ms2.0%
TestCase._rollback_atomicsdjango/test/testcases.py:14050.68 ms2.0%
Atomic.__exit__django/db/transaction.py:2950.68 ms2.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:260.68 ms2.0%
BaseDatabaseWrapper.rollbackdjango/db/backends/base/base.py:3370.68 ms2.0%
BaseDatabaseWrapper._rollbackdjango/db/backends/base/base.py:3080.68 ms2.0%
Connection.rollbackpsycopg/connection.py:3140.68 ms2.0%
Connection.waitpsycopg/connection.py:4950.68 ms2.0%
Estimated from 14 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

ft/tests.py:75
response = self.client.get(reverse("index"))
TestDocsPage.test_linked_from_the_site · Libraries
28 ms
ft/urls.py:45
return render(request, "index.html", {"example_projects": example_projects})
index · Database
3 ms

Fixtures

Exact setup time
_template_string_if_invalid_marker function 0.06 ms
_dj_autoclear_mailbox function 0.05 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

6 queries · 1 ms
No repeated queries.

Biggest pieces of work

call test body
ft/tests.py:75
30 ms
call _post_teardown
django/test/testcases.py:1240
3 ms
teardown tearDownClass
django/test/testcases.py:1453
0.68 ms

Reliability

12 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 12 results, oldest first in the strip
When Environment Outcome Duration Commit
16 hours ago CI github-actions:test passed 34 ms e141198 main Profile
1 week, 5 days ago CI github-actions:test passed 20 ms 46ec2aa main Profile
2 weeks, 1 day ago CI github-actions:test passed 42 ms afde85b main Profile
2 weeks, 1 day ago CI github-actions:test passed 34 ms fe29f9d main Profile
2 weeks, 1 day ago CI github-actions:test passed 63 ms 044719a main Profile
2 weeks, 2 days ago CI github-actions:test passed 26 ms b3fedae main Profile
2 weeks, 4 days ago CI github-actions:test passed 42 ms 43c4eda main Profile
2 weeks, 6 days ago CI github-actions:test passed 41 ms 9caa567 main Profile
2 weeks, 6 days ago CI github-actions:test passed 40 ms ec75501 main Profile
3 weeks ago CI github-actions:test passed 45 ms d2c12e5 main Profile
3 weeks ago CI github-actions:test passed 19 ms 0b902f6 main Profile
3 weeks ago CI github-actions:test passed 37 ms 78a4357 main Profile