Tests / fedidevs/tests.py
TestPotatoqDashboard::test_anonymous_is_sent_to_login
First seen 1 month ago in 9b75244
CI
github-actions:test
7 runs
Average
73 ms
median 63 ms
max 104 ms
max 104 ms
Phases
Setup 2 ms
Call 72 ms
Teardown 0.30 ms
Categories
Database 3 ms
Other (Libraries, Unsampled, pytest) 70 ms
5 database queries per run
Needs 17 KB of memory (max 20 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
call48 ms98.4%
TestPotatoqDashboard.test_anonymous_is_sent_to_loginfedidevs/tests.py:130 response = self.client.get("/potatoq/")48 ms98.4%
Client.getdjango/test/client.py:113348 ms98.4%
RequestFactory.getdjango/test/client.py:47548 ms98.4%
RequestFactory.genericdjango/test/client.py:67148 ms98.4%
Client.requestdjango/test/client.py:109148 ms98.4%
ClientHandler.__call__django/test/client.py:17348 ms98.4%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6348 ms98.4%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10448 ms98.4%
WhiteNoise.add_fileswhitenoise/base.py:10848 ms98.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12048 ms98.4%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13148 ms98.4%
WhiteNoise.get_static_filewhitenoise/base.py:21748 ms98.4%
StaticFile.__init__whitenoise/responders.py:7324 ms49.2%
StaticFile.get_headerswhitenoise/responders.py:16724 ms49.2%
StaticFile.__init__whitenoise/responders.py:7724 ms49.2%
StaticFile.get_alternativeswhitenoise/responders.py:20124 ms49.2%
Estimated from 2 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
fedidevs/tests.py:130
response = self.client.get("/potatoq/")
TestPotatoqDashboard.test_anonymous_is_sent_to_login
· Libraries
|
48 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.04 ms |
| _template_string_if_invalid_marker function | 0.03 ms |
| _django_db_marker function | 0.03 ms |
| _django_isolate_apps function | 0.03 ms |
| _live_server_helper function | 0.02 ms |
| _django_set_urlconf function | 0.02 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.01 ms |
Database
5 queries · 2 msNo repeated queries.
Biggest pieces of work
|
call test body
fedidevs/tests.py:130
|
48 ms |
Reliability
7 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 7 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 2 weeks ago | CI github-actions:test | passed | 49 ms | Profile |
| 2 weeks, 5 days ago | CI github-actions:test | passed | 92 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 104 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 45 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 63 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 103 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 58 ms | Profile |