CI
github-actions:test
12 runs
Average
36 ms
median 37 ms
max 58 ms
max 58 ms
Phases
Setup 0.64 ms
Call 35 ms
Teardown 0.15 ms
Categories
Database 7 ms
Other (Libraries, Unsampled, pytest, Serialization) 29 ms
7 database queries per run
Needs 149 KB of memory (max 368 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 16 hours ago ·
open run
call35 ms97.8%
McpTest.test_pingapps/mcp/tests.py:110 self.assertEqual(self.rpc("ping")["result"], {})21 ms57.5%
McpTest.rpcapps/mcp/tests.py:7519 ms51.8%
McpTest.postapps/mcp/tests.py:67 return self.client.post(19 ms51.8%
Client.postdjango/test/client.py:115319 ms51.8%
RequestFactory.postdjango/test/client.py:49919 ms51.8%
RequestFactory.genericdjango/test/client.py:67119 ms51.8%
Client.requestdjango/test/client.py:108219 ms51.8%
ClientHandler.__call__django/test/client.py:17319 ms51.8%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6219 ms51.8%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10419 ms51.8%
WhiteNoise.add_fileswhitenoise/base.py:10819 ms51.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12012 ms34.5%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13112 ms34.5%
WhiteNoise.get_static_filewhitenoise/base.py:20812 ms34.5%
StaticFile.__init__whitenoise/responders.py:736 ms17.3%
StaticFile.get_headerswhitenoise/responders.py:1784 ms11.5%
parsedate<stdlib>/email/_parseaddr.py:1852 ms5.8%
StaticFile.get_headerswhitenoise/responders.py:1762 ms5.8%
formatdate<stdlib>/email/utils.py:2662 ms5.8%
StaticFile.__init__whitenoise/responders.py:742 ms5.8%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms5.8%
StaticFile.__init__whitenoise/responders.py:752 ms5.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1156 ms17.3%
scantreewhitenoise/base.py:2624 ms11.5%
scantreewhitenoise/base.py:2624 ms11.5%
scantreewhitenoise/base.py:2622 ms5.8%
scantreewhitenoise/base.py:2622 ms5.8%
scantreewhitenoise/base.py:2602 ms5.8%
scantreewhitenoise/base.py:2642 ms5.8%
scantreewhitenoise/base.py:2642 ms5.8%
McpTest.rpcapps/mcp/tests.py:77 body = response.json()2 ms5.8%
ClientMixin._parse_jsondjango/test/client.py:9522 ms5.8%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()14 ms40.3%
TestCase._fixture_teardowndjango/test/testcases.py:14906 ms17.3%
TestCase._databases_support_transactionsdjango/test/testcases.py:14096 ms17.3%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:4924 ms11.5%
Cursor.executepsycopg/cursor.py:1134 ms11.5%
Connection.waitpsycopg/connection.py:4954 ms11.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2064 ms11.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2864 ms11.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:784 ms11.5%
connections_support_transactionsdjango/test/testcases.py:13222 ms5.8%
TestCase._fixture_teardowndjango/test/testcases.py:14956 ms17.3%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4836 ms17.3%
CursorWrapper.executedjango/db/backends/utils.py:796 ms17.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:926 ms17.3%
CursorWrapper._executedjango/db/backends/utils.py:1036 ms17.3%
Cursor.executepsycopg/cursor.py:1136 ms17.3%
Connection.waitpsycopg/connection.py:4956 ms17.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:2064 ms11.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2864 ms11.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:784 ms11.5%
TestCase._fixture_teardowndjango/test/testcases.py:14942 ms5.8%
TestCase._should_check_constraintsdjango/test/testcases.py:15032 ms5.8%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:4922 ms5.8%
Cursor.executepsycopg/cursor.py:1132 ms5.8%
Connection.waitpsycopg/connection.py:4952 ms5.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms5.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:3122 ms5.8%
Estimated from 17 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
|
19 ms |
|
apps/mcp/tests.py:77
body = response.json()
McpTest.rpc
· Libraries
|
2 ms |
Fixtures
Exact setup time| _template_string_if_invalid_marker function | 0.05 ms |
| _dj_autoclear_mailbox function | 0.04 ms |
| _live_server_helper function | 0.03 ms |
| _django_db_marker function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| monkeypatch function | 0.02 ms |
| _django_clear_site_cache function | 0.02 ms |
Database
7 queries · 2 msNo repeated queries.
Biggest pieces of work
|
call test body
apps/mcp/tests.py:110
|
21 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
14 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 | 36 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 22 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 44 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 32 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 58 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 23 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 40 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 | 43 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 42 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 18 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 36 ms | Profile |