CI
github-actions:test
5 runs
Average
36 ms
median 39 ms
max 41 ms
max 41 ms
Phases
Setup 0.69 ms
Call 35 ms
Teardown 0.18 ms
Categories
Database 6 ms
Other (Libraries, Unsampled, pytest) 30 ms
5 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
call41 ms97.9%
CallInfo.from_call_pytest/runner.py:35341 ms97.9%
call_and_report.<locals>.<lambda>_pytest/runner.py:24541 ms97.9%
HookCaller.__call__pluggy/_hooks.py:51241 ms97.9%
PluginManager._hookexecpluggy/_manager.py:12041 ms97.9%
_multicallpluggy/_callers.py:12141 ms97.9%
pytest_runtest_call_pytest/runner.py:17941 ms97.9%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:57341 ms97.9%
SimpleTestCase.__call__django/test/testcases.py:31341 ms97.9%
SimpleTestCase._setup_and_calldjango/test/testcases.py:36837 ms89.4%
TestCase.__call__<stdlib>/unittest/case.py:74737 ms89.4%
TestCase.run<stdlib>/unittest/case.py:69137 ms89.4%
TestCase._callTestMethod<stdlib>/unittest/case.py:63737 ms89.4%
McpTest.test_get_not_allowedapps/mcp/tests.py:134 response = self.client.get("/mcp", headers={"Authorization": f"Bearer {self.token}"})37 ms89.4%
Client.getdjango/test/client.py:112437 ms89.4%
RequestFactory.getdjango/test/client.py:47537 ms89.4%
RequestFactory.genericdjango/test/client.py:67137 ms89.4%
Client.requestdjango/test/client.py:108237 ms89.4%
ClientHandler.__call__django/test/client.py:17335 ms85.2%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6234 ms80.9%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10434 ms80.9%
WhiteNoise.add_fileswhitenoise/base.py:10834 ms80.9%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12018 ms42.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13118 ms42.6%
WhiteNoise.get_static_filewhitenoise/base.py:20814 ms34.1%
StaticFile.__init__whitenoise/responders.py:775 ms12.8%
StaticFile.get_alternativeswhitenoise/responders.py:2004 ms8.5%
__init____init__:-12 ms4.3%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:482 ms4.3%
StaticFile.get_alternativeswhitenoise/responders.py:2012 ms4.3%
StaticFile.__init__whitenoise/responders.py:724 ms8.5%
StaticFile.get_file_statswhitenoise/responders.py:1612 ms4.3%
StaticFile.__init__whitenoise/responders.py:734 ms8.5%
StaticFile.get_headerswhitenoise/responders.py:1762 ms4.3%
formatdate<stdlib>/email/utils.py:2592 ms4.3%
Headers.__init__<stdlib>/wsgiref/headers.py:422 ms4.3%
StaticFile.__init__whitenoise/responders.py:762 ms4.3%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1882 ms4.3%
Headers.__contains__<stdlib>/wsgiref/headers.py:872 ms4.3%
Headers.get<stdlib>/wsgiref/headers.py:1042 ms4.3%
WhiteNoise.get_static_filewhitenoise/base.py:2032 ms4.3%
WhiteNoise.add_cache_headerswhitenoise/base.py:2242 ms4.3%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1762 ms4.3%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1972 ms4.3%
URLMixin.urldebug_toolbar/panels/staticfiles.py:202 ms4.3%
WhiteNoise.get_static_filewhitenoise/base.py:2022 ms4.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11514 ms34.1%
scantreewhitenoise/base.py:26214 ms34.1%
scantreewhitenoise/base.py:2649 ms21.3%
<GC>~9 ms21.3%
scantreewhitenoise/base.py:2625 ms12.8%
scantreewhitenoise/base.py:2624 ms8.5%
scantreewhitenoise/base.py:2624 ms8.5%
scantreewhitenoise/base.py:2622 ms4.3%
scantreewhitenoise/base.py:2642 ms4.3%
scantreewhitenoise/base.py:2642 ms4.3%
scantreewhitenoise/base.py:2602 ms4.3%
BaseHandler.load_middlewaredjango/core/handlers/base.py:412 ms4.3%
ClientHandler.__call__django/test/client.py:1862 ms4.3%
BaseHandler.get_responsedjango/core/handlers/base.py:1412 ms4.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.3%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1302 ms4.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.3%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1232 ms4.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.3%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms4.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.3%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:342 ms4.3%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms4.3%
BaseHandler._get_responsedjango/core/handlers/base.py:1822 ms4.3%
BaseHandler.resolve_requestdjango/core/handlers/base.py:3142 ms4.3%
URLResolver.resolvedjango/urls/resolvers.py:6782 ms4.3%
URLResolver.resolvedjango/urls/resolvers.py:6732 ms4.3%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3714 ms8.5%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()4 ms8.5%
TestCase._fixture_teardowndjango/test/testcases.py:14954 ms8.5%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4834 ms8.5%
CursorWrapper.executedjango/db/backends/utils.py:794 ms8.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms8.5%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1004 ms8.5%
CursorWrapper._executedjango/db/backends/utils.py:1034 ms8.5%
Cursor.executepsycopg/cursor.py:1134 ms8.5%
Connection.waitpsycopg/connection.py:4954 ms8.5%
Estimated from 23 samples; phase durations are exact. Frames from pytest and pluggy are
shown
.
Hot lines in your code
|
apps/mcp/tests.py:134
response = self.client.get("/mcp", headers={"Authorization": f"Bearer {self.token}"})
McpTest.test_get_not_allowed
· Libraries
|
37 ms |
Fixtures
Exact setup time| _django_db_marker function | 0.06 ms |
| _dj_autoclear_mailbox function | 0.04 ms |
| _django_set_urlconf function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.04 ms |
| _live_server_helper function | 0.03 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.02 ms |
Database
5 queries · 2 msNo repeated queries.
Biggest pieces of work
|
call test body
apps/mcp/tests.py:134
|
37 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 | 39 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 40 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 24 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 34 ms | Profile |