CI
github-actions:test
12 runs
Average
37 ms
median 40 ms
max 57 ms
max 57 ms
Phases
Setup 0.68 ms
Call 36 ms
Teardown 0.17 ms
Categories
Database 9 ms
Other (Libraries, pytest, Unsampled) 28 ms
7 database queries per run
Needs 181 KB of memory (max 436 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 16 hours ago ·
open run
call46 ms97.9%
McpTest.test_batch_of_notificationsapps/mcp/tests.py:163 response = self.post([{"jsonrpc": "2.0", "method": "notifications/initialized"}])45 ms95.5%
McpTest.postapps/mcp/tests.py:67 return self.client.post(45 ms95.5%
Client.postdjango/test/client.py:115345 ms95.5%
RequestFactory.postdjango/test/client.py:49945 ms95.5%
RequestFactory.genericdjango/test/client.py:67145 ms95.5%
Client.requestdjango/test/client.py:108245 ms95.5%
ClientHandler.__call__django/test/client.py:18630 ms64.4%
BaseHandler.get_responsedjango/core/handlers/base.py:14130 ms64.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms64.4%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:13030 ms64.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms64.4%
MiddlewareMixin.__call__django/utils/deprecation.py:30930 ms64.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms64.4%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12330 ms64.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms64.4%
MiddlewareMixin.__call__django/utils/deprecation.py:30930 ms64.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms64.4%
MiddlewareMixin.__call__django/utils/deprecation.py:30930 ms64.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms64.4%
MiddlewareMixin.__call__django/utils/deprecation.py:30930 ms64.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms64.4%
MiddlewareMixin.__call__django/utils/deprecation.py:30930 ms64.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms64.4%
MiddlewareMixin.__call__django/utils/deprecation.py:30930 ms64.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms64.4%
MiddlewareMixin.__call__django/utils/deprecation.py:30930 ms64.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms64.4%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:3430 ms64.4%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5530 ms64.4%
BaseHandler._get_responsedjango/core/handlers/base.py:19830 ms64.4%
csrf_exempt.<locals>._view_wrapperdjango/views/decorators/csrf.py:6530 ms64.4%
mcpapps/mcp/urls.py:12530 ms64.4%
authenticateapps/mcp/urls.py:55 project = Project.objects.filter(secrettokens__token=token).first()29 ms62.1%
QuerySet.firstdjango/db/models/query.py:114528 ms59.7%
QuerySet.__iter__django/db/models/query.py:39028 ms59.7%
QuerySet._fetch_alldjango/db/models/query.py:200028 ms59.7%
ModelIterable.__iter__django/db/models/query.py:9528 ms59.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:162424 ms50.1%
CursorWrapper.executedjango/db/backends/utils.py:7924 ms50.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9224 ms50.1%
CursorWrapper._executedjango/db/backends/utils.py:10524 ms50.1%
Cursor.executepsycopg/cursor.py:11324 ms50.1%
Connection.waitpsycopg/connection.py:49524 ms50.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2051 ms2.4%
BaseCursor._convert_querypsycopg/_cursor_base.py:4651 ms2.4%
PostgresClientQuery.convertpsycopg/_queries.py:2891 ms2.4%
PostgresClientQuery.dumppsycopg/_queries.py:2991 ms2.4%
PostgresClientQuery.dump.<locals>.<genexpr>psycopg/_queries.py:2991 ms2.4%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms2.4%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16115 ms9.5%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7673 ms7.2%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:872 ms4.8%
SQLCompiler.get_order_bydjango/db/models/sql/compiler.py:4911 ms2.4%
SQLCompiler._order_by_pairsdjango/db/models/sql/compiler.py:4741 ms2.4%
SQLCompiler.get_order_bydjango/db/models/sql/compiler.py:4921 ms2.4%
BaseExpression.resolve_expressiondjango/db/models/expressions.py:2971 ms2.4%
BaseExpression.copydjango/db/models/expressions.py:4441 ms2.4%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:861 ms2.4%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:751 ms2.4%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:2551 ms2.4%
SQLCompiler.get_default_columnsdjango/db/models/sql/compiler.py:10091 ms2.4%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7921 ms2.4%
SQLCompiler.get_from_clausedjango/db/models/sql/compiler.py:11591 ms2.4%
BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_methoddjango/db/models/manager.py:871 ms2.4%
QuerySet.filterdjango/db/models/query.py:15421 ms2.4%
QuerySet._filter_or_excludedjango/db/models/query.py:15601 ms2.4%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:15701 ms2.4%
Query.add_qdjango/db/models/sql/query.py:16711 ms2.4%
Query._add_qdjango/db/models/sql/query.py:17031 ms2.4%
Query.build_filterdjango/db/models/sql/query.py:15661 ms2.4%
Query.check_filterabledjango/db/models/sql/query.py:14041 ms2.4%
authenticateapps/mcp/urls.py:57 SecretTokens.objects.filter(token=token).update(date_last_used=timezone.now())1 ms2.4%
QuerySet.updatedjango/db/models/query.py:13001 ms2.4%
SQLUpdateCompiler.execute_sqldjango/db/models/sql/compiler.py:21111 ms2.4%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16241 ms2.4%
CursorWrapper.executedjango/db/backends/utils.py:791 ms2.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms2.4%
CursorWrapper._executedjango/db/backends/utils.py:1051 ms2.4%
Cursor.executepsycopg/cursor.py:1131 ms2.4%
Connection.waitpsycopg/connection.py:4951 ms2.4%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms2.4%
BaseCursor._convert_querypsycopg/_cursor_base.py:4651 ms2.4%
PostgresClientQuery.convertpsycopg/_queries.py:2891 ms2.4%
PostgresClientQuery.dumppsycopg/_queries.py:2991 ms2.4%
PostgresClientQuery.dump.<locals>.<genexpr>psycopg/_queries.py:3001 ms2.4%
ClientHandler.__call__django/test/client.py:17315 ms31.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6215 ms31.0%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10415 ms31.0%
WhiteNoise.add_fileswhitenoise/base.py:10815 ms31.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11510 ms21.5%
scantreewhitenoise/base.py:2628 ms16.7%
scantreewhitenoise/base.py:2627 ms14.3%
scantreewhitenoise/base.py:2625 ms9.5%
scantreewhitenoise/base.py:2625 ms9.5%
scantreewhitenoise/base.py:2623 ms7.2%
scantreewhitenoise/base.py:2642 ms4.8%
scantreewhitenoise/base.py:2601 ms2.4%
scantreewhitenoise/base.py:2611 ms2.4%
scantreewhitenoise/base.py:2642 ms4.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1205 ms9.5%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1315 ms9.5%
WhiteNoise.get_static_filewhitenoise/base.py:2085 ms9.5%
StaticFile.__init__whitenoise/responders.py:731 ms2.4%
StaticFile.get_headerswhitenoise/responders.py:1781 ms2.4%
parsedate<stdlib>/email/_parseaddr.py:1851 ms2.4%
StaticFile.__init__whitenoise/responders.py:741 ms2.4%
parsedate<stdlib>/email/_parseaddr.py:1851 ms2.4%
StaticFile.__init__whitenoise/responders.py:771 ms2.4%
WhiteNoise.add_cache_headerswhitenoise/base.py:2241 ms2.4%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1761 ms2.4%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1971 ms2.4%
URLMixin.urldebug_toolbar/panels/staticfiles.py:201 ms2.4%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2051 ms2.4%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:1841 ms2.4%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()1 ms2.4%
TestCase._fixture_teardowndjango/test/testcases.py:14951 ms2.4%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4831 ms2.4%
CursorWrapper.executedjango/db/backends/utils.py:791 ms2.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms2.4%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms2.4%
Cursor.executepsycopg/cursor.py:1131 ms2.4%
Connection.waitpsycopg/connection.py:4951 ms2.4%
Estimated from 41 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
apps/mcp/urls.py:55
project = Project.objects.filter(secrettokens__token=token).first()
authenticate
· Database
|
29 ms |
|
apps/mcp/tests.py:67
return self.client.post(
McpTest.post
· Libraries
|
15 ms |
|
apps/mcp/urls.py:57
SecretTokens.objects.filter(token=token).update(date_last_used=timezone.now())
authenticate
· Database
|
1 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.06 ms |
| _template_string_if_invalid_marker function | 0.05 ms |
| _django_db_marker function | 0.05 ms |
| _django_set_urlconf function | 0.04 ms |
| _live_server_helper function | 0.04 ms |
| _django_clear_site_cache 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:163
|
45 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
1 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 | 47 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 20 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 43 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 35 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 | 24 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 42 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 41 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 40 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 43 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 18 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 38 ms | Profile |