Tests / starter_packs/tests.py
TestRemoteFollowStarterPack::test_get_not_allowed
First seen 14 hours ago in 0c23747
CI
github-actions:test
4 runs
Average
153 ms
median 186 ms
max 197 ms
max 197 ms
Phases
Setup 2 ms
Call 150 ms
Teardown 0.99 ms
Categories
Database 7 ms
Other (Libraries, pytest, Unsampled) 146 ms
5 database queries per run
Needs 118 KB of memory (max 260 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 8 hours ago ·
open run
call40 ms97.8%
TestRemoteFollowStarterPack.test_get_not_allowedstarter_packs/tests.py:1295 response = self.client.get(self.url)33 ms80.0%
Client.getdjango/test/client.py:113333 ms80.0%
RequestFactory.getdjango/test/client.py:47533 ms80.0%
RequestFactory.genericdjango/test/client.py:67133 ms80.0%
Client.requestdjango/test/client.py:109133 ms80.0%
ClientHandler.__call__django/test/client.py:17329 ms71.1%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6329 ms71.1%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10429 ms71.1%
WhiteNoise.add_fileswhitenoise/base.py:10829 ms71.1%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12018 ms44.4%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13115 ms35.6%
WhiteNoise.get_static_filewhitenoise/base.py:21715 ms35.6%
StaticFile.__init__whitenoise/responders.py:767 ms17.8%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1894 ms8.9%
Headers.__getitem__<stdlib>/wsgiref/headers.py:834 ms8.9%
Headers.get<stdlib>/wsgiref/headers.py:1064 ms8.9%
StaticFile.__init__whitenoise/responders.py:734 ms8.9%
StaticFile.get_headerswhitenoise/responders.py:1784 ms8.9%
StaticFile.__init__whitenoise/responders.py:774 ms8.9%
StaticFile.get_alternativeswhitenoise/responders.py:1984 ms8.9%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1157 ms17.8%
scantreewhitenoise/base.py:2717 ms17.8%
scantreewhitenoise/base.py:2694 ms8.9%
scantreewhitenoise/base.py:2734 ms8.9%
ClientHandler.__call__django/test/client.py:1864 ms8.9%
BaseHandler.get_responsedjango/core/handlers/base.py:1414 ms8.9%
set_urlconfdjango/urls/base.py:1554 ms8.9%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()7 ms17.8%
TestCase._fixture_teardowndjango/test/testcases.py:14974 ms8.9%
TestCase._should_check_constraintsdjango/test/testcases.py:15064 ms8.9%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:5044 ms8.9%
Cursor.executepsycopg/cursor.py:1134 ms8.9%
Connection.waitpsycopg/connection.py:4954 ms8.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2064 ms8.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2864 ms8.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:784 ms8.9%
TestCase._fixture_teardowndjango/test/testcases.py:15004 ms8.9%
TestCase._rollback_atomicsdjango/test/testcases.py:14084 ms8.9%
Atomic.__exit__django/db/transaction.py:2984 ms8.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:264 ms8.9%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4314 ms8.9%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3754 ms8.9%
CursorWrapper.executedjango/db/backends/utils.py:794 ms8.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms8.9%
CursorWrapper._executedjango/db/backends/utils.py:1034 ms8.9%
Cursor.executepsycopg/cursor.py:1134 ms8.9%
Connection.waitpsycopg/connection.py:4954 ms8.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2064 ms8.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2864 ms8.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:784 ms8.9%
Estimated from 11 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
starter_packs/tests.py:1295
response = self.client.get(self.url)
TestRemoteFollowStarterPack.test_get_not_allowed
· Libraries
|
33 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.03 ms |
| _django_db_marker function | 0.03 ms |
| _django_clear_site_cache function | 0.03 ms |
| _django_isolate_apps function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
5 queries · 0.81 msNo repeated queries.
Biggest pieces of work
|
call test body
starter_packs/tests.py:1295
|
33 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
7 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 | 41 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 178 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 197 ms | Profile |
| 13 hours ago | CI github-actions:test | passed | 195 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 81 ms | Run |