Tests / ft/tests.py
TestTrubleshootingPage::test_troubleshooting
First seen 2 years, 9 months ago in b9e98d9
CI
github-actions:test
5 runs
Average
171 ms
median 208 ms
max 219 ms
max 219 ms
Phases
Setup 11 ms
Call 160 ms
Teardown 0.17 ms
Categories
Database 11 ms
Other (Libraries, pytest, Unsampled) 160 ms
5 database queries per run
Needs 5 KB of memory (max 12 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 15 minutes ago ·
open run
setup11 ms5.1%
TestCase.setUpClassdjango/test/testcases.py:1423 cls.cls_atomics = cls._enter_atomics()11 ms5.1%
TestCase._enter_atomicsdjango/test/testcases.py:139611 ms5.1%
Atomic.__enter__django/db/transaction.py:19811 ms5.1%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:45411 ms5.1%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:30311 ms5.1%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2611 ms5.1%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27911 ms5.1%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2611 ms5.1%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:25611 ms5.1%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2611 ms5.1%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:33311 ms5.1%
Connection.connectpsycopg/connection.py:10911 ms5.1%
wait_connpsycopg/waiting.py:1417 ms3.2%
EpollSelector.select<stdlib>/selectors.py:4527 ms3.2%
wait_connpsycopg/waiting.py:1454 ms1.9%
BaseConnection._connect_genpsycopg/_connection_base.py:4394 ms1.9%
call201 ms94.8%
TestTrubleshootingPage.test_troubleshootingft/tests.py:96 response = self.client.get(reverse("trubleshooting"))200 ms94.3%
Client.getdjango/test/client.py:1124200 ms94.3%
RequestFactory.getdjango/test/client.py:475200 ms94.3%
RequestFactory.genericdjango/test/client.py:671200 ms94.3%
Client.requestdjango/test/client.py:1082200 ms94.3%
ClientHandler.__call__django/test/client.py:173199 ms93.8%
BaseHandler.load_middlewaredjango/core/handlers/base.py:62199 ms93.8%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:104199 ms93.8%
WhiteNoise.add_fileswhitenoise/base.py:108199 ms93.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:120195 ms92.2%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:131195 ms92.2%
WhiteNoise.get_static_filewhitenoise/base.py:208192 ms90.6%
StaticFile.__init__whitenoise/responders.py:72182 ms85.9%
StaticFile.get_file_statswhitenoise/responders.py:163182 ms85.9%
<GC>~182 ms85.9%
StaticFile.__init__whitenoise/responders.py:763 ms1.6%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1881 ms0.5%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1891 ms0.5%
Headers.__getitem__<stdlib>/wsgiref/headers.py:831 ms0.5%
Headers.get<stdlib>/wsgiref/headers.py:1061 ms0.5%
StaticFile.__init__whitenoise/responders.py:732 ms1.0%
StaticFile.get_headerswhitenoise/responders.py:1782 ms1.0%
parsedate<stdlib>/email/_parseaddr.py:1852 ms1.0%
StaticFile.__init__whitenoise/responders.py:742 ms1.0%
parsedate<stdlib>/email/_parseaddr.py:1852 ms1.0%
StaticFile.__init__whitenoise/responders.py:771 ms0.5%
StaticFile.get_alternativeswhitenoise/responders.py:2011 ms0.5%
WhiteNoise.get_static_filewhitenoise/base.py:2032 ms1.0%
WhiteNoise.add_cache_headerswhitenoise/base.py:2242 ms1.0%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1761 ms0.5%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1971 ms0.5%
URLMixin.urldebug_toolbar/panels/staticfiles.py:201 ms0.5%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2051 ms0.5%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:1841 ms0.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1152 ms1.0%
scantreewhitenoise/base.py:2621 ms0.5%
scantreewhitenoise/base.py:2621 ms0.5%
scantreewhitenoise/base.py:2641 ms0.5%
ClientHandler.__call__django/test/client.py:1861 ms0.5%
BaseHandler.get_responsedjango/core/handlers/base.py:1411 ms0.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:551 ms0.5%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1301 ms0.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:551 ms0.5%
MiddlewareMixin.__call__django/utils/deprecation.py:3091 ms0.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:551 ms0.5%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1231 ms0.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:551 ms0.5%
MiddlewareMixin.__call__django/utils/deprecation.py:3091 ms0.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:551 ms0.5%
MiddlewareMixin.__call__django/utils/deprecation.py:3091 ms0.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:551 ms0.5%
MiddlewareMixin.__call__django/utils/deprecation.py:3091 ms0.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:551 ms0.5%
MiddlewareMixin.__call__django/utils/deprecation.py:3091 ms0.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:551 ms0.5%
MiddlewareMixin.__call__django/utils/deprecation.py:3091 ms0.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:551 ms0.5%
MiddlewareMixin.__call__django/utils/deprecation.py:3091 ms0.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:551 ms0.5%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:341 ms0.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:551 ms0.5%
BaseHandler._get_responsedjango/core/handlers/base.py:1821 ms0.5%
BaseHandler.resolve_requestdjango/core/handlers/base.py:3141 ms0.5%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()1 ms0.5%
TestCase._fixture_teardowndjango/test/testcases.py:14971 ms0.5%
TestCase._rollback_atomicsdjango/test/testcases.py:14051 ms0.5%
Estimated from 189 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
ft/tests.py:96
response = self.client.get(reverse("trubleshooting"))
TestTrubleshootingPage.test_troubleshooting
· Libraries
|
200 ms |
Fixtures
Exact setup time| _unittest_setUpClass_fixture_TestTrubleshootingPage class | 9 ms |
| _django_setup_unittest class | 0.68 ms |
| _dj_autoclear_mailbox function | 0.05 ms |
| monkeypatch function | 0.05 ms |
| _template_string_if_invalid_marker function | 0.05 ms |
| _django_db_marker function | 0.05 ms |
| _live_server_helper function | 0.04 ms |
| _django_set_urlconf function | 0.03 ms |
| _django_clear_site_cache function | 0.03 ms |
Database
5 queries · 1 msNo repeated queries.
Biggest pieces of work
|
call test body
ft/tests.py:96
|
200 ms |
|
setup setUpClass
django/test/testcases.py:1423
|
11 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
1 ms |
Reliability
5 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 50 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 15 minutes ago | CI github-actions:test | passed | 212 ms | Profile |
| 40 minutes ago | CI github-actions:test | passed | 208 ms | Profile |
| 7 hours ago | CI github-actions:test | passed | 219 ms | Profile |
| 7 hours ago | CI github-actions:test | passed | 169 ms | Profile |
| 7 hours ago | CI github-actions:test | passed | 49 ms | Profile |
| 2 years ago | CI github-actions | passed | 179 ms | Run |
| 2 years, 2 months ago | CI github-actions | passed | 94 ms | Run |
| 2 years, 3 months ago | CI github-actions | passed | 164 ms | Run |
| 2 years, 4 months ago | CI github-actions | passed | 101 ms | Run |
| 2 years, 4 months ago | CI github-actions | passed | 107 ms | Run |
| 2 years, 4 months ago | CI github-actions | passed | 103 ms | Run |
| 2 years, 4 months ago | CI github-actions | passed | 95 ms | Run |
| 2 years, 5 months ago | CI github-actions | passed | 94 ms | Run |
| 2 years, 5 months ago | CI github-actions | passed | 93 ms | Run |
| 2 years, 5 months ago | CI github-actions | passed | 95 ms | Run |
| 2 years, 5 months ago | CI github-actions | passed | 94 ms | Run |
| 2 years, 5 months ago | CI github-actions | passed | 130 ms | Run |
| 2 years, 6 months ago | CI github-actions | passed | 96 ms | Run |
| 2 years, 6 months ago | CI github-actions | passed | 95 ms | Run |
| 2 years, 6 months ago | CI github-actions | passed | 91 ms | Run |