CI
github-actions:test
15 runs
Average
39 ms
median 43 ms
max 57 ms
max 57 ms
Phases
Setup 0.63 ms
Call 38 ms
Teardown 0.15 ms
Categories
Database 15 ms
App code 0.31 ms
Other (Libraries, Unsampled, pytest) 24 ms
10 database queries per run
Needs 127 KB of memory (max 548 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
call31 ms98.1%
McpTest.test_list_memory_testsapps/mcp/tests.py:205 result = self.call("list_memory_tests", limit=5)29 ms91.1%
McpTest.callapps/mcp/tests.py:8229 ms91.1%
McpTest.rpcapps/mcp/tests.py:7529 ms91.1%
McpTest.postapps/mcp/tests.py:67 return self.client.post(29 ms91.1%
Client.postdjango/test/client.py:115329 ms91.1%
RequestFactory.postdjango/test/client.py:49929 ms91.1%
RequestFactory.genericdjango/test/client.py:67129 ms91.1%
Client.requestdjango/test/client.py:108229 ms91.1%
ClientHandler.__call__django/test/client.py:17318 ms56.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6216 ms49.0%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10416 ms49.0%
WhiteNoise.add_fileswhitenoise/base.py:10816 ms49.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12011 ms35.0%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13111 ms35.0%
WhiteNoise.get_static_filewhitenoise/base.py:2087 ms21.0%
StaticFile.__init__whitenoise/responders.py:734 ms14.0%
StaticFile.get_headerswhitenoise/responders.py:1702 ms7.0%
StaticFile.get_headerswhitenoise/responders.py:1762 ms7.0%
formatdate<stdlib>/email/utils.py:2662 ms7.0%
StaticFile.__init__whitenoise/responders.py:772 ms7.0%
StaticFile.get_alternativeswhitenoise/responders.py:2002 ms7.0%
WhiteNoise.get_static_filewhitenoise/base.py:2032 ms7.0%
WhiteNoise.add_cache_headerswhitenoise/base.py:2242 ms7.0%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1762 ms7.0%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1972 ms7.0%
URLMixin.urldebug_toolbar/panels/staticfiles.py:202 ms7.0%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2052 ms7.0%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:1782 ms7.0%
WhiteNoise.get_static_filewhitenoise/base.py:2122 ms7.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1154 ms14.0%
scantreewhitenoise/base.py:2624 ms14.0%
scantreewhitenoise/base.py:2622 ms7.0%
scantreewhitenoise/base.py:2642 ms7.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:962 ms7.0%
convert_exception_to_responsedjango/core/handlers/exception.py:372 ms7.0%
iscoroutinefunction<stdlib>/inspect.py:336 return _has_code_flag(obj, CO_COROUTINE) or _has_coroutine_mark(obj)2 ms7.0%
_has_code_flag<stdlib>/inspect.py:2992 ms7.0%
ClientHandler.__call__django/test/client.py:18611 ms35.0%
BaseHandler.get_responsedjango/core/handlers/base.py:14111 ms35.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5511 ms35.0%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:13011 ms35.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5511 ms35.0%
MiddlewareMixin.__call__django/utils/deprecation.py:30911 ms35.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5511 ms35.0%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12311 ms35.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5511 ms35.0%
MiddlewareMixin.__call__django/utils/deprecation.py:30911 ms35.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5511 ms35.0%
MiddlewareMixin.__call__django/utils/deprecation.py:30911 ms35.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5511 ms35.0%
MiddlewareMixin.__call__django/utils/deprecation.py:30911 ms35.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5511 ms35.0%
MiddlewareMixin.__call__django/utils/deprecation.py:30911 ms35.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5511 ms35.0%
MiddlewareMixin.__call__django/utils/deprecation.py:30911 ms35.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5511 ms35.0%
MiddlewareMixin.__call__django/utils/deprecation.py:30911 ms35.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5511 ms35.0%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:3411 ms35.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5511 ms35.0%
BaseHandler._get_responsedjango/core/handlers/base.py:19811 ms35.0%
csrf_exempt.<locals>._view_wrapperdjango/views/decorators/csrf.py:6511 ms35.0%
mcpapps/mcp/urls.py:1477 ms21.0%
handleapps/mcp/urls.py:1157 ms21.0%
call_toolapps/mcp/urls.py:757 ms21.0%
Tools.callapps/mcp/tools.py:1887 ms21.0%
Tools.list_memory_testsapps/mcp/tools.py:2694 ms14.0%
memory_testsapps/projects/analytics.py:504 rows = list(2 ms7.0%
QuerySet.__iter__django/db/models/query.py:3902 ms7.0%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms7.0%
ValuesIterable.__iter__django/db/models/query.py:2222 ms7.0%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15732 ms7.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms7.0%
CursorWrapper.executedjango/db/backends/utils.py:792 ms7.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms7.0%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms7.0%
Cursor.executepsycopg/cursor.py:1132 ms7.0%
Connection.waitpsycopg/connection.py:4952 ms7.0%
memory_testsapps/projects/analytics.py:518 scope.perf()2 ms7.0%
QuerySet.__iter__django/db/models/query.py:3902 ms7.0%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms7.0%
ModelIterable.__iter__django/db/models/query.py:952 ms7.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16112 ms7.0%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7672 ms7.0%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:862 ms7.0%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:752 ms7.0%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3002 ms7.0%
SQLCompiler.get_related_selectionsdjango/db/models/sql/compiler.py:12662 ms7.0%
SQLCompiler.get_related_selectionsdjango/db/models/sql/compiler.py:12812 ms7.0%
Tools.list_memory_testsapps/mcp/tools.py:271 "scope": scope.label,2 ms7.0%
mcpapps/mcp/urls.py:1254 ms14.0%
authenticateapps/mcp/urls.py:55 project = Project.objects.filter(secrettokens__token=token).first()2 ms7.0%
QuerySet.firstdjango/db/models/query.py:11452 ms7.0%
QuerySet.__iter__django/db/models/query.py:3902 ms7.0%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms7.0%
ModelIterable.__iter__django/db/models/query.py:952 ms7.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms7.0%
CursorWrapper.executedjango/db/backends/utils.py:792 ms7.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms7.0%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms7.0%
Cursor.executepsycopg/cursor.py:1132 ms7.0%
Connection.waitpsycopg/connection.py:4952 ms7.0%
authenticateapps/mcp/urls.py:57 SecretTokens.objects.filter(token=token).update(date_last_used=timezone.now())2 ms7.0%
QuerySet.updatedjango/db/models/query.py:13002 ms7.0%
SQLUpdateCompiler.execute_sqldjango/db/models/sql/compiler.py:21112 ms7.0%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16112 ms7.0%
SQLUpdateCompiler.as_sqldjango/db/models/sql/compiler.py:20882 ms7.0%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5782 ms7.0%
WhereNode.as_sqldjango/db/models/sql/where.py:1512 ms7.0%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5782 ms7.0%
Exact.as_sqldjango/db/models/lookups.py:4072 ms7.0%
BuiltinLookup.as_sqldjango/db/models/lookups.py:2412 ms7.0%
Estimated from 14 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
|
18 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 |
|
apps/projects/analytics.py:504
rows = list(
memory_tests
· Database
|
2 ms |
|
apps/projects/analytics.py:518
scope.perf()
memory_tests
· Database
|
2 ms |
|
apps/mcp/tools.py:271
"scope": scope.label,
Tools.list_memory_tests
· App code
|
2 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.03 ms |
| _django_db_marker function | 0.03 ms |
| _live_server_helper function | 0.02 ms |
| _django_set_urlconf function | 0.02 ms |
| monkeypatch function | 0.02 ms |
| _django_clear_site_cache function | 0.02 ms |
Database
10 queries · 4 msNo repeated queries.
Biggest pieces of work
|
call test body
apps/mcp/tests.py:205
|
29 ms |
| call pytest internals | 2 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 | 32 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 45 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 25 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 45 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 21 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 43 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 38 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 55 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 25 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 45 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 44 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 | 57 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 24 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 47 ms | Profile |