CI
github-actions:test
9 runs
Average
33 ms
median 28 ms
max 52 ms
max 52 ms
Phases
Setup 0.59 ms
Call 32 ms
Teardown 0.15 ms
Categories
Database 2 ms
App code 0.26 ms
Test code 0.24 ms
Other (Libraries, Templates, pytest, Unsampled) 31 ms
5 database queries per run
Needs 4 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
call24 ms97.3%
TestGuidePages.test_indexapps/guides/tests.py:100 response = self.client.get(reverse("guides"))22 ms87.6%
Client.getdjango/test/client.py:112422 ms87.6%
RequestFactory.getdjango/test/client.py:47522 ms87.6%
RequestFactory.genericdjango/test/client.py:67122 ms87.6%
Client.requestdjango/test/client.py:108222 ms87.6%
ClientHandler.__call__django/test/client.py:17320 ms77.9%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6220 ms77.9%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10420 ms77.9%
WhiteNoise.add_fileswhitenoise/base.py:10820 ms77.9%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12017 ms68.1%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13117 ms68.1%
WhiteNoise.get_static_filewhitenoise/base.py:20810 ms38.9%
StaticFile.__init__whitenoise/responders.py:732 ms9.7%
StaticFile.get_headerswhitenoise/responders.py:1762 ms9.7%
StaticFile.__init__whitenoise/responders.py:772 ms9.7%
StaticFile.get_alternativeswhitenoise/responders.py:2002 ms9.7%
StaticFile.__init__whitenoise/responders.py:762 ms9.7%
WhiteNoise.get_static_filewhitenoise/base.py:2037 ms29.2%
WhiteNoise.add_cache_headerswhitenoise/base.py:2247 ms29.2%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1762 ms9.7%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1972 ms9.7%
URLMixin.urldebug_toolbar/panels/staticfiles.py:202 ms9.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1152 ms9.7%
scantreewhitenoise/base.py:2622 ms9.7%
scantreewhitenoise/base.py:2622 ms9.7%
scantreewhitenoise/base.py:2642 ms9.7%
ClientHandler.__call__django/test/client.py:1862 ms9.7%
BaseHandler.get_responsedjango/core/handlers/base.py:1412 ms9.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms9.7%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1302 ms9.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms9.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms9.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms9.7%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1232 ms9.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms9.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms9.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms9.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms9.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms9.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms9.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms9.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms9.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms9.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms9.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms9.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3112 ms9.7%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()2 ms9.7%
TestCase._fixture_teardowndjango/test/testcases.py:14972 ms9.7%
TestCase._rollback_atomicsdjango/test/testcases.py:14052 ms9.7%
Atomic.__exit__django/db/transaction.py:2832 ms9.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms9.7%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4132 ms9.7%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3712 ms9.7%
CursorWrapper.executedjango/db/backends/utils.py:792 ms9.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms9.7%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms9.7%
Cursor.executepsycopg/cursor.py:1132 ms9.7%
Connection.waitpsycopg/connection.py:4952 ms9.7%
Estimated from 10 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
apps/guides/tests.py:100
response = self.client.get(reverse("guides"))
TestGuidePages.test_index
· Libraries
|
22 ms |
Fixtures
Exact setup time| _dj_autoclear_mailbox function | 0.05 ms |
| _django_db_marker function | 0.03 ms |
| _template_string_if_invalid_marker function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| _django_clear_site_cache function | 0.02 ms |
| _live_server_helper function | 0.02 ms |
| monkeypatch function | 0.01 ms |
Database
5 queries · 0.51 msNo repeated queries.
Biggest pieces of work
|
call test body
apps/guides/tests.py:100
|
22 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
2 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 | 25 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 43 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 23 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 44 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 20 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 39 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 28 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 52 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 24 ms | Profile |