Tests / fedidevs/tests.py
TestRobotsTxt::test_disallows_query_strings_except_googlebot
First seen 14 hours ago in 0c23747
CI
github-actions:test
4 runs
Average
138 ms
median 148 ms
max 205 ms
max 205 ms
Phases
Setup 1 ms
Call 136 ms
Teardown 0.46 ms
Categories
Other (Libraries, pytest, Unsampled) 138 ms
Needs 362 KB of memory (max 1 MB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 9 hours ago ·
open run
setup1 ms2.3%
CallInfo.from_call_pytest/runner.py:3611 ms2.3%
call_and_report.<locals>.<lambda>_pytest/runner.py:2501 ms2.3%
HookCaller.__call__pluggy/_hooks.py:5121 ms2.3%
PluginManager._hookexecpluggy/_manager.py:1201 ms2.3%
_multicallpluggy/_callers.py:1211 ms2.3%
pytest_runtest_setup_pytest/runner.py:1701 ms2.3%
SetupState.setup_pytest/runner.py:5361 ms2.3%
TestCaseFunction.setup_pytest/unittest.py:2481 ms2.3%
Function.setup_pytest/python.py:17101 ms2.3%
TopRequest._fillfixtures_pytest/fixtures.py:8061 ms2.3%
FixtureRequest.getfixturevalue_pytest/fixtures.py:6301 ms2.3%
FixtureRequest._get_active_fixturedef_pytest/fixtures.py:7261 ms2.3%
FixtureDef.execute_pytest/fixtures.py:12321 ms2.3%
HookCaller.__call__pluggy/_hooks.py:5121 ms2.3%
PluginManager._hookexecpluggy/_manager.py:1201 ms2.3%
_multicallpluggy/_callers.py:1521 ms2.3%
pytest_fixture_setup_pytest/setuponly.py:381 ms2.3%
call51 ms97.1%
CallInfo.from_call_pytest/runner.py:36151 ms97.1%
call_and_report.<locals>.<lambda>_pytest/runner.py:25051 ms97.1%
HookCaller.__call__pluggy/_hooks.py:51251 ms97.1%
PluginManager._hookexecpluggy/_manager.py:12051 ms97.1%
_multicallpluggy/_callers.py:12148 ms93.0%
pytest_runtest_call_pytest/runner.py:18448 ms93.0%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:61448 ms93.0%
SimpleTestCase.__call__django/test/testcases.py:31448 ms93.0%
SimpleTestCase._setup_and_calldjango/test/testcases.py:36948 ms93.0%
TestCase.__call__<stdlib>/unittest/case.py:74748 ms93.0%
TestCase.run<stdlib>/unittest/case.py:69148 ms93.0%
TestCase._callTestMethod<stdlib>/unittest/case.py:63748 ms93.0%
TestRobotsTxt.test_disallows_query_strings_except_googlebotfedidevs/tests.py:13 response = self.client.get("/robots.txt")48 ms93.0%
Client.getdjango/test/client.py:113348 ms93.0%
RequestFactory.getdjango/test/client.py:47548 ms93.0%
RequestFactory.genericdjango/test/client.py:67148 ms93.0%
Client.requestdjango/test/client.py:109148 ms93.0%
ClientHandler.__call__django/test/client.py:17348 ms93.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6348 ms93.0%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10448 ms93.0%
WhiteNoise.add_fileswhitenoise/base.py:10848 ms93.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12036 ms68.8%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13136 ms68.8%
WhiteNoise.get_static_filewhitenoise/base.py:21727 ms52.6%
StaticFile.__init__whitenoise/responders.py:7315 ms28.3%
StaticFile.get_headerswhitenoise/responders.py:17611 ms20.2%
formatdate<stdlib>/email/utils.py:2662 ms4.0%
format_datetime<stdlib>/email/utils.py:2752 ms4.0%
StaticFile.get_headerswhitenoise/responders.py:1812 ms4.0%
Headers.__setitem__<stdlib>/wsgiref/headers.py:642 ms4.0%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:502 ms4.0%
StaticFile.get_headerswhitenoise/responders.py:1782 ms4.0%
parsedate<stdlib>/email/_parseaddr.py:1852 ms4.0%
parsedate_tz<stdlib>/email/_parseaddr.py:502 ms4.0%
_parsedate_tz<stdlib>/email/_parseaddr.py:692 ms4.0%
StaticFile.__init__whitenoise/responders.py:776 ms12.1%
StaticFile.get_alternativeswhitenoise/responders.py:2002 ms4.0%
__init____init__:-12 ms4.0%
Headers.__init__<stdlib>/wsgiref/headers.py:432 ms4.0%
StaticFile.get_alternativeswhitenoise/responders.py:2012 ms4.0%
StaticFile.__init__whitenoise/responders.py:722 ms4.0%
StaticFile.get_file_statswhitenoise/responders.py:1572 ms4.0%
__init____init__:-12 ms4.0%
FileEntry.__init__whitenoise/responders.py:2632 ms4.0%
FileEntry.stat_regular_filewhitenoise/responders.py:2742 ms4.0%
StaticFile.__init__whitenoise/responders.py:762 ms4.0%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1902 ms4.0%
WhiteNoise.get_static_filewhitenoise/base.py:2126 ms12.1%
WhiteNoise.add_cache_headerswhitenoise/base.py:2336 ms12.1%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1764 ms8.1%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1974 ms8.1%
URLMixin.urldebug_toolbar/panels/staticfiles.py:202 ms4.0%
HashedFilesMixin.urldjango/contrib/staticfiles/storage.py:2352 ms4.0%
HashedFilesMixin._urldjango/contrib/staticfiles/storage.py:2162 ms4.0%
WhiteNoise.get_static_filewhitenoise/base.py:2112 ms4.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11513 ms24.3%
scantreewhitenoise/base.py:27113 ms24.3%
scantreewhitenoise/base.py:2718 ms16.2%
scantreewhitenoise/base.py:2734 ms8.1%
scantreewhitenoise/base.py:2692 ms4.0%
scantreewhitenoise/base.py:2702 ms4.0%
scantreewhitenoise/base.py:2692 ms4.0%
scantreewhitenoise/base.py:2732 ms4.0%
_multicallpluggy/_callers.py:1162 ms4.0%
LoggingPlugin.pytest_runtest_call_pytest/logging.py:8642 ms4.0%
_GeneratorContextManager.__enter__<stdlib>/contextlib.py:2032 ms4.0%
LoggingPlugin._runtest_for_pytest/logging.py:8312 ms4.0%
catching_logs.__enter___pytest/logging.py:3622 ms4.0%
teardown0.33 ms0.6%
CallInfo.from_call_pytest/runner.py:3610.33 ms0.6%
call_and_report.<locals>.<lambda>_pytest/runner.py:2500.33 ms0.6%
HookCaller.__call__pluggy/_hooks.py:5120.33 ms0.6%
PluginManager._hookexecpluggy/_manager.py:1200.33 ms0.6%
_multicallpluggy/_callers.py:1520.33 ms0.6%
CaptureManager.pytest_runtest_teardown_pytest/capture.py:9040.33 ms0.6%
_GeneratorContextManager.__exit__<stdlib>/contextlib.py:2100.33 ms0.6%
CaptureManager.item_capture_pytest/capture.py:8670.33 ms0.6%
CaptureManager.read_global_capture_pytest/capture.py:8030.33 ms0.6%
MultiCapture.readouterr_pytest/capture.py:7060.33 ms0.6%
FDCapture.snap_pytest/capture.py:5920.33 ms0.6%
Estimated from 26 samples; phase durations are exact. Frames from pytest and pluggy are
shown
.
Hot lines in your code
|
fedidevs/tests.py:13
response = self.client.get("/robots.txt")
TestRobotsTxt.test_disallows_query_strings_except_googlebot
· Libraries
|
48 ms |
Fixtures
Exact setup time| _unittest_setUpClass_fixture_TestRobotsTxt class | 0.24 ms |
| _django_setup_unittest class | 0.06 ms |
| _template_string_if_invalid_marker function | 0.06 ms |
| _django_db_marker function | 0.03 ms |
| _django_isolate_apps function | 0.03 ms |
| _django_set_urlconf function | 0.03 ms |
| _live_server_helper function | 0.03 ms |
| _dj_autoclear_mailbox function | 0.03 ms |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.02 ms |
Biggest pieces of work
|
call test body
fedidevs/tests.py:13
|
48 ms |
| call pytest internals | 2 ms |
| setup pytest internals | 1 ms |
| teardown pytest internals | 0.33 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 | |
|---|---|---|---|---|
| 9 hours ago | CI github-actions:test | passed | 52 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 199 ms | Profile |
| 9 hours ago | CI github-actions:test | passed | 205 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 96 ms | Profile |
| 14 hours ago | CI github-actions:test | passed | 62 ms | Run |