CI
github-actions:test
5 runs
Average
38 ms
median 38 ms
max 50 ms
max 50 ms
Phases
Setup 0.72 ms
Call 37 ms
Teardown 0.16 ms
Categories
Database 6 ms
Other (Libraries, Unsampled, pytest) 32 ms
7 database queries per run
Needs 0 KB of memory (max 0 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 44 minutes ago ·
open run
call37 ms97.9%
McpTest.test_initializeapps/mcp/tests.py:88 body = self.rpc("initialize", {"protocolVersion": PROTOCOL_VERSION, "capabilities": {}, "clientInfo": {}})32 ms83.2%
McpTest.rpcapps/mcp/tests.py:7432 ms83.2%
McpTest.postapps/mcp/tests.py:66 return self.client.post(32 ms83.2%
Client.postdjango/test/client.py:115332 ms83.2%
RequestFactory.postdjango/test/client.py:49932 ms83.2%
RequestFactory.genericdjango/test/client.py:67132 ms83.2%
Client.requestdjango/test/client.py:108232 ms83.2%
ClientHandler.__call__django/test/client.py:17328 ms73.4%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6228 ms73.4%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10426 ms68.5%
WhiteNoise.add_fileswhitenoise/base.py:10826 ms68.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12022 ms58.7%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13122 ms58.7%
WhiteNoise.get_static_filewhitenoise/base.py:20815 ms39.1%
StaticFile.__init__whitenoise/responders.py:737 ms19.6%
StaticFile.get_headerswhitenoise/responders.py:1784 ms9.8%
parsedate<stdlib>/email/_parseaddr.py:1854 ms9.8%
StaticFile.get_headerswhitenoise/responders.py:1764 ms9.8%
formatdate<stdlib>/email/utils.py:2662 ms4.9%
StaticFile.__init__whitenoise/responders.py:726 ms14.7%
StaticFile.get_file_statswhitenoise/responders.py:1612 ms4.9%
__init____init__:-12 ms4.9%
FileEntry.__init__whitenoise/responders.py:2602 ms4.9%
<GC>~2 ms4.9%
StaticFile.__init__whitenoise/responders.py:762 ms4.9%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1882 ms4.9%
WhiteNoise.get_static_filewhitenoise/base.py:2036 ms14.7%
WhiteNoise.add_cache_headerswhitenoise/base.py:2246 ms14.7%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1764 ms9.8%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1974 ms9.8%
URLMixin.urldebug_toolbar/panels/staticfiles.py:204 ms9.8%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2052 ms4.9%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:1862 ms4.9%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1154 ms9.8%
scantreewhitenoise/base.py:2624 ms9.8%
scantreewhitenoise/base.py:2622 ms4.9%
scantreewhitenoise/base.py:2622 ms4.9%
scantreewhitenoise/base.py:2622 ms4.9%
scantreewhitenoise/base.py:2622 ms4.9%
scantreewhitenoise/base.py:2642 ms4.9%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1112 ms4.9%
WhiteNoise.add_fileswhitenoise/base.py:1082 ms4.9%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1152 ms4.9%
scantreewhitenoise/base.py:2642 ms4.9%
ClientHandler.__call__django/test/client.py:1864 ms9.8%
BaseHandler.get_responsedjango/core/handlers/base.py:1414 ms9.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.8%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1304 ms9.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.8%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1234 ms9.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.8%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms9.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.8%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:344 ms9.8%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms9.8%
BaseHandler._get_responsedjango/core/handlers/base.py:1984 ms9.8%
csrf_exempt.<locals>._view_wrapperdjango/views/decorators/csrf.py:654 ms9.8%
mcpapps/mcp/urls.py:1254 ms9.8%
authenticateapps/mcp/urls.py:55 project = Project.objects.filter(secrettokens__token=token).first()2 ms4.9%
QuerySet.firstdjango/db/models/query.py:11452 ms4.9%
QuerySet.__iter__django/db/models/query.py:3902 ms4.9%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms4.9%
ModelIterable.__iter__django/db/models/query.py:952 ms4.9%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16112 ms4.9%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7672 ms4.9%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:862 ms4.9%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:752 ms4.9%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3172 ms4.9%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5742 ms4.9%
authenticateapps/mcp/urls.py:57 SecretTokens.objects.filter(token=token).update(date_last_used=timezone.now())2 ms4.9%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:872 ms4.9%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()6 ms14.7%
TestCase._fixture_teardowndjango/test/testcases.py:14942 ms4.9%
TestCase._should_check_constraintsdjango/test/testcases.py:15032 ms4.9%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:4922 ms4.9%
Cursor.executepsycopg/cursor.py:1132 ms4.9%
Connection.waitpsycopg/connection.py:4952 ms4.9%
TestCase._fixture_teardowndjango/test/testcases.py:14952 ms4.9%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4832 ms4.9%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.9%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms4.9%
Cursor.executepsycopg/cursor.py:1132 ms4.9%
Connection.waitpsycopg/connection.py:4952 ms4.9%
TestCase._fixture_teardowndjango/test/testcases.py:14972 ms4.9%
TestCase._rollback_atomicsdjango/test/testcases.py:14052 ms4.9%
Atomic.__exit__django/db/transaction.py:2862 ms4.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms4.9%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4312 ms4.9%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3752 ms4.9%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.9%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms4.9%
Cursor.executepsycopg/cursor.py:1132 ms4.9%
Connection.waitpsycopg/connection.py:4952 ms4.9%
Estimated from 20 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
apps/mcp/tests.py:66
return self.client.post(
McpTest.post
· Libraries
|
28 ms |
|
apps/mcp/urls.py:55
project = Project.objects.filter(secrettokens__token=token).first()
authenticate
· Database
|
2 ms |
|
apps/mcp/urls.py:57
SecretTokens.objects.filter(token=token).update(date_last_used=timezone.now())
authenticate
· Database
|
2 ms |
Fixtures
Exact setup time| _live_server_helper function | 0.05 ms |
| _django_set_urlconf function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _dj_autoclear_mailbox function | 0.03 ms |
| _django_db_marker 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:88
|
32 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
6 ms |
Reliability
5 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 5 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 44 minutes ago | CI github-actions:test | passed | 38 ms | Profile |
| an hour ago | CI github-actions:test | passed | 38 ms | Profile |
| 7 hours ago | CI github-actions:test | passed | 43 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 19 ms | Profile |
| 8 hours ago | CI github-actions:test | passed | 50 ms | Profile |