CI
github-actions:test
12 runs
Average
254 ms
median 265 ms
max 342 ms
max 342 ms
Phases
Setup 0.71 ms
Call 253 ms
Teardown 0.18 ms
Categories
Password hashing 220 ms
Database 17 ms
App code 0.09 ms
Other (Libraries, Templates, pytest, Unsampled) 16 ms
26 database queries per run
Needs 439 KB of memory (max 888 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 16 hours ago ·
open run
call292 ms99.6%
TestAccountPages.test_signupft/tests.py:160 response = self.client.post(257 ms87.6%
Client.postdjango/test/client.py:1153257 ms87.6%
RequestFactory.postdjango/test/client.py:499257 ms87.6%
RequestFactory.genericdjango/test/client.py:671257 ms87.6%
Client.requestdjango/test/client.py:1082257 ms87.6%
ClientHandler.__call__django/test/client.py:186257 ms87.6%
BaseHandler.get_responsedjango/core/handlers/base.py:141257 ms87.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:55257 ms87.6%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:130257 ms87.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:55257 ms87.6%
MiddlewareMixin.__call__django/utils/deprecation.py:309257 ms87.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:55257 ms87.6%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:123257 ms87.6%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:55257 ms87.6%
MiddlewareMixin.__call__django/utils/deprecation.py:309256 ms87.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:55256 ms87.2%
MiddlewareMixin.__call__django/utils/deprecation.py:309256 ms87.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:55256 ms87.2%
MiddlewareMixin.__call__django/utils/deprecation.py:309256 ms87.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:55256 ms87.2%
MiddlewareMixin.__call__django/utils/deprecation.py:309256 ms87.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:55256 ms87.2%
MiddlewareMixin.__call__django/utils/deprecation.py:309256 ms87.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:55256 ms87.2%
MiddlewareMixin.__call__django/utils/deprecation.py:309256 ms87.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:55256 ms87.2%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:34256 ms87.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:55256 ms87.2%
BaseHandler._get_responsedjango/core/handlers/base.py:198255 ms86.9%
View.as_view.<locals>.viewdjango/views/generic/base.py:106255 ms86.9%
_multi_decorate.<locals>._wrapperdjango/utils/decorators.py:48255 ms86.9%
rate_limit.<locals>.decorator.<locals>.wrapallauth/decorators.py:12255 ms86.9%
_multi_decorate.<locals>._wrapperdjango/utils/decorators.py:48255 ms86.9%
_multi_decorate.<locals>._wrapperdjango/utils/decorators.py:48255 ms86.9%
sensitive_post_parameters.<locals>.decorator.<locals>.sensitive_post_parameters_wrapperdjango/views/decorators/debug.py:143255 ms86.9%
_multi_decorate.<locals>._wrapperdjango/utils/decorators.py:48255 ms86.9%
never_cache.<locals>._view_wrapperdjango/views/decorators/cache.py:80255 ms86.9%
SignupView.dispatchallauth/account/views.py:162255 ms86.9%
_multi_decorate.<locals>._wrapperdjango/utils/decorators.py:48255 ms86.9%
_multi_decorate.<locals>._wrapperdjango/utils/decorators.py:48255 ms86.9%
never_cache.<locals>._view_wrapperdjango/views/decorators/cache.py:80255 ms86.9%
RedirectAuthenticatedUserMixin.dispatchallauth/account/mixins.py:53255 ms86.9%
CloseableSignupMixin.dispatchallauth/account/mixins.py:118255 ms86.9%
View.dispatchdjango/views/generic/base.py:145255 ms86.9%
AjaxCapableProcessFormViewMixin.postallauth/account/mixins.py:82250 ms85.4%
SignupView.form_validallauth/account/views.py:168245 ms83.6%
SignupForm.try_saveallauth/account/forms.py:497245 ms83.6%
BaseSignupForm.try_saveallauth/account/forms.py:427245 ms83.6%
BaseSignupForm.saveallauth/account/forms.py:437244 ms83.2%
DefaultAccountAdapter.save_userallauth/account/adapter.py:347241 ms82.1%
AbstractBaseUser.set_passworddjango/contrib/auth/base_user.py:94241 ms82.1%
make_passworddjango/contrib/auth/hashers.py:119241 ms82.1%
PBKDF2PasswordHasher.encodedjango/contrib/auth/hashers.py:335241 ms82.1%
pbkdf2django/utils/crypto.py:77241 ms82.1%
DefaultAccountAdapter.save_userallauth/account/adapter.py:3512 ms0.7%
DefaultAccountAdapter.populate_usernameallauth/account/adapter.py:3132 ms0.7%
DefaultAccountAdapter.generate_unique_usernameallauth/account/adapter.py:3192 ms0.7%
generate_unique_usernameallauth/utils.py:982 ms0.7%
get_adapterallauth/account/adapter.py:10022 ms0.7%
1 smaller frames hidden
1 smaller frames hidden
SignupView.form_validallauth/account/views.py:1735 ms1.8%
complete_signupallauth/account/internal/flows/signup.py:1024 ms1.5%
Signal.senddjango/dispatch/dispatcher.py:2094 ms1.5%
OrgsConfig.ready.<locals>.<lambda>apps/orgs/apps.py:134 ms1.5%
ensure_organizationapps/orgs/models.py:126 membership = Membership.objects.filter(user=user).select_related("organization").order_by("id").first()2 ms0.7%
QuerySet.firstdjango/db/models/query.py:11452 ms0.7%
QuerySet.__iter__django/db/models/query.py:3902 ms0.7%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms0.7%
ModelIterable.__iter__django/db/models/query.py:952 ms0.7%
2 smaller frames hidden
1 smaller frames hidden
AjaxCapableProcessFormViewMixin.postallauth/account/mixins.py:814 ms1.5%
BaseForm.is_validdjango/forms/forms.py:2064 ms1.5%
BaseForm.errorsdjango/forms/forms.py:2014 ms1.5%
BaseForm.full_cleandjango/forms/forms.py:3373 ms1.1%
BaseForm._clean_fieldsdjango/forms/forms.py:3473 ms1.1%
BaseSignupForm.clean_emailallauth/account/forms.py:3693 ms1.1%
BaseSignupForm.validate_unique_emailallauth/account/forms.py:3773 ms1.1%
email_already_existsallauth/account/internal/flows/manage_email.py:2153 ms1.1%
assess_unique_emailallauth/account/internal/flows/manage_email.py:1523 ms1.1%
filter_users_by_emailallauth/account/utils.py:2612 ms0.7%
QuerySet.__iter__django/db/models/query.py:3902 ms0.7%
QuerySet._fetch_alldjango/db/models/query.py:20002 ms0.7%
ModelIterable.__iter__django/db/models/query.py:952 ms0.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms0.7%
CursorWrapper.executedjango/db/backends/utils.py:792 ms0.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms0.7%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms0.7%
Cursor.executepsycopg/cursor.py:1132 ms0.7%
Connection.waitpsycopg/connection.py:4952 ms0.7%
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
TestAccountPages.test_signupft/tests.py:157 response = self.client.get(reverse("account_signup"))33 ms11.3%
Client.getdjango/test/client.py:112433 ms11.3%
RequestFactory.getdjango/test/client.py:47533 ms11.3%
RequestFactory.genericdjango/test/client.py:67133 ms11.3%
Client.requestdjango/test/client.py:108233 ms11.3%
ClientHandler.__call__django/test/client.py:17331 ms10.6%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6231 ms10.6%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10431 ms10.6%
WhiteNoise.add_fileswhitenoise/base.py:10831 ms10.6%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12031 ms10.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13130 ms10.2%
WhiteNoise.get_static_filewhitenoise/base.py:20821 ms7.3%
StaticFile.__init__whitenoise/responders.py:7310 ms3.3%
StaticFile.get_headerswhitenoise/responders.py:1764 ms1.5%
StaticFile.get_headerswhitenoise/responders.py:1673 ms1.1%
2 smaller frames hidden
StaticFile.__init__whitenoise/responders.py:774 ms1.5%
StaticFile.get_alternativeswhitenoise/responders.py:2004 ms1.5%
StaticFile.__init__whitenoise/responders.py:764 ms1.5%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1882 ms0.7%
Headers.__contains__<stdlib>/wsgiref/headers.py:872 ms0.7%
Headers.get<stdlib>/wsgiref/headers.py:1042 ms0.7%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1892 ms0.7%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms0.7%
2 smaller frames hidden
WhiteNoise.get_static_filewhitenoise/base.py:2037 ms2.6%
WhiteNoise.add_cache_headerswhitenoise/base.py:2246 ms2.2%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1765 ms1.8%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1973 ms1.1%
URLMixin.urldebug_toolbar/panels/staticfiles.py:203 ms1.1%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2053 ms1.1%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:1782 ms0.7%
1 smaller frames hidden
1 smaller frames hidden
1 smaller frames hidden
ClientHandler.__call__django/test/client.py:1862 ms0.7%
BaseHandler.get_responsedjango/core/handlers/base.py:1412 ms0.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms0.7%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:1302 ms0.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms0.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms0.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms0.7%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:1232 ms0.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms0.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms0.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms0.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms0.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms0.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms0.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms0.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms0.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms0.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms0.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms0.7%
MiddlewareMixin.__call__django/utils/deprecation.py:3092 ms0.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms0.7%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:342 ms0.7%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:552 ms0.7%
BaseHandler._get_responsedjango/core/handlers/base.py:2212 ms0.7%
SimpleTemplateResponse.renderdjango/template/response.py:1142 ms0.7%
2 smaller frames hidden
teardown0.25 ms0.1%
Estimated from 274 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
ft/tests.py:160
response = self.client.post(
TestAccountPages.test_signup
· Password hashing
|
252 ms |
|
ft/tests.py:157
response = self.client.get(reverse("account_signup"))
TestAccountPages.test_signup
· Libraries
|
33 ms |
|
apps/orgs/models.py:126
membership = Membership.objects.filter(user=user).select_related("organization").order_by("id").first()
ensure_organization
· Database
|
2 ms |
|
apps/orgs/models.py:46
while slug in reserved or taken.filter(slug=slug).exists():
unique_slug
· Database
|
1 ms |
|
apps/orgs/models.py:133
Membership.objects.create(organization=organization, user=user, role=Membership.Role.OWNER)
ensure_organization
· Database
|
1 ms |
|
ft/tests.py:165
self.assertTrue(User.objects.filter(email="[email protected]").exists())
TestAccountPages.test_signup
· Database
|
1 ms |
Fixtures
Exact setup time| _template_string_if_invalid_marker function | 0.05 ms |
| _dj_autoclear_mailbox function | 0.05 ms |
| _django_db_marker function | 0.05 ms |
| _django_set_urlconf function | 0.04 ms |
| _live_server_helper function | 0.04 ms |
| monkeypatch function | 0.04 ms |
| _django_clear_site_cache function | 0.03 ms |
Database
26 queries · 11 msNo repeated queries.
Biggest pieces of work
|
call test body
ft/tests.py:160
|
291 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
1 ms |
| teardown pytest internals | 0.25 ms |
Reliability
12 results · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 12 results, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 16 hours ago | CI github-actions:test | passed | 293 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 161 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 265 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 204 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 282 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 195 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 266 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 271 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 259 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 325 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 183 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 342 ms | Profile |