CI
github-actions:test
12 runs
Average
37 ms
median 38 ms
max 60 ms
max 60 ms
Phases
Setup 0.64 ms
Call 36 ms
Teardown 0.15 ms
Categories
Database 9 ms
Test code 0.28 ms
Other (Libraries, Unsampled, pytest, Serialization) 28 ms
7 database queries per run
Needs 109 KB of memory (max 268 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 16 hours ago ·
open run
call36 ms97.8%
McpTest.test_initializeapps/mcp/tests.py:89 body = self.rpc("initialize", {"protocolVersion": PROTOCOL_VERSION, "capabilities": {}, "clientInfo": {}})29 ms80.0%
McpTest.rpcapps/mcp/tests.py:7529 ms80.0%
McpTest.postapps/mcp/tests.py:67 return self.client.post(29 ms80.0%
Client.postdjango/test/client.py:115329 ms80.0%
RequestFactory.postdjango/test/client.py:49929 ms80.0%
RequestFactory.genericdjango/test/client.py:67129 ms80.0%
Client.requestdjango/test/client.py:108229 ms80.0%
ClientHandler.__call__django/test/client.py:17326 ms71.1%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6226 ms71.1%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10423 ms62.2%
WhiteNoise.add_fileswhitenoise/base.py:10823 ms62.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12016 ms44.5%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13116 ms44.5%
WhiteNoise.get_static_filewhitenoise/base.py:20813 ms35.6%
StaticFile.__init__whitenoise/responders.py:723 ms8.9%
StaticFile.get_file_statswhitenoise/responders.py:1573 ms8.9%
StaticFile.__init__whitenoise/responders.py:743 ms8.9%
StaticFile.__init__whitenoise/responders.py:773 ms8.9%
StaticFile.get_alternativeswhitenoise/responders.py:2003 ms8.9%
StaticFile.__init__whitenoise/responders.py:763 ms8.9%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1883 ms8.9%
WhiteNoise.get_static_filewhitenoise/base.py:2023 ms8.9%
WhiteNoise.add_mime_headerswhitenoise/base.py:2213 ms8.9%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1156 ms17.8%
scantreewhitenoise/base.py:2626 ms17.8%
scantreewhitenoise/base.py:2626 ms17.8%
scantreewhitenoise/base.py:2623 ms8.9%
scantreewhitenoise/base.py:2603 ms8.9%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1113 ms8.9%
WhiteNoise.add_fileswhitenoise/base.py:1073 ms8.9%
isdir<frozen genericpath>:523 ms8.9%
ClientHandler.__call__django/test/client.py:1863 ms8.9%
BaseHandler.get_responsedjango/core/handlers/base.py:1413 ms8.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms8.9%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1303 ms8.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms8.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3093 ms8.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms8.9%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1233 ms8.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms8.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3093 ms8.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms8.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3093 ms8.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms8.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3093 ms8.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms8.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3093 ms8.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms8.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3093 ms8.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms8.9%
MiddlewareMixin.__call__django/utils/deprecation.py:3093 ms8.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms8.9%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:343 ms8.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:553 ms8.9%
BaseHandler._get_responsedjango/core/handlers/base.py:1983 ms8.9%
csrf_exempt.<locals>._view_wrapperdjango/views/decorators/csrf.py:653 ms8.9%
mcpapps/mcp/urls.py:1253 ms8.9%
authenticateapps/mcp/urls.py:57 SecretTokens.objects.filter(token=token).update(date_last_used=timezone.now())3 ms8.9%
QuerySet.updatedjango/db/models/query.py:13003 ms8.9%
SQLUpdateCompiler.execute_sqldjango/db/models/sql/compiler.py:21113 ms8.9%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16243 ms8.9%
CursorWrapper.executedjango/db/backends/utils.py:793 ms8.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:923 ms8.9%
CursorWrapper._executedjango/db/backends/utils.py:1053 ms8.9%
Cursor.executepsycopg/cursor.py:1133 ms8.9%
Connection.waitpsycopg/connection.py:4953 ms8.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2053 ms8.9%
BaseCursor._convert_querypsycopg/_cursor_base.py:4653 ms8.9%
PostgresClientQuery.convertpsycopg/_queries.py:2893 ms8.9%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()6 ms17.8%
TestCase._fixture_teardowndjango/test/testcases.py:14956 ms17.8%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4836 ms17.8%
CursorWrapper.executedjango/db/backends/utils.py:796 ms17.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:926 ms17.8%
CursorWrapper._executedjango/db/backends/utils.py:1036 ms17.8%
Cursor.executepsycopg/cursor.py:1136 ms17.8%
Connection.waitpsycopg/connection.py:4956 ms17.8%
Estimated from 11 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
|
26 ms |
|
apps/mcp/urls.py:57
SecretTokens.objects.filter(token=token).update(date_last_used=timezone.now())
authenticate
· Database
|
3 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.05 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_set_urlconf function | 0.03 ms |
| _live_server_helper function | 0.03 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
|
29 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
6 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 | 37 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 19 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 46 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 34 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 60 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 22 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 | 38 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 43 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 19 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 50 ms | Profile |