Tests / apps/guides/tests.py
TestGuidePages::test_old_mute_page_redirects
First seen 1 month ago in b3fedae
CI
github-actions:test
9 runs
Average
29 ms
median 28 ms
max 43 ms
max 43 ms
Phases
Setup 0.58 ms
Call 28 ms
Teardown 0.17 ms
Categories
Database 2 ms
Test code 0.12 ms
Other (Libraries, Unsampled, pytest) 27 ms
5 database queries per run
Needs 24 KB of memory (max 196 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
call26 ms97.3%
TestGuidePages.test_old_mute_page_redirectsapps/guides/tests.py:149 response = self.client.get(reverse("mute"))23 ms86.5%
Client.getdjango/test/client.py:112423 ms86.5%
RequestFactory.getdjango/test/client.py:47523 ms86.5%
RequestFactory.genericdjango/test/client.py:67123 ms86.5%
Client.requestdjango/test/client.py:108223 ms86.5%
ClientHandler.__call__django/test/client.py:17323 ms86.5%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6223 ms86.5%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10421 ms75.7%
WhiteNoise.add_fileswhitenoise/base.py:10821 ms75.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11515 ms54.0%
scantreewhitenoise/base.py:26215 ms54.0%
scantreewhitenoise/base.py:26215 ms54.0%
scantreewhitenoise/base.py:26412 ms43.2%
scantreewhitenoise/base.py:2603 ms10.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1206 ms21.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1316 ms21.6%
WhiteNoise.get_static_filewhitenoise/base.py:2086 ms21.6%
StaticFile.__init__whitenoise/responders.py:766 ms21.6%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1903 ms10.8%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1893 ms10.8%
Headers.__getitem__<stdlib>/wsgiref/headers.py:833 ms10.8%
Headers.get<stdlib>/wsgiref/headers.py:1063 ms10.8%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1113 ms10.8%
WhiteNoise.add_fileswhitenoise/base.py:1083 ms10.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1203 ms10.8%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1313 ms10.8%
WhiteNoise.get_static_filewhitenoise/base.py:2083 ms10.8%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()3 ms10.8%
TestCase._fixture_teardowndjango/test/testcases.py:14943 ms10.8%
TestCase._should_check_constraintsdjango/test/testcases.py:15033 ms10.8%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:4923 ms10.8%
Cursor.executepsycopg/cursor.py:1133 ms10.8%
Connection.waitpsycopg/connection.py:4953 ms10.8%
BaseCursor._execute_genpsycopg/_cursor_base.py:2063 ms10.8%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2863 ms10.8%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:783 ms10.8%
Estimated from 9 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
apps/guides/tests.py:149
response = self.client.get(reverse("mute"))
TestGuidePages.test_old_mute_page_redirects
· Libraries
|
23 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.05 ms |
| _template_string_if_invalid_marker function | 0.04 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 |
| monkeypatch function | 0.02 ms |
Database
5 queries · 0.41 msNo repeated queries.
Biggest pieces of work
|
call test body
apps/guides/tests.py:149
|
23 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
3 ms |
Reliability
9 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 9 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 2 weeks ago | CI github-actions:test | passed | 27 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 | 15 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 43 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 15 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 34 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 28 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 43 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 18 ms | Profile |