CI
github-actions:test
12 runs
Average
41 ms
median 44 ms
max 63 ms
max 63 ms
Phases
Setup 0.67 ms
Call 40 ms
Teardown 0.16 ms
Categories
Database 18 ms
App code 0.13 ms
Other (Libraries, Unsampled, pytest) 23 ms
10 database queries per run
Needs 45 KB of memory (max 460 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 16 hours ago ·
open run
call58 ms98.4%
McpTest.test_get_insightsapps/mcp/tests.py:262 result = self.call("get_insights")53 ms90.2%
McpTest.callapps/mcp/tests.py:8253 ms90.2%
McpTest.rpcapps/mcp/tests.py:7553 ms90.2%
McpTest.postapps/mcp/tests.py:67 return self.client.post(53 ms90.2%
Client.postdjango/test/client.py:115353 ms90.2%
RequestFactory.postdjango/test/client.py:49953 ms90.2%
RequestFactory.genericdjango/test/client.py:67153 ms90.2%
Client.requestdjango/test/client.py:108253 ms90.2%
ClientHandler.__call__django/test/client.py:17331 ms53.3%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6231 ms53.3%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10431 ms53.3%
WhiteNoise.add_fileswhitenoise/base.py:10831 ms53.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12031 ms53.3%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13129 ms49.2%
WhiteNoise.get_static_filewhitenoise/base.py:20819 ms32.8%
StaticFile.__init__whitenoise/responders.py:737 ms12.3%
StaticFile.get_headerswhitenoise/responders.py:1765 ms8.2%
formatdate<stdlib>/email/utils.py:2665 ms8.2%
format_datetime<stdlib>/email/utils.py:2845 ms8.2%
StaticFile.get_headerswhitenoise/responders.py:1782 ms4.1%
StaticFile.__init__whitenoise/responders.py:775 ms8.2%
StaticFile.get_alternativeswhitenoise/responders.py:2032 ms4.1%
StaticFile.get_alternativeswhitenoise/responders.py:2002 ms4.1%
__init____init__:-12 ms4.1%
Headers.__init__<stdlib>/wsgiref/headers.py:432 ms4.1%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:502 ms4.1%
StaticFile.__init__whitenoise/responders.py:762 ms4.1%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1892 ms4.1%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms4.1%
Headers.get<stdlib>/wsgiref/headers.py:1062 ms4.1%
WhiteNoise.get_static_filewhitenoise/base.py:2037 ms12.3%
WhiteNoise.add_cache_headerswhitenoise/base.py:2247 ms12.3%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1767 ms12.3%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1977 ms12.3%
URLMixin.urldebug_toolbar/panels/staticfiles.py:207 ms12.3%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2055 ms8.2%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:1862 ms4.1%
FileSystemStorage.urldjango/core/files/storage/filesystem.py:2092 ms4.1%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:1842 ms4.1%
WhiteNoise.get_static_filewhitenoise/base.py:2022 ms4.1%
WhiteNoise.add_mime_headerswhitenoise/base.py:2162 ms4.1%
ClientHandler.__call__django/test/client.py:18622 ms36.9%
BaseHandler.get_responsedjango/core/handlers/base.py:14122 ms36.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5522 ms36.9%
DebugToolbarMiddleware.__call__debug_toolbar/middleware.py:13022 ms36.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5522 ms36.9%
MiddlewareMixin.__call__django/utils/deprecation.py:30922 ms36.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5522 ms36.9%
WhiteNoiseMiddleware.__call__whitenoise/middleware.py:12322 ms36.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5522 ms36.9%
MiddlewareMixin.__call__django/utils/deprecation.py:30922 ms36.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5522 ms36.9%
MiddlewareMixin.__call__django/utils/deprecation.py:30922 ms36.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5522 ms36.9%
MiddlewareMixin.__call__django/utils/deprecation.py:30922 ms36.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5522 ms36.9%
MiddlewareMixin.__call__django/utils/deprecation.py:30922 ms36.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5522 ms36.9%
MiddlewareMixin.__call__django/utils/deprecation.py:30922 ms36.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5522 ms36.9%
MiddlewareMixin.__call__django/utils/deprecation.py:30922 ms36.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5522 ms36.9%
AccountMiddleware.<locals>.middlewareallauth/account/middleware.py:3422 ms36.9%
convert_exception_to_response.<locals>.innerdjango/core/handlers/exception.py:5522 ms36.9%
BaseHandler._get_responsedjango/core/handlers/base.py:19822 ms36.9%
csrf_exempt.<locals>._view_wrapperdjango/views/decorators/csrf.py:6522 ms36.9%
mcpapps/mcp/urls.py:14722 ms36.9%
handleapps/mcp/urls.py:11522 ms36.9%
call_toolapps/mcp/urls.py:7522 ms36.9%
Tools.callapps/mcp/tools.py:18822 ms36.9%
Tools.get_insightsapps/mcp/tools.py:46122 ms36.9%
fix_nextapps/projects/analytics.py:54422 ms36.9%
latest_profilesapps/projects/analytics.py:264 profile = scope.profiles().filter(environment=environment).order_by("-started_at").first()22 ms36.9%
QuerySet.firstdjango/db/models/query.py:114519 ms32.8%
QuerySet.__iter__django/db/models/query.py:39019 ms32.8%
QuerySet._fetch_alldjango/db/models/query.py:200019 ms32.8%
ModelIterable.__iter__django/db/models/query.py:9517 ms28.7%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:161114 ms24.6%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:76712 ms20.5%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:8610 ms16.4%
SQLCompiler.setup_querydjango/db/models/sql/compiler.py:7510 ms16.4%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3177 ms12.3%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5785 ms8.2%
Col.as_sqldjango/db/models/expressions.py:13255 ms8.2%
SQLCompiler.quote_name_unless_aliasdjango/db/backends/postgresql/compiler.py:342 ms4.1%
SQLCompiler.quote_name_unless_aliasdjango/db/models/sql/compiler.py:5692 ms4.1%
DatabaseOperations.quote_namedjango/db/backends/postgresql/operations.py:1922 ms4.1%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5742 ms4.1%
Col.as_sqldjango/db/models/expressions.py:13252 ms4.1%
SQLCompiler.get_selectdjango/db/models/sql/compiler.py:3002 ms4.1%
SQLCompiler.get_related_selectionsdjango/db/models/sql/compiler.py:12232 ms4.1%
SQLCompiler.pre_sql_setupdjango/db/models/sql/compiler.py:882 ms4.1%
WhereNode.split_having_qualifydjango/db/models/sql/where.py:472 ms4.1%
cached_property.__get__django/utils/functional.py:472 ms4.1%
WhereNode.contains_aggregatedjango/db/models/sql/where.py:2542 ms4.1%
SQLCompiler.as_sqldjango/db/models/sql/compiler.py:7952 ms4.1%
SQLCompiler.compiledjango/db/models/sql/compiler.py:5782 ms4.1%
WhereNode.as_sqldjango/db/models/sql/where.py:1512 ms4.1%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16242 ms4.1%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.1%
ModelIterable.__iter__django/db/models/query.py:1092 ms4.1%
QuerySet.filterdjango/db/models/query.py:15422 ms4.1%
QuerySet._filter_or_excludedjango/db/models/query.py:15602 ms4.1%
QuerySet._filter_or_exclude_inplacedjango/db/models/query.py:15702 ms4.1%
Query.add_qdjango/db/models/sql/query.py:16712 ms4.1%
Query._add_qdjango/db/models/sql/query.py:17032 ms4.1%
Query.build_filterdjango/db/models/sql/query.py:16072 ms4.1%
Query._get_coldjango/db/models/sql/query.py:4512 ms4.1%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()5 ms8.2%
TestCase._fixture_teardowndjango/test/testcases.py:14955 ms8.2%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4832 ms4.1%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.1%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms4.1%
Cursor.executepsycopg/cursor.py:1132 ms4.1%
Connection.waitpsycopg/connection.py:4952 ms4.1%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4842 ms4.1%
CursorWrapper.executedjango/db/backends/utils.py:792 ms4.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms4.1%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms4.1%
Cursor.executepsycopg/cursor.py:1132 ms4.1%
Connection.waitpsycopg/connection.py:4952 ms4.1%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms4.1%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms4.1%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms4.1%
teardown0.18 ms0.3%
Estimated from 25 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
apps/mcp/tests.py:67
return self.client.post(
McpTest.post
· Libraries
|
31 ms |
|
apps/projects/analytics.py:264
profile = scope.profiles().filter(environment=environment).order_by("-started_at").first()
latest_profiles
· Database
|
22 ms |
Fixtures
Exact setup time| _template_string_if_invalid_marker function | 0.05 ms |
| _dj_autoclear_mailbox function | 0.05 ms |
| _django_clear_site_cache function | 0.04 ms |
| _live_server_helper function | 0.04 ms |
| _django_db_marker function | 0.04 ms |
| _django_set_urlconf function | 0.04 ms |
| monkeypatch function | 0.02 ms |
Database
10 queries · 4 msNo repeated queries.
Biggest pieces of work
|
call test body
apps/mcp/tests.py:262
|
53 ms |
|
call _post_teardown
django/test/testcases.py:1240
|
5 ms |
| teardown pytest internals | 0.18 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 | 59 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 21 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 46 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 35 ms | Profile |
| 2 weeks, 1 day ago | CI github-actions:test | passed | 63 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 25 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 47 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 45 ms | Profile |
| 2 weeks, 6 days ago | CI github-actions:test | passed | 43 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 49 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 21 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 41 ms | Profile |