CI
github-actions:test
15 runs
Average
34 ms
median 38 ms
max 49 ms
max 49 ms
Phases
Setup 0.65 ms
Call 33 ms
Teardown 0.15 ms
Categories
Database 5 ms
Test code 0.07 ms
Other (Libraries, pytest, Unsampled) 29 ms
6 database queries per run
Needs 123 KB of memory (max 544 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
call28 ms97.7%
McpTest.test_requires_tokenapps/mcp/tests.py:140 response = self.post({"jsonrpc": "2.0", "id": 1, "method": "ping"}, token="")24 ms83.7%
McpTest.postapps/mcp/tests.py:67 return self.client.post(24 ms83.7%
Client.postdjango/test/client.py:115324 ms83.7%
RequestFactory.postdjango/test/client.py:49924 ms83.7%
RequestFactory.genericdjango/test/client.py:67124 ms83.7%
Client.requestdjango/test/client.py:108224 ms83.7%
ClientHandler.__call__django/test/client.py:17324 ms83.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6224 ms83.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10422 ms76.8%
WhiteNoise.add_fileswhitenoise/base.py:10822 ms76.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12020 ms69.8%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13120 ms69.8%
WhiteNoise.get_static_filewhitenoise/base.py:20814 ms48.9%
StaticFile.__init__whitenoise/responders.py:776 ms20.9%
StaticFile.get_alternativeswhitenoise/responders.py:2004 ms14.0%
__init____init__:-12 ms7.0%
Headers.__init__<stdlib>/wsgiref/headers.py:442 ms7.0%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:502 ms7.0%
StaticFile.get_alternativeswhitenoise/responders.py:2012 ms7.0%
StaticFile.__init__whitenoise/responders.py:744 ms14.0%
parsedate<stdlib>/email/_parseaddr.py:1852 ms7.0%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms7.0%
StaticFile.__init__whitenoise/responders.py:762 ms7.0%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1892 ms7.0%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms7.0%
Headers.get<stdlib>/wsgiref/headers.py:1042 ms7.0%
WhiteNoise.get_static_filewhitenoise/base.py:2036 ms20.9%
WhiteNoise.add_cache_headerswhitenoise/base.py:2246 ms20.9%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1766 ms20.9%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1976 ms20.9%
URLMixin.urldebug_toolbar/panels/staticfiles.py:204 ms14.0%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2052 ms7.0%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:1842 ms7.0%
䡽綋䣐疍ṜJ蕈瓀䡷쎉譈�赈䟨䨞䠀삅杴譈⭈赈謼襈䧆욉ퟨ§褀䳁즅䩴උঀ빁⾨Œ女뿿䑶譈鬽ဎ䠀욉ᗿາ譈謽ဎ䠀�ᗿຢ襌䣰쒃嬠幁썝ㅅ䗯�උॖ빁⿈Œ듫쇿襁첵쳌쳌쳌쳌쳌쳌쳌䡕偓襈ㇷ䣛喍뻰)쀱⯨䑭蔀瓀䠼綋ㇰ㇛ᶆJ蕈瓀茪⼸좹刯묁⾨Œ�譈]ဍ䠀욉ᗿถ]皿䠊�荈ࣄ嵛ᅢ觀쳰쳌쳌䡕噁䡓 �襈ㇷ䣛喍뻨)쀱돨䑬蔀瓀䡎綋䣨疍ᴎJ蕈瓀䤺욉赈債䣿잉䨦묀⾨Œ삅ぴ譈紽ဍ䰀ᗿඔ]瞿(觀䣛�腈ꃄ�嬀幁썝薋ィ솉�女耀�멵䦨ꢸ刯묁⿈Œ�꣫쳌쳌䡕坁噁啁呁䡓�襉擶譈┄(�襈큅좉褆菋샡襁䇟䰿ⲍ䠑붉h襈觖咆gʼn䇞㞼�묀7�⥄菳㿣圏䣀붍p⤏灇⤏恇⤏假⤏䁇⤏ぇ⤏⁇⤏၇⤏뤇�襌䳮憎맨§䴀ⲍ䤯얁q왁e薀瓛䔔荁㿤襌䳶燨µ䄀ᒍ茟ূ셉Ϧ襍ᵴ섀۪赈債䣿붋h杓搀譈┄(�㭈큅ት腈飄�嬀屁嵁幁彁썝ᗨÂ찀쳌쳌䡕坁噁啁呁䡓䄘횉襈Ԩ혢ﻫ赌쁽ཁܩ䐆茿Ǹ�䄀풉셁ۤ⥅仦ⲍ䰦ノ痨杓䰀ノ襌䳦襄ﺔཁܨᄏ䠃쒃嬘屁嵁幁彁썝쳌쳌쳌쳌쳌쳌쳌䡕ދ젏ډ䞋༄览ц䞋༈览ࡆ䞋༌览ె䞋༐览၆썝쳌쳌䡕坁噁啁呁䡓�襉擶譈┄(�襈큅좉褆菋샡襁䇟䰿ⲍ䠑붉h襈觖ତfʼn䇞㞼�묀7�⥄菳㿣圏䣀붍p⤏灇⤏恇⤏假⤏䁇⤏ぇ⤏⁇⤏၇⤏뤇�襌䳮憎裡¥䴀ⲍ䤯얁q왁e薀瓛䔔荁㿤襌䳶뇨³䤀䤃츏赁ἔ슃䴉璉䠆떍p譈䢽આf䡤ҋ⠥�䠀䔻痐䠒쒁�䅛䅜䅝䅞嵟쁒�쳌䡕坁噁啁呁䡓䄘힉襈Ԩ观G赌쁵ཁة읁၆쏒䐆茿Ǹ�䄀풉셁ۤ⥅仧ⲍ䰦௨昊䰀襌䳦襄ﺌ譁༆览䄃䚋༄览у譁ࡆ젏䎉䄈䚋༌览ృ譁၆젏䎉䠐쒃嬘屁嵁幁彁썝쳌䡕坁噁啁呁䡓�襈䢍䧿ﺉ䡤ҋ⠥�䠀䖉䓐溍㇈䇛ﶃ྿쎒圏䳀붍pཁ䜩䅰⤏恇ཁ䜩䅐⤏䁇ཁ䜩䄰⤏⁇ཁ䜩䄐⤏䤇䤃츏襁맴�襌䣿횉襌ꑚ�왂▄p솀ۣ襌ᵴ䢈鶋h襌䣿�럨曱䇿ﶃ瞾䠌綍䢐�ꗨ曱擿譈┄(�㭈큅ት腈飄�嬀屁嵁幁彁썝쿨¾찀쳌쳌쳌쳌쳌쳌쳌䡕ދ例༄࿈诉ࡗ쨏譄ేཁ䓈例䄐줏譄ᑗཁ䓊律䄘쬏羋༜觏褆ю嚉䐈䚉䐌争䐐嚉䐔庉褘᱾썝䡕ދ例༄࿈诉ࡗ쨏譄ేཁ䓈例䄐줏譄ᑗཁ诊켏ډ争褄ࡖ襄ె襄၎襄ᑖ纉崘쳃쳌쳌쳌쳌쳌䡕坁噁啁呁䡓Ę�襌삅䣿趉ﻈ펉襉䧶ノ䡤ҋ⠥�䠀䖉䓐掍䖐腁翼䇿鈏䣅붍ﻐº냔�ཌྷﺤ䤃䤃츏ཉ觏맛Ā�赈킽䣿떋ﻈ襈ꋈ�蓆퀝胿譈삝䇿万뒉䀭仿벉䠭䣿붍ﻐ襈ァ腁综矿䠏붍p襈ァ䡤ҋ⠥�䠀䔻痐䠒쒁Ę�䅛䅜䅝䅞嵟봨�쳌쳌쳌쳌䡕譈䠇例䠈젏䣉型䠐쨏譌ᡇཉ䳈例䤠줏譌<unknown file>2 ms7.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1152 ms7.0%
scantreewhitenoise/base.py:2622 ms7.0%
scantreewhitenoise/base.py:2622 ms7.0%
scantreewhitenoise/base.py:2622 ms7.0%
scantreewhitenoise/base.py:2622 ms7.0%
scantreewhitenoise/base.py:2622 ms7.0%
scantreewhitenoise/base.py:2642 ms7.0%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:952 ms7.0%
McpTest.test_requires_tokenapps/mcp/tests.py:1432 ms7.0%
McpTest.postapps/mcp/tests.py:67 return self.client.post(2 ms7.0%
Client.postdjango/test/client.py:11532 ms7.0%
RequestFactory.postdjango/test/client.py:4992 ms7.0%
RequestFactory.genericdjango/test/client.py:6712 ms7.0%
Client.requestdjango/test/client.py:10822 ms7.0%
ClientHandler.__call__django/test/client.py:1862 ms7.0%
BaseHandler.get_responsedjango/core/handlers/base.py:1412 ms7.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms7.0%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1302 ms7.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms7.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms7.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms7.0%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1232 ms7.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms7.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms7.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms7.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms7.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms7.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms7.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms7.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms7.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms7.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms7.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms7.0%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms7.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms7.0%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:342 ms7.0%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms7.0%
BaseHandler._get_responsedjango/core/handlers/base.py:1982 ms7.0%
csrf_exempt.<locals>._view_wrapperdjango/views/decorators/csrf.py:652 ms7.0%
mcpapps/mcp/urls.py:1252 ms7.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: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:3172 ms7.0%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5742 ms7.0%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()2 ms7.0%
TestCase._fixture_teardowndjango/test/testcases.py:14952 ms7.0%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4832 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:1032 ms7.0%
Cursor.executepsycopg/cursor.py:1132 ms7.0%
Connection.waitpsycopg/connection.py:4952 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
|
24 ms |
|
apps/mcp/urls.py:55
project = Project.objects.filter(secrettokens__token=token).first()
authenticate
· Database
|
2 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.06 ms |
| _template_string_if_invalid_marker function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| _django_db_marker function | 0.02 ms |
| _live_server_helper function | 0.02 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.01 ms |
Database
6 queries · 2 msNo repeated queries.
Biggest pieces of work
|
call test body
apps/mcp/tests.py:140
|
26 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
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 | 29 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 38 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 21 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 41 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 17 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 38 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 31 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 45 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 20 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 39 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 38 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 39 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 49 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 21 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 41 ms | Profile |