Tests / starter_packs/tests.py
TestStarterPacks::test_index_page_unknown_language_ignored
First seen 3 weeks ago in 0c23747
CI
github-actions:test
11 runs
Average
152 ms
median 123 ms
max 302 ms
max 302 ms
Phases
Setup 5 ms
Call 146 ms
Teardown 0.52 ms
Categories
Database 29 ms
Factories 2 ms
App code 0.14 ms
Other (Libraries, Templates, pytest, Unsampled, ...) 121 ms
16 database queries per run
Needs 104 KB of memory (max 612 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 7 hours ago ·
open run
call101 ms98.5%
TestStarterPacks.test_index_page_unknown_language_ignoredstarter_packs/tests.py:79 response = self.client.get(reverse("starter_packs"), {"language": "not-a-language"})99 ms96.2%
Client.getdjango/test/client.py:113399 ms96.2%
RequestFactory.getdjango/test/client.py:47599 ms96.2%
RequestFactory.genericdjango/test/client.py:67199 ms96.2%
Client.requestdjango/test/client.py:109199 ms96.2%
ClientHandler.__call__django/test/client.py:17387 ms84.8%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6387 ms84.8%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10480 ms77.9%
WhiteNoise.add_fileswhitenoise/base.py:10880 ms77.9%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11519 ms18.3%
scantreewhitenoise/base.py:27116 ms16.0%
scantreewhitenoise/base.py:27116 ms16.0%
scantreewhitenoise/base.py:2719 ms9.2%
scantreewhitenoise/base.py:2719 ms9.2%
scantreewhitenoise/base.py:2735 ms4.6%
scantreewhitenoise/base.py:2692 ms2.3%
scantreewhitenoise/base.py:2715 ms4.6%
scantreewhitenoise/base.py:2692 ms2.3%
scantreewhitenoise/base.py:2732 ms2.3%
scantreewhitenoise/base.py:2735 ms4.6%
scantreewhitenoise/base.py:2692 ms2.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1205 ms4.6%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1315 ms4.6%
WhiteNoise.get_static_filewhitenoise/base.py:2172 ms2.3%
StaticFile.__init__whitenoise/responders.py:762 ms2.3%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1892 ms2.3%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms2.3%
Headers.get<stdlib>/wsgiref/headers.py:1052 ms2.3%
WhiteNoise.get_static_filewhitenoise/base.py:2112 ms2.3%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1117 ms6.9%
WhiteNoise.add_fileswhitenoise/base.py:1085 ms4.6%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1152 ms2.3%
scantreewhitenoise/base.py:2692 ms2.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1202 ms2.3%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1312 ms2.3%
WhiteNoise.get_static_filewhitenoise/base.py:2112 ms2.3%
WhiteNoise.add_fileswhitenoise/base.py:982 ms2.3%
ClientHandler.__call__django/test/client.py:18612 ms11.5%
BaseHandler.get_responsedjango/core/handlers/base.py:14212 ms11.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5612 ms11.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38012 ms11.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5612 ms11.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38012 ms11.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5612 ms11.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38012 ms11.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5612 ms11.5%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12312 ms11.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5612 ms11.5%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:14512 ms11.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5612 ms11.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38012 ms11.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5612 ms11.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38012 ms11.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5612 ms11.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38012 ms11.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5612 ms11.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38012 ms11.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5612 ms11.5%
MiddlewareMixin.__call__django/utils/deprecation.py:38012 ms11.5%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5612 ms11.5%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms9.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms9.2%
MiddlewareMixin.__call__django/utils/deprecation.py:3809 ms9.2%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:569 ms9.2%
BaseHandler._get_responsedjango/core/handlers/base.py:1997 ms6.9%
starter_packsstarter_packs/views.py:160 for pack_languages in StarterPack.objects.filter(published_at__isnull=False, deleted_at__isnull=True).values_list(7 ms6.9%
QuerySet.__iter__django/db/models/query.py:4395 ms4.6%
QuerySet._fetch_alldjango/db/models/query.py:22625 ms4.6%
FlatValuesListIterable.__iter__django/db/models/query.py:3025 ms4.6%
SQLCompiler.results_iterdjango/db/models/sql/compiler.py:15745 ms4.6%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms2.3%
CursorWrapper.executedjango/db/backends/utils.py:792 ms2.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms2.3%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms2.3%
Cursor.executepsycopg/cursor.py:1132 ms2.3%
Connection.waitpsycopg/connection.py:4952 ms2.3%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms2.3%
BaseCursor._convert_querypsycopg/_cursor_base.py:4652 ms2.3%
PostgresClientQuery.convertpsycopg/_queries.py:2892 ms2.3%
PostgresClientQuery.dumppsycopg/_queries.py:2982 ms2.3%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16662 ms2.3%
cursor_iterdjango/db/models/sql/compiler.py:22642 ms2.3%
cursor_iter.<locals>.<lambda>django/db/models/sql/compiler.py:22642 ms2.3%
DatabaseErrorWrapper.__call__.<locals>.innerdjango/db/utils.py:1012 ms2.3%
QuerySet.values_listdjango/db/models/query.py:15922 ms2.3%
䡽綋䣐疍M蕈瓀䡷쎉譈�赈嗨䷫䠀삅杴譈⭈赈謼襈䧆욉ퟨ§褀䳁즅䩴උঐ빁ꗨő女뿿䑶譈ꬽဎ䠀욉ᗿໂ譈鬽ဎ䠀�ᗿາ襌䣰쒃嬠幁썝ㅅ䗯�උ०빁ꘈő듫쇿襁첵쳌쳌쳌쳌쳌쳌쳌䡕偓襈ㇷ䣛喍뻰)쀱㯨䗰蔀瓀䠼綋ㇰ㇛M蕈瓀茪⼸ࢹ冦묁ꗨő�譈༽ဎ䠀욉ᗿฦ]皿䠊�荈ࣄ嵛ᅢ觀쳰쳌쳌䡕噁䡓 �襈ㇷ䣛喍뻨)쀱쏨䗯蔀瓀䡎綋䣨疍M蕈瓀䤺욉赈債䣿잉�䷵묀ꗨő삅ぴ譈贽ဍ䰀ᗿඤ]瞿(觀䣛�腈ꃄ�嬀幁썝薋ィ솉�女耀�멵䦨冥묁ꘈő�꣫쳌쳌䡕坁噁啁呁䡓�襉擶譈┄(�襈큅좉褆菋샡襁䇟䰿ⲍ䠑붉h襈觖薖hʼn䇞㞼�묀7�⥄菳㿣圏䣀붍p⤏灇⤏恇⤏假⤏䁇⤏ぇ⤏⁇⤏၇⤏뤇�襌䳮憎맨§䴀ⲍ䤯얁q왁e薀瓛䔔荁㿤襌䳶燨µ䄀ᒍ茟ূ셉Ϧ襍ᵴ섀۪赈債䣿붋hﯨ梄搀譈┄(�㭈큅ት腈飄�嬀屁嵁幁彁썝ᗨÂ찀쳌쳌䡕坁噁啁呁䡓䄘횉襈Ԩ庒ﻬ赌쁽ཁܩ䐆茿Ǹ�䄀풉셁ۤ⥅仦ⲍ䰦ノ藨梄䰀ノ襌䳦襄ﺔཁܨᄏ䠃쒃嬘屁嵁幁彁썝쳌쳌쳌쳌쳌쳌쳌䡕ދ젏ډ䞋༄览ц䞋༈览ࡆ䞋༌览ె䞋༐览၆썝쳌쳌䡕坁噁啁呁䡓�襉擶譈┄(�襈큅좉褆菋샡襁䇟䰿ⲍ䠑붉h襈觖㶖gʼn䇞㞼�묀7�⥄菳㿣圏䣀붍p⤏灇⤏恇⤏假⤏䁇⤏ぇ⤏⁇⤏၇⤏뤇�襌䳮憎裡¥䴀ⲍ䤯얁q왁e薀瓛䔔荁㿤襌䳶뇨³䤀䤃츏赁ἔ슃䴉璉䠆떍p譈䢽㳸g䡤ҋ⠥�䠀䔻痐䠒쒁�䅛䅜䅝䅞嵟쁒�쳌䡕坁噁啁呁䡓䄘힉襈ԨᙒH赌쁵ཁة읁၆쏒䐆茿Ǹ�䄀풉셁ۤ⥅仧ⲍ䰦編朼䰀襌䳦襄ﺌ譁༆览䄃䚋༄览у譁ࡆ젏䎉䄈䚋༌览ృ譁၆젏䎉䠐쒃嬘屁嵁幁彁썝쳌䡕坁噁啁呁䡓�襈䢍䧿ﺉ䡤ҋ⠥�䠀䖉䓐溍㇈䇛ﶃ྿쎒圏䳀붍pཁ䜩䅰⤏恇ཁ䜩䅐⤏䁇ཁ䜩䄰⤏⁇ཁ䜩䄐⤏䤇䤃츏襁맴�襌䣿횉襌ꑚ�왂▄p솀ۣ襌ᵴ䢈鶋h襌䣿�矨栏䇿ﶃ瞾䠌綍䢐�旨栏擿譈┄(�㭈큅ት腈飄�嬀屁嵁幁彁썝쿨¾찀쳌쳌쳌쳌쳌쳌쳌䡕ދ例༄࿈诉ࡗ쨏譄ేཁ䓈例䄐줏譄ᑗཁ䓊律䄘쬏羋༜觏褆ю嚉䐈䚉䐌争䐐嚉䐔庉褘᱾썝䡕ދ例༄࿈诉ࡗ쨏譄ేཁ䓈例䄐줏譄ᑗཁ诊켏ډ争褄ࡖ襄ె襄၎襄ᑖ纉崘쳃쳌쳌쳌쳌쳌䡕坁噁啁呁䡓Ę�襌삅䣿趉ﻈ펉襉䧶ノ䡤ҋ⠥�䠀䖉䓐掍䖐腁翼䇿鈏䣅붍ﻐº냔�ཌྷﺤ䤃䤃츏ཉ觏맛Ā�赈킽䣿떋ﻈ襈ꋈ�蓆퀝胿譈삝䇿万뒉䀭仿벉䠭䣿붍ﻐ襈븦ト腁综矿䠏붍p襈븎ト䡤ҋ⠥�䠀䔻痐䠒쒁Ę�䅛䅜䅝䅞嵟봨�쳌쳌쳌쳌䡕譈䠇例䠈젏䣉型䠐쨏譌ᡇཉ䳈例䤠줏譌<unknown file>2 ms2.3%
QuerySet._valuesdjango/db/models/query.py:15312 ms2.3%
Query.set_valuesdjango/db/models/sql/query.py:26352 ms2.3%
BaseHandler._get_responsedjango/core/handlers/base.py:1832 ms2.3%
BaseHandler.resolve_requestdjango/core/handlers/base.py:3152 ms2.3%
URLResolver.resolvedjango/urls/resolvers.py:6782 ms2.3%
URLPattern.resolvedjango/urls/resolvers.py:4722 ms2.3%
RoutePattern.matchdjango/urls/resolvers.py:3272 ms2.3%
TestStarterPacks.test_index_page_unknown_language_ignoredstarter_packs/tests.py:76 pack = baker.make(2 ms2.3%
makemodel_bakery/baker.py:1752 ms2.3%
Baker.makemodel_bakery/baker.py:4542 ms2.3%
Baker._makemodel_bakery/baker.py:5422 ms2.3%
Baker.instancemodel_bakery/baker.py:6592 ms2.3%
Model.savedjango/db/models/base.py:9042 ms2.3%
Model.save_basedjango/db/models/base.py:9962 ms2.3%
Model._save_tabledjango/db/models/base.py:11882 ms2.3%
Estimated from 43 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
starter_packs/tests.py:79
response = self.client.get(reverse("starter_packs"), {"language": "not-a-language"})
TestStarterPacks.test_index_page_unknown_language_ignored
· Libraries
|
92 ms |
|
starter_packs/views.py:160
for pack_languages in StarterPack.objects.filter(published_at__isnull=False, deleted_at__isnull=True).values_list(
starter_packs
· Database
|
7 ms |
|
starter_packs/tests.py:76
pack = baker.make(
TestStarterPacks.test_index_page_unknown_language_ignored
· Database
|
2 ms |
Fixtures
Exact setup time| _template_string_if_invalid_marker function | 0.06 ms |
| _live_server_helper function | 0.06 ms |
| _django_db_marker function | 0.05 ms |
| _django_isolate_apps function | 0.05 ms |
| _dj_autoclear_mailbox function | 0.05 ms |
| _django_set_urlconf function | 0.05 ms |
| _django_clear_site_cache function | 0.03 ms |
| monkeypatch function | 0.03 ms |
Database
15 queries · 7 msNo repeated queries.
Biggest pieces of work
|
call test body
starter_packs/tests.py:79
|
101 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 | |
|---|---|---|---|---|
| 7 hours ago | CI github-actions:test | passed | 103 ms | Profile |
| 16 hours ago | CI github-actions:test | passed | 62 ms | Profile |
| 22 hours ago | CI github-actions:test | passed | 236 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 93 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 151 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 123 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 88 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 71 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 247 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 302 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 198 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 97 ms | Run |