Tests / fedidevs/tests.py
TestRobotsTxt::test_disallows_query_strings_except_googlebot
First seen 3 weeks ago in 0c23747
CI
github-actions:test
11 runs
Average
112 ms
median 96 ms
max 205 ms
max 205 ms
Phases
Setup 2 ms
Call 110 ms
Teardown 0.52 ms
Categories
Database 0.09 ms
Other (Libraries, pytest, Unsampled, Logging) 112 ms
Needs 501 KB of memory (max 1 MB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 7 hours ago ·
open run
setup3 ms2.7%
call90 ms96.9%
TestRobotsTxt.test_disallows_query_strings_except_googlebotfedidevs/tests.py:14 response = self.client.get("/robots.txt")86 ms92.5%
Client.getdjango/test/client.py:113386 ms92.5%
RequestFactory.getdjango/test/client.py:47586 ms92.5%
RequestFactory.genericdjango/test/client.py:67186 ms92.5%
Client.requestdjango/test/client.py:109186 ms92.5%
ClientHandler.__call__django/test/client.py:17386 ms92.5%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6386 ms92.5%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10486 ms92.5%
WhiteNoise.add_fileswhitenoise/base.py:10886 ms92.5%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12057 ms61.7%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13149 ms52.9%
WhiteNoise.get_static_filewhitenoise/base.py:21729 ms30.8%
StaticFile.__init__whitenoise/responders.py:7316 ms17.6%
StaticFile.get_headerswhitenoise/responders.py:1678 ms8.8%
__init____init__:-14 ms4.4%
Headers.__init__<stdlib>/wsgiref/headers.py:434 ms4.4%
Headers._convert_string_type<stdlib>/wsgiref/headers.py:504 ms4.4%
StaticFile.get_headerswhitenoise/responders.py:1768 ms8.8%
formatdate<stdlib>/email/utils.py:2664 ms4.4%
format_datetime<stdlib>/email/utils.py:2844 ms4.4%
StaticFile.__init__whitenoise/responders.py:744 ms4.4%
parsedate<stdlib>/email/_parseaddr.py:1854 ms4.4%
StaticFile.__init__whitenoise/responders.py:774 ms4.4%
StaticFile.get_alternativeswhitenoise/responders.py:2014 ms4.4%
WhiteNoise.get_static_filewhitenoise/base.py:21221 ms22.0%
WhiteNoise.add_cache_headerswhitenoise/base.py:23312 ms13.2%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:17612 ms13.2%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:19712 ms13.2%
URLMixin.urldebug_toolbar/panels/staticfiles.py:2012 ms13.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11529 ms30.8%
scantreewhitenoise/base.py:27125 ms26.4%
scantreewhitenoise/base.py:27121 ms22.0%
scantreewhitenoise/base.py:2718 ms8.8%
scantreewhitenoise/base.py:2718 ms8.8%
scantreewhitenoise/base.py:2718 ms8.8%
scantreewhitenoise/base.py:2738 ms8.8%
scantreewhitenoise/base.py:2698 ms8.8%
scantreewhitenoise/base.py:2734 ms4.4%
scantreewhitenoise/base.py:2734 ms4.4%
scantreewhitenoise/base.py:2734 ms4.4%
Estimated from 23 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
fedidevs/tests.py:14
response = self.client.get("/robots.txt")
TestRobotsTxt.test_disallows_query_strings_except_googlebot
· Libraries
|
86 ms |
Fixtures
Exact setup time| _unittest_setUpClass_fixture_TestRobotsTxt class | 0.34 ms |
| monkeypatch function | 0.29 ms |
| _django_setup_unittest class | 0.10 ms |
| _template_string_if_invalid_marker function | 0.08 ms |
| _django_isolate_apps function | 0.07 ms |
| _django_db_marker function | 0.07 ms |
| _live_server_helper function | 0.07 ms |
| _django_set_urlconf function | 0.07 ms |
| _dj_autoclear_mailbox function | 0.04 ms |
| _django_clear_site_cache function | 0.04 ms |
Biggest pieces of work
|
call test body
fedidevs/tests.py:14
|
86 ms |
| call pytest internals | 4 ms |
| setup pytest internals | 3 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 | 93 ms | Profile |
| 16 hours ago | CI github-actions:test | passed | 63 ms | Profile |
| 22 hours ago | CI github-actions:test | passed | 128 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 90 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 97 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 121 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 89 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 52 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 199 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 205 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 96 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 62 ms | Run |