CI
github-actions:test
4 runs
Average
927 ms
median 1.07 s
max 1.17 s
max 1.17 s
Phases
Setup 3 ms
Call 924 ms
Teardown 0.32 ms
Categories
Password hashing 810 ms
Database 7 ms
Other (Libraries, pytest, Unsampled) 110 ms
6 database queries per run
Needs 0 KB of memory (max 0 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 7 hours ago ·
open run
call407 ms99.7%
TestCreateConference.setUpconfs/tests.py:1044 self.user = User.objects.create_user("alice", password="pw")394 ms96.6%
UserManager.create_userdjango/contrib/auth/models.py:180394 ms96.6%
UserManager._create_userdjango/contrib/auth/models.py:167393 ms96.3%
UserManager._create_user_objectdjango/contrib/auth/models.py:160393 ms96.3%
make_passworddjango/contrib/auth/hashers.py:118393 ms96.3%
PBKDF2PasswordHasher.encodedjango/contrib/auth/hashers.py:333393 ms96.3%
pbkdf2django/utils/crypto.py:93393 ms96.3%
1 smaller frames hidden
TestCreateConference.test_requires_loginconfs/tests.py:1058 response = self.client.get(reverse("create_conference"))10 ms2.4%
Client.getdjango/test/client.py:113310 ms2.4%
RequestFactory.getdjango/test/client.py:47510 ms2.4%
RequestFactory.genericdjango/test/client.py:67110 ms2.4%
Client.requestdjango/test/client.py:109110 ms2.4%
ClientHandler.__call__django/test/client.py:17310 ms2.4%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6310 ms2.4%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10410 ms2.4%
WhiteNoise.add_fileswhitenoise/base.py:10810 ms2.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1207 ms1.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1315 ms1.3%
WhiteNoise.get_static_filewhitenoise/base.py:2123 ms0.8%
WhiteNoise.add_cache_headerswhitenoise/base.py:2332 ms0.5%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1762 ms0.5%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1972 ms0.5%
URLMixin.urldebug_toolbar/panels/staticfiles.py:202 ms0.5%
WhiteNoise.get_static_filewhitenoise/base.py:2172 ms0.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1153 ms0.8%
scantreewhitenoise/base.py:2712 ms0.5%
scantreewhitenoise/base.py:2712 ms0.5%
scantreewhitenoise/base.py:2732 ms0.5%
1 smaller frames hidden
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()3 ms0.8%
TestCase._fixture_teardowndjango/test/testcases.py:14982 ms0.5%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4962 ms0.5%
CursorWrapper.executedjango/db/backends/utils.py:792 ms0.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms0.5%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms0.5%
Cursor.executepsycopg/cursor.py:1132 ms0.5%
Connection.waitpsycopg/connection.py:4952 ms0.5%
1 smaller frames hidden
Estimated from 375 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
confs/tests.py:1044
self.user = User.objects.create_user("alice", password="pw")
TestCreateConference.setUp
· Password hashing
|
394 ms |
|
confs/tests.py:1058
response = self.client.get(reverse("create_conference"))
TestCreateConference.test_requires_login
· Libraries
|
10 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.04 ms |
| _django_isolate_apps 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
6 queries · 4 msNo repeated queries.
Biggest pieces of work
|
call setUp
confs/tests.py:1044
|
394 ms |
|
call test body
confs/tests.py:1058
|
10 ms |
|
call _post_teardown
django/test/testcases.py:1243
|
3 ms |
Reliability
5 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 5 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 7 hours ago | CI github-actions:test | passed | 408 ms | Profile |
| 7 hours ago | CI github-actions:test | passed | 1.10 s | Profile |
| 7 hours ago | CI github-actions:test | passed | 1.03 s | Profile |
| 12 hours ago | CI github-actions:test | passed | 1.17 s | Profile |
| 12 hours ago | CI github-actions:test | passed | 495 ms | Run |