CI
github-actions:test
12 runs
Average
35 ms
median 38 ms
max 49 ms
max 49 ms
Phases
Setup 0.68 ms
Call 34 ms
Teardown 0.15 ms
Categories
Database 5 ms
Test code 0.08 ms
Other (Libraries, Unsampled, pytest) 30 ms
6 database queries per run
Needs 22 KB of memory (max 220 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 16 hours ago ·
open run
call41 ms98.0%
McpTest.test_requires_tokenapps/mcp/tests.py:140 response = self.post({"jsonrpc": "2.0", "id": 1, "method": "ping"}, token="")32 ms77.4%
McpTest.postapps/mcp/tests.py:67 return self.client.post(32 ms77.4%
Client.postdjango/test/client.py:115332 ms77.4%
RequestFactory.postdjango/test/client.py:49932 ms77.4%
RequestFactory.genericdjango/test/client.py:67132 ms77.4%
Client.requestdjango/test/client.py:108232 ms77.4%
ClientHandler.__call__django/test/client.py:17332 ms77.4%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6232 ms77.4%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10432 ms77.4%
WhiteNoise.add_fileswhitenoise/base.py:10832 ms77.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12028 ms67.1%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13128 ms67.1%
WhiteNoise.get_static_filewhitenoise/base.py:20823 ms56.8%
StaticFile.__init__whitenoise/responders.py:7711 ms25.8%
StaticFile.get_alternativeswhitenoise/responders.py:2006 ms15.5%
__init____init__:-16 ms15.5%
Headers.__init__<stdlib>/wsgiref/headers.py:366 ms15.5%
<GC>~6 ms15.5%
StaticFile.get_alternativeswhitenoise/responders.py:2032 ms5.2%
StaticFile.get_alternativeswhitenoise/responders.py:2042 ms5.2%
StaticFile.__init__whitenoise/responders.py:734 ms10.3%
StaticFile.get_headerswhitenoise/responders.py:1764 ms10.3%
formatdate<stdlib>/email/utils.py:2662 ms5.2%
StaticFile.__init__whitenoise/responders.py:752 ms5.2%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms5.2%
Headers.get<stdlib>/wsgiref/headers.py:1062 ms5.2%
StaticFile.__init__whitenoise/responders.py:762 ms5.2%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1882 ms5.2%
Headers.__contains__<stdlib>/wsgiref/headers.py:872 ms5.2%
Headers.get<stdlib>/wsgiref/headers.py:1052 ms5.2%
StaticFile.__init__whitenoise/responders.py:722 ms5.2%
StaticFile.get_file_statswhitenoise/responders.py:1612 ms5.2%
WhiteNoise.get_static_filewhitenoise/base.py:2032 ms5.2%
WhiteNoise.add_cache_headerswhitenoise/base.py:2242 ms5.2%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1762 ms5.2%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1972 ms5.2%
URLMixin.urldebug_toolbar/panels/staticfiles.py:202 ms5.2%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2052 ms5.2%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:1782 ms5.2%
WhiteNoise.get_static_filewhitenoise/base.py:2022 ms5.2%
WhiteNoise.add_mime_headerswhitenoise/base.py:2212 ms5.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1154 ms10.3%
scantreewhitenoise/base.py:2624 ms10.3%
scantreewhitenoise/base.py:2624 ms10.3%
scantreewhitenoise/base.py:2622 ms5.2%
scantreewhitenoise/base.py:2622 ms5.2%
scantreewhitenoise/base.py:2622 ms5.2%
scantreewhitenoise/base.py:2642 ms5.2%
scantreewhitenoise/base.py:2602 ms5.2%
TransactionTestCase._pre_setupdjango/test/testcases.py:1164 cls._fixture_setup()4 ms10.3%
TestCase._fixture_setupdjango/test/testcases.py:14784 ms10.3%
TestCase._enter_atomicsdjango/test/testcases.py:13964 ms10.3%
Atomic.__enter__django/db/transaction.py:2114 ms10.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:264 ms10.3%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4004 ms10.3%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3674 ms10.3%
CursorWrapper.executedjango/db/backends/utils.py:794 ms10.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms10.3%
CursorWrapper._executedjango/db/backends/utils.py:1034 ms10.3%
Cursor.executepsycopg/cursor.py:1134 ms10.3%
Connection.waitpsycopg/connection.py:4954 ms10.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms5.2%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:3172 ms5.2%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()4 ms10.3%
TestCase._fixture_teardowndjango/test/testcases.py:14952 ms5.2%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4832 ms5.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms5.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms5.2%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms5.2%
Cursor.executepsycopg/cursor.py:1132 ms5.2%
Connection.waitpsycopg/connection.py:4952 ms5.2%
TestCase._fixture_teardowndjango/test/testcases.py:14972 ms5.2%
TestCase._rollback_atomicsdjango/test/testcases.py:14052 ms5.2%
Atomic.__exit__django/db/transaction.py:2862 ms5.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms5.2%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4312 ms5.2%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3752 ms5.2%
CursorWrapper.executedjango/db/backends/utils.py:792 ms5.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms5.2%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms5.2%
Cursor.executepsycopg/cursor.py:1132 ms5.2%
Connection.waitpsycopg/connection.py:4952 ms5.2%
Estimated from 19 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
apps/mcp/tests.py:67
return self.client.post(
McpTest.post
· Libraries
|
32 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.05 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _django_db_marker function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.02 ms |
Database
6 queries · 2 msNo repeated queries.
Biggest pieces of work
|
call test body
apps/mcp/tests.py:140
|
32 ms |
|
call _pre_setup
django/test/testcases.py:1164
|
4 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
4 ms |
Reliability
12 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 12 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 16 hours ago | CI github-actions:test | passed | 41 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 17 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 38 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 31 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 45 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 20 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 39 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 38 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 39 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 49 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 21 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 41 ms | Profile |