CI
github-actions:test
12 runs
Average
45 ms
median 49 ms
max 60 ms
max 60 ms
Phases
Setup 0.69 ms
Call 44 ms
Teardown 0.16 ms
Categories
Database 13 ms
App code 0.62 ms
Other (Libraries, Unsampled, pytest, Serialization) 31 ms
19 database queries per run
Needs 76 KB of memory (max 848 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 16 hours ago ·
open run
call43 ms97.9%
McpTest.test_errorsapps/mcp/tests.py:167 response = self.client.post(23 ms51.3%
Client.postdjango/test/client.py:115323 ms51.3%
RequestFactory.postdjango/test/client.py:49923 ms51.3%
RequestFactory.genericdjango/test/client.py:67123 ms51.3%
Client.requestdjango/test/client.py:108223 ms51.3%
ClientHandler.__call__django/test/client.py:17319 ms42.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6219 ms42.0%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10419 ms42.0%
WhiteNoise.add_fileswhitenoise/base.py:10819 ms42.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12016 ms37.3%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13114 ms32.6%
WhiteNoise.get_static_filewhitenoise/base.py:20810 ms23.3%
StaticFile.__init__whitenoise/responders.py:722 ms4.7%
StaticFile.get_file_statswhitenoise/responders.py:1622 ms4.7%
StaticFile.__init__whitenoise/responders.py:762 ms4.7%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1882 ms4.7%
StaticFile.__init__whitenoise/responders.py:732 ms4.7%
StaticFile.get_headerswhitenoise/responders.py:1672 ms4.7%
StaticFile.__init__whitenoise/responders.py:742 ms4.7%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms4.7%
WhiteNoise.get_static_filewhitenoise/base.py:2122 ms4.7%
WhiteNoise.get_static_filewhitenoise/base.py:2032 ms4.7%
WhiteNoise.add_cache_headerswhitenoise/base.py:2242 ms4.7%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1762 ms4.7%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1972 ms4.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1152 ms4.7%
scantreewhitenoise/base.py:2622 ms4.7%
scantreewhitenoise/base.py:2622 ms4.7%
scantreewhitenoise/base.py:2642 ms4.7%
ClientHandler.__call__django/test/client.py:1864 ms9.3%
BaseHandler.get_responsedjango/core/handlers/base.py:1414 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1304 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1234 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3082 ms4.7%
MessageMiddleware.process_requestdjango/contrib/messages/middleware.py:122 ms4.7%
default_storagedjango/contrib/messages/storage/__init__.py:122 ms4.7%
FallbackStorage.__init__django/contrib/messages/storage/fallback.py:172 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:342 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
BaseHandler._get_responsedjango/core/handlers/base.py:1982 ms4.7%
csrf_exempt.<locals>._view_wrapperdjango/views/decorators/csrf.py:652 ms4.7%
mcpapps/mcp/urls.py:1252 ms4.7%
authenticateapps/mcp/urls.py:55 project = Project.objects.filter(secrettokens__token=token).first()2 ms4.7%
QuerySet.firstdjango/db/models/query.py:11452 ms4.7%
QuerySet.__iter__django/db/models/query.py:3902 ms4.7%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms4.7%
ModelIterable.__iter__django/db/models/query.py:952 ms4.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms4.7%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.7%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms4.7%
Cursor.executepsycopg/cursor.py:1132 ms4.7%
Connection.waitpsycopg/connection.py:4952 ms4.7%
McpTest.test_errorsapps/mcp/tests.py:1714 ms9.3%
McpTest.rpcapps/mcp/tests.py:754 ms9.3%
McpTest.postapps/mcp/tests.py:67 return self.client.post(4 ms9.3%
Client.postdjango/test/client.py:11534 ms9.3%
RequestFactory.postdjango/test/client.py:4994 ms9.3%
RequestFactory.genericdjango/test/client.py:6714 ms9.3%
Client.requestdjango/test/client.py:10824 ms9.3%
ClientHandler.__call__django/test/client.py:1864 ms9.3%
BaseHandler.get_responsedjango/core/handlers/base.py:1414 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1304 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1234 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:344 ms9.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.3%
BaseHandler._get_responsedjango/core/handlers/base.py:1984 ms9.3%
csrf_exempt.<locals>._view_wrapperdjango/views/decorators/csrf.py:654 ms9.3%
mcpapps/mcp/urls.py:1252 ms4.7%
authenticateapps/mcp/urls.py:55 project = Project.objects.filter(secrettokens__token=token).first()2 ms4.7%
QuerySet.firstdjango/db/models/query.py:11452 ms4.7%
QuerySet.__iter__django/db/models/query.py:3902 ms4.7%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms4.7%
ModelIterable.__iter__django/db/models/query.py:952 ms4.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms4.7%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.7%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms4.7%
Cursor.executepsycopg/cursor.py:1132 ms4.7%
Connection.waitpsycopg/connection.py:4952 ms4.7%
mcpapps/mcp/urls.py:138 tools = Tools(project, request.build_absolute_uri("/"))2 ms4.7%
__init____init__:-12 ms4.7%
TransactionTestCase._pre_setupdjango/test/testcases.py:1164 cls._fixture_setup()2 ms4.7%
TestCase._fixture_setupdjango/test/testcases.py:14782 ms4.7%
TestCase._enter_atomicsdjango/test/testcases.py:13962 ms4.7%
Atomic.__enter__django/db/transaction.py:2112 ms4.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms4.7%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4002 ms4.7%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3672 ms4.7%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.7%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms4.7%
Cursor.executepsycopg/cursor.py:1132 ms4.7%
Connection.waitpsycopg/connection.py:4952 ms4.7%
McpTest.test_errorsapps/mcp/tests.py:1722 ms4.7%
McpTest.postapps/mcp/tests.py:67 return self.client.post(2 ms4.7%
Client.postdjango/test/client.py:11532 ms4.7%
RequestFactory.postdjango/test/client.py:4992 ms4.7%
RequestFactory.genericdjango/test/client.py:6712 ms4.7%
Client.requestdjango/test/client.py:10822 ms4.7%
ClientHandler.__call__django/test/client.py:1862 ms4.7%
BaseHandler.get_responsedjango/core/handlers/base.py:1412 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1302 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1232 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:342 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
BaseHandler._get_responsedjango/core/handlers/base.py:1982 ms4.7%
csrf_exempt.<locals>._view_wrapperdjango/views/decorators/csrf.py:652 ms4.7%
mcpapps/mcp/urls.py:1252 ms4.7%
authenticateapps/mcp/urls.py:55 project = Project.objects.filter(secrettokens__token=token).first()2 ms4.7%
QuerySet.firstdjango/db/models/query.py:11452 ms4.7%
QuerySet.__iter__django/db/models/query.py:3902 ms4.7%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms4.7%
ModelIterable.__iter__django/db/models/query.py:952 ms4.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms4.7%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.7%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms4.7%
Cursor.executepsycopg/cursor.py:1132 ms4.7%
Connection.waitpsycopg/connection.py:4952 ms4.7%
McpTest.test_errorsapps/mcp/tests.py:1742 ms4.7%
McpTest.postapps/mcp/tests.py:67 return self.client.post(2 ms4.7%
Client.postdjango/test/client.py:11532 ms4.7%
RequestFactory.postdjango/test/client.py:4992 ms4.7%
RequestFactory.genericdjango/test/client.py:6712 ms4.7%
Client.requestdjango/test/client.py:10822 ms4.7%
ClientHandler.__call__django/test/client.py:1862 ms4.7%
BaseHandler.get_responsedjango/core/handlers/base.py:1412 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1302 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1232 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:342 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
BaseHandler._get_responsedjango/core/handlers/base.py:1982 ms4.7%
csrf_exempt.<locals>._view_wrapperdjango/views/decorators/csrf.py:652 ms4.7%
mcpapps/mcp/urls.py:1252 ms4.7%
authenticateapps/mcp/urls.py:55 project = Project.objects.filter(secrettokens__token=token).first()2 ms4.7%
QuerySet.firstdjango/db/models/query.py:11452 ms4.7%
QuerySet.__iter__django/db/models/query.py:3902 ms4.7%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms4.7%
ModelIterable.__iter__django/db/models/query.py:952 ms4.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms4.7%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.7%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms4.7%
Cursor.executepsycopg/cursor.py:1132 ms4.7%
Connection.waitpsycopg/connection.py:4952 ms4.7%
McpTest.test_errorsapps/mcp/tests.py:1762 ms4.7%
McpTest.rpcapps/mcp/tests.py:752 ms4.7%
McpTest.postapps/mcp/tests.py:67 return self.client.post(2 ms4.7%
Client.postdjango/test/client.py:11532 ms4.7%
RequestFactory.postdjango/test/client.py:4992 ms4.7%
RequestFactory.genericdjango/test/client.py:6712 ms4.7%
Client.requestdjango/test/client.py:10822 ms4.7%
ClientHandler.__call__django/test/client.py:1862 ms4.7%
BaseHandler.get_responsedjango/core/handlers/base.py:1412 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1302 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1232 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:342 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
BaseHandler._get_responsedjango/core/handlers/base.py:1982 ms4.7%
csrf_exempt.<locals>._view_wrapperdjango/views/decorators/csrf.py:652 ms4.7%
mcpapps/mcp/urls.py:1252 ms4.7%
authenticateapps/mcp/urls.py:55 project = Project.objects.filter(secrettokens__token=token).first()2 ms4.7%
QuerySet.firstdjango/db/models/query.py:11452 ms4.7%
QuerySet.__iter__django/db/models/query.py:3902 ms4.7%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms4.7%
ModelIterable.__iter__django/db/models/query.py:952 ms4.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms4.7%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.7%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms4.7%
Cursor.executepsycopg/cursor.py:1132 ms4.7%
Connection.waitpsycopg/connection.py:4952 ms4.7%
McpTest.test_errorsapps/mcp/tests.py:1782 ms4.7%
McpTest.rpcapps/mcp/tests.py:752 ms4.7%
McpTest.postapps/mcp/tests.py:67 return self.client.post(2 ms4.7%
Client.postdjango/test/client.py:11532 ms4.7%
RequestFactory.postdjango/test/client.py:4992 ms4.7%
RequestFactory.genericdjango/test/client.py:6712 ms4.7%
Client.requestdjango/test/client.py:10822 ms4.7%
ClientHandler.__call__django/test/client.py:1862 ms4.7%
BaseHandler.get_responsedjango/core/handlers/base.py:1412 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1302 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1232 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:342 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
BaseHandler._get_responsedjango/core/handlers/base.py:1982 ms4.7%
csrf_exempt.<locals>._view_wrapperdjango/views/decorators/csrf.py:652 ms4.7%
mcpapps/mcp/urls.py:1252 ms4.7%
authenticateapps/mcp/urls.py:55 project = Project.objects.filter(secrettokens__token=token).first()2 ms4.7%
QuerySet.firstdjango/db/models/query.py:11452 ms4.7%
QuerySet.__iter__django/db/models/query.py:3902 ms4.7%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms4.7%
ModelIterable.__iter__django/db/models/query.py:952 ms4.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms4.7%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.7%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms4.7%
Cursor.executepsycopg/cursor.py:1132 ms4.7%
Connection.waitpsycopg/connection.py:4952 ms4.7%
McpTest.test_errorsapps/mcp/tests.py:1802 ms4.7%
McpTest.rpcapps/mcp/tests.py:752 ms4.7%
McpTest.postapps/mcp/tests.py:67 return self.client.post(2 ms4.7%
Client.postdjango/test/client.py:11532 ms4.7%
RequestFactory.postdjango/test/client.py:4992 ms4.7%
RequestFactory.genericdjango/test/client.py:6712 ms4.7%
Client.requestdjango/test/client.py:10822 ms4.7%
ClientHandler.__call__django/test/client.py:1862 ms4.7%
BaseHandler.get_responsedjango/core/handlers/base.py:1412 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1302 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1232 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:342 ms4.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.7%
BaseHandler._get_responsedjango/core/handlers/base.py:1982 ms4.7%
csrf_exempt.<locals>._view_wrapperdjango/views/decorators/csrf.py:652 ms4.7%
mcpapps/mcp/urls.py:1252 ms4.7%
authenticateapps/mcp/urls.py:55 project = Project.objects.filter(secrettokens__token=token).first()2 ms4.7%
QuerySet.firstdjango/db/models/query.py:11452 ms4.7%
QuerySet.__iter__django/db/models/query.py:3902 ms4.7%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms4.7%
ModelIterable.__iter__django/db/models/query.py:952 ms4.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms4.7%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.7%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms4.7%
Cursor.executepsycopg/cursor.py:1132 ms4.7%
Connection.waitpsycopg/connection.py:4952 ms4.7%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()2 ms4.7%
TestCase._fixture_teardowndjango/test/testcases.py:14952 ms4.7%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4832 ms4.7%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.7%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms4.7%
Cursor.executepsycopg/cursor.py:1132 ms4.7%
Connection.waitpsycopg/connection.py:4952 ms4.7%
Estimated from 21 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
apps/mcp/tests.py:167
response = self.client.post(
McpTest.test_errors
· Libraries
|
21 ms |
|
apps/mcp/urls.py:55
project = Project.objects.filter(secrettokens__token=token).first()
authenticate
· Database
|
14 ms |
|
apps/mcp/urls.py:138
tools = Tools(project, request.build_absolute_uri("/"))
mcp
· Libraries
|
2 ms |
Fixtures
Exact setup time| _django_set_urlconf function | 0.06 ms |
| _dj_autoclear_mailbox function | 0.05 ms |
| _django_db_marker function | 0.04 ms |
| _live_server_helper function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.03 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
19 queries · 7 ms
Repeated queries are usually N+1 lookups: fetch them once with select_related / prefetch_related (or selectinload).
7×
SELECT "projects_project"."id", "projects_project"."organization_id", "projects_project"."name", "projects_project"."slug", "projects_project"."public", "projects_project"."description", "projects_project"."date_created", "projects_project"."date_updated", "projects_project"."created_by_id" FROM "p…
7×
UPDATE "projects_secrettokens" SET "date_last_used" = %s WHERE "projects_secrettokens"."token" = %s
Biggest pieces of work
|
call test body
apps/mcp/tests.py:167
|
37 ms |
|
call _pre_setup
django/test/testcases.py:1164
|
2 ms |
| call pytest internals | 2 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
2 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 | 44 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 26 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 48 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 40 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 57 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 27 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 52 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 53 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 50 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 60 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 27 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 52 ms | Profile |