CI
github-actions:test
15 runs
Average
35 ms
median 38 ms
max 60 ms
max 60 ms
Phases
Setup 0.62 ms
Call 34 ms
Teardown 0.14 ms
Categories
Database 8 ms
Test code 0.49 ms
Other (Libraries, Unsampled, pytest, Serialization) 27 ms
7 database queries per run
Needs 88 KB of memory (max 268 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
setup0.53 ms2.0%
call26 ms97.5%
McpTest.test_initializeapps/mcp/tests.py:89 body = self.rpc("initialize", {"protocolVersion": PROTOCOL_VERSION, "capabilities": {}, "clientInfo": {}})16 ms57.4%
McpTest.rpcapps/mcp/tests.py:7516 ms57.4%
McpTest.postapps/mcp/tests.py:67 return self.client.post(16 ms57.4%
Client.postdjango/test/client.py:115316 ms57.4%
RequestFactory.postdjango/test/client.py:49916 ms57.4%
RequestFactory.genericdjango/test/client.py:67116 ms57.4%
Client.requestdjango/test/client.py:108216 ms57.4%
ClientHandler.__call__django/test/client.py:17316 ms57.4%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6216 ms57.4%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10416 ms57.4%
WhiteNoise.add_fileswhitenoise/base.py:10816 ms57.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12012 ms45.9%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13111 ms40.2%
WhiteNoise.get_static_filewhitenoise/base.py:2086 ms22.9%
StaticFile.__init__whitenoise/responders.py:773 ms11.5%
StaticFile.get_alternativeswhitenoise/responders.py:2003 ms11.5%
__init____init__:-12 ms5.7%
StaticFile.__init__whitenoise/responders.py:732 ms5.7%
StaticFile.get_headerswhitenoise/responders.py:1762 ms5.7%
formatdate<stdlib>/email/utils.py:2662 ms5.7%
WhiteNoise.get_static_filewhitenoise/base.py:2023 ms11.5%
WhiteNoise.add_mime_headerswhitenoise/base.py:2162 ms5.7%
WhiteNoise.add_mime_headerswhitenoise/base.py:2212 ms5.7%
WhiteNoise.get_static_filewhitenoise/base.py:2032 ms5.7%
WhiteNoise.add_cache_headerswhitenoise/base.py:2242 ms5.7%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1762 ms5.7%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1972 ms5.7%
URLMixin.urldebug_toolbar/panels/staticfiles.py:202 ms5.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1153 ms11.5%
scantreewhitenoise/base.py:2642 ms5.7%
scantreewhitenoise/base.py:2622 ms5.7%
scantreewhitenoise/base.py:2622 ms5.7%
scantreewhitenoise/base.py:2642 ms5.7%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()11 ms40.2%
TestCase._fixture_teardowndjango/test/testcases.py:149511 ms40.2%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:48311 ms40.2%
CursorWrapper.executedjango/db/backends/utils.py:7911 ms40.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9211 ms40.2%
CursorWrapper._executedjango/db/backends/utils.py:10311 ms40.2%
Cursor.executepsycopg/cursor.py:11311 ms40.2%
Connection.waitpsycopg/connection.py:49511 ms40.2%
Estimated from 18 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
|
16 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.04 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
7 queries · 3 msNo repeated queries.
Biggest pieces of work
|
call test body
apps/mcp/tests.py:89
|
16 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
11 ms |
| setup pytest internals | 0.53 ms |
Reliability
15 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 15 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 2 weeks ago | CI github-actions:test | passed | 27 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 38 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 17 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 37 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 19 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 46 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 34 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 60 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 22 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 39 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 38 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 38 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 43 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 19 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 50 ms | Profile |