CI
github-actions:test
13 runs
Average
125 ms
median 111 ms
max 286 ms
max 286 ms
Phases
Setup 2 ms
Call 121 ms
Teardown 2 ms
Categories
Database 10 ms
Other (Libraries, Templates, pytest, Unsampled, ...) 116 ms
7 database queries per run
Needs 10 KB of memory (max 72 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
setup0.63 ms1.1%
__init____init__:-10.63 ms1.1%
signature<stdlib>/inspect.py:33430.63 ms1.1%
Signature.from_callable<stdlib>/inspect.py:30580.63 ms1.1%
_signature_from_callable<stdlib>/inspect.py:25280.63 ms1.1%
_signature_from_function<stdlib>/inspect.py:24150.63 ms1.1%
call50 ms91.1%
TestStaticPages.test_faqaccounts/tests.py:540 response = self.client.get("/faq/")49 ms88.2%
Client.getdjango/test/client.py:113349 ms88.2%
RequestFactory.getdjango/test/client.py:47549 ms88.2%
RequestFactory.genericdjango/test/client.py:67149 ms88.2%
Client.requestdjango/test/client.py:109149 ms88.2%
ClientHandler.__call__django/test/client.py:18639 ms70.5%
BaseHandler.get_responsedjango/core/handlers/base.py:14239 ms70.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms70.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms70.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms70.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms70.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms70.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms70.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms70.5%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12339 ms70.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms70.5%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14539 ms70.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms70.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms70.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms70.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms70.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms70.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms70.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms70.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms70.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms70.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms70.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms70.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms70.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms70.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38039 ms70.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5639 ms70.5%
BaseHandler._get_responsedjango/core/handlers/base.py:19939 ms70.5%
make_middleware_decorator.<locals>._make_decorator.<locals>._decorator.<locals>._view_wrapperdjango/utils/decorators.py:18939 ms70.5%
faqaccounts/views.py:495 return render(39 ms70.5%
renderdjango/shortcuts.py:2739 ms70.5%
render_to_stringdjango/template/loader.py:6239 ms70.5%
Template.renderdjango/template/backends/django.py:10739 ms70.5%
Template.renderdjango/template/base.py:17539 ms70.5%
instrumented_test_renderdjango/test/utils.py:11339 ms70.5%
NodeList.renderdjango/template/base.py:110839 ms70.5%
Node.render_annotateddjango/template/base.py:106939 ms70.5%
ExtendsNode.renderdjango/template/loader_tags.py:16039 ms70.5%
instrumented_test_renderdjango/test/utils.py:11339 ms70.5%
NodeList.renderdjango/template/base.py:110839 ms70.5%
Node.render_annotateddjango/template/base.py:106939 ms70.5%
BlockNode.renderdjango/template/loader_tags.py:6637 ms67.6%
NodeList.renderdjango/template/base.py:110837 ms67.6%
Node.render_annotateddjango/template/base.py:106937 ms67.6%
IncludeNode.renderdjango/template/loader_tags.py:21136 ms64.7%
Template.renderdjango/template/base.py:17136 ms64.7%
instrumented_test_renderdjango/test/utils.py:11334 ms61.7%
NodeList.renderdjango/template/base.py:110834 ms61.7%
Node.render_annotateddjango/template/base.py:106934 ms61.7%
SimpleNode.renderdjango/template/library.py:34334 ms61.7%
heroicon_outlineheroicons/templatetags/heroicons.py:2334 ms61.7%
_render_iconheroicons/templatetags/heroicons.py:4134 ms61.7%
_render_iconheroicons/__init__.py:4734 ms61.7%
_load_iconheroicons/__init__.py:1834 ms61.7%
ZipFile.__init__<stdlib>/zipfile/__init__.py:150534 ms61.7%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:160611 ms20.6%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16235 ms8.8%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16083 ms5.9%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16213 ms5.9%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15992 ms2.9%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16012 ms2.9%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15942 ms2.9%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16142 ms2.9%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:16262 ms2.9%
ZipFile._RealGetContents<stdlib>/zipfile/__init__.py:15902 ms2.9%
ForNode.renderdjango/template/defaulttags.py:2022 ms2.9%
QuerySet.__len__django/db/models/query.py:4212 ms2.9%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms2.9%
ValuesIterable.__iter__django/db/models/query.py:2472 ms2.9%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15742 ms2.9%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms2.9%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.9%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms2.9%
Cursor.executepsycopg/cursor.py:1132 ms2.9%
Connection.waitpsycopg/connection.py:4952 ms2.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms2.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms2.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms2.9%
IfNode.renderdjango/template/defaulttags.py:3332 ms2.9%
NodeList.renderdjango/template/base.py:11082 ms2.9%
Node.render_annotateddjango/template/base.py:10692 ms2.9%
IncludeNode.renderdjango/template/loader_tags.py:2112 ms2.9%
Template.renderdjango/template/base.py:1772 ms2.9%
instrumented_test_renderdjango/test/utils.py:1132 ms2.9%
NodeList.renderdjango/template/base.py:11082 ms2.9%
Node.render_annotateddjango/template/base.py:10692 ms2.9%
SimpleNode.renderdjango/template/library.py:3432 ms2.9%
instances_datalistaccounts/templatetags/account_extras.py:36 for instance in instances:2 ms2.9%
QuerySet.__iter__django/db/models/query.py:4392 ms2.9%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms2.9%
FlatValuesListIterable.__iter__django/db/models/query.py:3022 ms2.9%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15742 ms2.9%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16122 ms2.9%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7682 ms2.9%
ClientHandler.__call__django/test/client.py:17310 ms17.6%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6310 ms17.6%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10410 ms17.6%
WhiteNoise.add_fileswhitenoise/base.py:10810 ms17.6%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1155 ms8.8%
scantreewhitenoise/base.py:2715 ms8.8%
scantreewhitenoise/base.py:2713 ms5.9%
scantreewhitenoise/base.py:2732 ms2.9%
<GC>~2 ms2.9%
scantreewhitenoise/base.py:2712 ms2.9%
scantreewhitenoise/base.py:2712 ms2.9%
scantreewhitenoise/base.py:2712 ms2.9%
scantreewhitenoise/base.py:2732 ms2.9%
scantreewhitenoise/base.py:2732 ms2.9%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1205 ms8.8%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1315 ms8.8%
WhiteNoise.get_static_filewhitenoise/base.py:2175 ms8.8%
StaticFile.__init__whitenoise/responders.py:733 ms5.9%
StaticFile.get_headerswhitenoise/responders.py:1762 ms2.9%
formatdate<stdlib>/email/utils.py:2662 ms2.9%
format_datetime<stdlib>/email/utils.py:2752 ms2.9%
StaticFile.get_headerswhitenoise/responders.py:1772 ms2.9%
StaticFile.__init__whitenoise/responders.py:772 ms2.9%
StaticFile.get_alternativeswhitenoise/responders.py:1982 ms2.9%
StaticFile.get_alternatives.<locals>.<lambda>whitenoise/responders.py:1982 ms2.9%
<GC>~2 ms2.9%
TransactionTestCase._pre_setupdjango/test/testcases.py:1154 super()._pre_setup()2 ms2.9%
SimpleTestCase._pre_setupdjango/test/testcases.py:3862 ms2.9%
teardown4 ms7.8%
TestCase.tearDownClassdjango/test/testcases.py:1458 conn.close()3 ms4.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:263 ms4.7%
BaseDatabaseWrapper.closedjango/db/backends/base/base.py:3553 ms4.7%
DatabaseWrapper._closedjango/db/backends/postgresql/base.py:4083 ms4.7%
Connection.closepsycopg/connection.py:2013 ms4.7%
Estimated from 37 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
accounts/views.py:495
return render(
faq
· Templates
|
37 ms |
|
accounts/tests.py:540
response = self.client.get("/faq/")
TestStaticPages.test_faq
· Libraries
|
10 ms |
|
accounts/templatetags/account_extras.py:36
for instance in instances:
instances_datalist
· Database
|
2 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 |
| _live_server_helper function | 0.03 ms |
| _django_isolate_apps function | 0.02 ms |
| _django_set_urlconf function | 0.02 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.02 ms |
Database
7 queries · 1 msNo repeated queries.
Biggest pieces of work
|
call test body
accounts/tests.py:540
|
49 ms |
|
teardown tearDownClass
django/test/testcases.py:1458
|
3 ms |
| teardown pytest internals | 2 ms |
|
call _pre_setup
django/test/testcases.py:1154
|
2 ms |
|
setup __init__
__init__:-1
|
0.63 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 | 55 ms | Profile |
| 2 weeks, 5 days ago | CI github-actions:test | passed | 111 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 102 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 57 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 147 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 114 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 97 ms | Profile |
| 1 month ago | CI github-actions:test | passed | 118 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 87 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 72 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 118 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 262 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 286 ms | Profile |
| 1 month, 1 week ago | CI github-actions:test | passed | 165 ms | Run |