CI
github-actions:test
5 runs
Average
36 ms
median 41 ms
max 42 ms
max 42 ms
Phases
Setup 0.74 ms
Call 35 ms
Teardown 0.17 ms
Categories
Database 11 ms
Other (Libraries, pytest, Unsampled) 24 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, 2 hours ago ·
open run
call40 ms97.5%
CallInfo.from_call_pytest/runner.py:35340 ms97.5%
call_and_report.<locals>.<lambda>_pytest/runner.py:24540 ms97.5%
HookCaller.__call__pluggy/_hooks.py:51240 ms97.5%
PluginManager._hookexecpluggy/_manager.py:12040 ms97.5%
_multicallpluggy/_callers.py:12140 ms97.5%
pytest_runtest_call_pytest/runner.py:17940 ms97.5%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:57340 ms97.5%
SimpleTestCase.__call__django/test/testcases.py:31340 ms97.5%
SimpleTestCase._setup_and_calldjango/test/testcases.py:36835 ms87.2%
TestCase.__call__<stdlib>/unittest/case.py:74735 ms87.2%
TestCase.run<stdlib>/unittest/case.py:69135 ms87.2%
TestCase._callTestMethod<stdlib>/unittest/case.py:63735 ms87.2%
McpTest.test_initialized_notificationapps/mcp/tests.py:104 response = self.post({"jsonrpc": "2.0", "method": "notifications/initialized"})35 ms87.2%
McpTest.postapps/mcp/tests.py:66 return self.client.post(35 ms87.2%
Client.postdjango/test/client.py:115335 ms87.2%
RequestFactory.postdjango/test/client.py:49935 ms87.2%
RequestFactory.genericdjango/test/client.py:67135 ms87.2%
Client.requestdjango/test/client.py:108235 ms87.2%
ClientHandler.__call__django/test/client.py:17331 ms77.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6231 ms77.0%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10431 ms77.0%
WhiteNoise.add_fileswhitenoise/base.py:10831 ms77.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12025 ms61.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13125 ms61.6%
WhiteNoise.get_static_filewhitenoise/base.py:20815 ms35.9%
StaticFile.__init__whitenoise/responders.py:7713 ms30.8%
StaticFile.get_alternativeswhitenoise/responders.py:1988 ms20.5%
StaticFile.get_alternatives.<locals>.<lambda>whitenoise/responders.py:1988 ms20.5%
<GC>~8 ms20.5%
StaticFile.get_alternativeswhitenoise/responders.py:2002 ms5.1%
StaticFile.__init__whitenoise/responders.py:732 ms5.1%
StaticFile.get_headerswhitenoise/responders.py:1672 ms5.1%
WhiteNoise.get_static_filewhitenoise/base.py:2038 ms20.5%
WhiteNoise.add_cache_headerswhitenoise/base.py:2248 ms20.5%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1766 ms15.4%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1976 ms15.4%
URLMixin.urldebug_toolbar/panels/staticfiles.py:204 ms10.3%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2054 ms10.3%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:1864 ms10.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1156 ms15.4%
scantreewhitenoise/base.py:2624 ms10.3%
scantreewhitenoise/base.py:2624 ms10.3%
scantreewhitenoise/base.py:2622 ms5.1%
scantreewhitenoise/base.py:2622 ms5.1%
scantreewhitenoise/base.py:2622 ms5.1%
scantreewhitenoise/base.py:2602 ms5.1%
scantreewhitenoise/base.py:2642 ms5.1%
<GC>~2 ms5.1%
scantreewhitenoise/base.py:2642 ms5.1%
scantreewhitenoise/base.py:2602 ms5.1%
ClientHandler.__call__django/test/client.py:1864 ms10.3%
BaseHandler.get_responsedjango/core/handlers/base.py:1414 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms10.3%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1304 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms10.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms10.3%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1234 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms10.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms10.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms10.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms10.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms10.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms10.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3094 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms10.3%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:344 ms10.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:554 ms10.3%
BaseHandler._get_responsedjango/core/handlers/base.py:1984 ms10.3%
csrf_exempt.<locals>._view_wrapperdjango/views/decorators/csrf.py:654 ms10.3%
mcpapps/mcp/urls.py:1254 ms10.3%
authenticateapps/mcp/urls.py:55 project = Project.objects.filter(secrettokens__token=token).first()2 ms5.1%
QuerySet.firstdjango/db/models/query.py:11452 ms5.1%
QuerySet.__iter__django/db/models/query.py:3902 ms5.1%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms5.1%
ModelIterable.__iter__django/db/models/query.py:952 ms5.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16112 ms5.1%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7952 ms5.1%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5782 ms5.1%
authenticateapps/mcp/urls.py:57 SecretTokens.objects.filter(token=token).update(date_last_used=timezone.now())2 ms5.1%
QuerySet.updatedjango/db/models/query.py:13002 ms5.1%
SQLUpdateCompiler.execute_sqldjango/db/models/sql/compiler.py:21112 ms5.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms5.1%
CursorWrapper.executedjango/db/backends/utils.py:792 ms5.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms5.1%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms5.1%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms5.1%
Cursor.executepsycopg/cursor.py:1132 ms5.1%
Connection.waitpsycopg/connection.py:4952 ms5.1%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3714 ms10.3%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()4 ms10.3%
TestCase._fixture_teardowndjango/test/testcases.py:14954 ms10.3%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4832 ms5.1%
CursorWrapper.executedjango/db/backends/utils.py:792 ms5.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms5.1%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms5.1%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms5.1%
Cursor.executepsycopg/cursor.py:1132 ms5.1%
Connection.waitpsycopg/connection.py:4952 ms5.1%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4842 ms5.1%
CursorWrapper.executedjango/db/backends/utils.py:792 ms5.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms5.1%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1002 ms5.1%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms5.1%
Cursor.executepsycopg/cursor.py:1132 ms5.1%
Connection.waitpsycopg/connection.py:4952 ms5.1%
Estimated from 19 samples; phase durations are exact. Frames from pytest and pluggy are
shown
.
Hot lines in your code
|
apps/mcp/tests.py:66
return self.client.post(
McpTest.post
· Libraries
|
31 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| _django_db_marker function | 0.05 ms |
| _template_string_if_invalid_marker function | 0.05 ms |
| _django_clear_site_cache function | 0.04 ms |
| _django_set_urlconf function | 0.04 ms |
| _dj_autoclear_mailbox function | 0.04 ms |
| _live_server_helper function | 0.04 ms |
| monkeypatch function | 0.02 ms |
Database
7 queries · 3 msNo repeated queries.
Biggest pieces of work
|
call test body
apps/mcp/tests.py:104
|
35 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
4 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 | |
|---|---|---|---|---|
| 2 hours ago | CI github-actions:test | passed | 41 ms | Profile |
| 2 hours ago | CI github-actions:test | passed | 42 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 42 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 17 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 36 ms | Profile |