Tests / starter_packs/tests.py
TestPinAccountInStarterPack::test_removing_account_swaps_pin_button_to_disabled
First seen 1 month, 1 week ago in 0c23747
CI
github-actions:test
13 runs
Average
141 ms
median 115 ms
max 282 ms
max 282 ms
Phases
Setup 6 ms
Call 135 ms
Teardown 0.39 ms
Categories
Database 57 ms
Factories 0.08 ms
Other (Libraries, pytest, Deep copies, Unsampled, ...) 84 ms
36 database queries per run
Needs 184 KB of memory (max 1 MB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
call60 ms98.6%
TestPinAccountInStarterPack.test_removing_account_swaps_pin_button_to_disabledstarter_packs/tests.py:1100 response = self.client.post(60 ms98.6%
Client.postdjango/test/client.py:116260 ms98.6%
RequestFactory.postdjango/test/client.py:49960 ms98.6%
RequestFactory.genericdjango/test/client.py:67160 ms98.6%
Client.requestdjango/test/client.py:109160 ms98.6%
ClientHandler.__call__django/test/client.py:17360 ms98.6%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6360 ms98.6%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10460 ms98.6%
WhiteNoise.add_fileswhitenoise/base.py:10860 ms98.6%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11542 ms69.4%
scantreewhitenoise/base.py:27133 ms54.8%
scantreewhitenoise/base.py:27133 ms54.8%
scantreewhitenoise/base.py:27318 ms29.2%
scantreewhitenoise/base.py:2699 ms14.6%
scantreewhitenoise/base.py:2714 ms7.3%
scantreewhitenoise/base.py:2732 ms3.7%
scantreewhitenoise/base.py:2732 ms3.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12018 ms29.2%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13118 ms29.2%
WhiteNoise.get_static_filewhitenoise/base.py:21718 ms29.2%
StaticFile.__init__whitenoise/responders.py:7718 ms29.2%
StaticFile.get_alternativeswhitenoise/responders.py:19816 ms25.6%
StaticFile.get_alternatives.<locals>.<lambda>whitenoise/responders.py:19816 ms25.6%
<GC>~16 ms25.6%
StaticFile.get_alternativeswhitenoise/responders.py:2042 ms3.7%
compile<stdlib>/re/__init__.py:2912 ms3.7%
Estimated from 27 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
starter_packs/tests.py:1100
response = self.client.post(
TestPinAccountInStarterPack.test_removing_account_swaps_pin_button_to_disabled
· Libraries
|
60 ms |
Fixtures
Exact setup time| _template_string_if_invalid_marker function | 0.05 ms |
| _dj_autoclear_mailbox function | 0.04 ms |
| _django_db_marker function | 0.03 ms |
| _django_isolate_apps function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| _django_set_urlconf function | 0.02 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.02 ms |
Database
35 queries · 11 msNo repeated queries.
Biggest pieces of work
|
call test body
starter_packs/tests.py:1100
|
60 ms |
Reliability
14 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 14 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 2 weeks ago | CI github-actions:test | passed | 61 ms | Profile |
| 2 weeks, 5 days ago | CI github-actions:test | passed | 225 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 111 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 113 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 133 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 93 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 95 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 128 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 128 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 103 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 282 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 115 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 250 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 69 ms | Run |