CI
github-actions:test
15 runs
Average
35 ms
median 38 ms
max 55 ms
max 55 ms
Phases
Setup 0.70 ms
Call 34 ms
Teardown 0.16 ms
Categories
Database 8 ms
Other (Libraries, Unsampled, pytest) 27 ms
7 database queries per run
Needs 106 KB of memory (max 724 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
call30 ms97.5%
McpTest.test_batchapps/mcp/tests.py:152 response = self.post(30 ms97.5%
McpTest.postapps/mcp/tests.py:67 return self.client.post(30 ms97.5%
Client.postdjango/test/client.py:115330 ms97.5%
RequestFactory.postdjango/test/client.py:49930 ms97.5%
RequestFactory.genericdjango/test/client.py:67130 ms97.5%
Client.requestdjango/test/client.py:108230 ms97.5%
ClientHandler.__call__django/test/client.py:17330 ms97.5%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6230 ms97.5%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10430 ms97.5%
WhiteNoise.add_fileswhitenoise/base.py:10830 ms97.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12025 ms81.3%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13125 ms81.3%
WhiteNoise.get_static_filewhitenoise/base.py:20820 ms65.0%
StaticFile.__init__whitenoise/responders.py:777 ms24.4%
StaticFile.get_alternativeswhitenoise/responders.py:2047 ms24.4%
compile<stdlib>/re/__init__.py:2897 ms24.4%
<GC>~7 ms24.4%
StaticFile.__init__whitenoise/responders.py:735 ms16.3%
StaticFile.get_headerswhitenoise/responders.py:1765 ms16.3%
formatdate<stdlib>/email/utils.py:2662 ms8.1%
StaticFile.__init__whitenoise/responders.py:752 ms8.1%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms8.1%
Headers.get<stdlib>/wsgiref/headers.py:1042 ms8.1%
StaticFile.__init__whitenoise/responders.py:762 ms8.1%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1892 ms8.1%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms8.1%
WhiteNoise.get_static_filewhitenoise/base.py:2022 ms8.1%
WhiteNoise.add_mime_headerswhitenoise/base.py:2212 ms8.1%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1155 ms16.3%
scantreewhitenoise/base.py:2622 ms8.1%
scantreewhitenoise/base.py:2622 ms8.1%
scantreewhitenoise/base.py:2622 ms8.1%
scantreewhitenoise/base.py:2622 ms8.1%
scantreewhitenoise/base.py:2622 ms8.1%
scantreewhitenoise/base.py:2642 ms8.1%
teardown0.17 ms0.6%
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
|
30 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.05 ms |
| _template_string_if_invalid_marker function | 0.03 ms |
| monkeypatch function | 0.03 ms |
| _django_db_marker function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| _django_clear_site_cache function | 0.02 ms |
Database
7 queries · 3 msNo repeated queries.
Biggest pieces of work
|
call test body
apps/mcp/tests.py:152
|
30 ms |
|
teardown __setitem__
<frozen os>:735
|
0.09 ms |
| teardown pytest internals | 0.09 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 | 30 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 | 23 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 38 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 20 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 40 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 36 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 55 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 24 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 | 40 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 | 42 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 19 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 37 ms | Profile |