flakytest.dev anze3db flakytest
Tests / apps/guides/tests.py

TestGuidePages::test_markdown

First seen 1 month ago in b3fedae
CI github-actions:test 9 runs
Average
33 ms
median 27 ms
max 56 ms
Phases
Setup 0.59 ms Call 32 ms Teardown 0.15 ms
Categories
Database 13 ms Test code 2 ms Other (Libraries, pytest, Unsampled) 19 ms

5 database queries per run

Needs 71 KB of memory (max 628 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 2 weeks ago · open run
Show pytest frames
call24 ms97.0%
TestGuidePages.test_markdownapps/guides/tests.py:140 response = self.client.get(guide.markdown_url)22 ms88.2%
Client.getdjango/test/client.py:112422 ms88.2%
RequestFactory.getdjango/test/client.py:47522 ms88.2%
RequestFactory.genericdjango/test/client.py:67122 ms88.2%
Client.requestdjango/test/client.py:108222 ms88.2%
ClientHandler.__call__django/test/client.py:17322 ms88.2%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6222 ms88.2%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10422 ms88.2%
WhiteNoise.add_fileswhitenoise/base.py:10822 ms88.2%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12020 ms79.4%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13115 ms61.7%
WhiteNoise.get_static_filewhitenoise/base.py:20815 ms61.7%
StaticFile.__init__whitenoise/responders.py:737 ms26.5%
StaticFile.get_headerswhitenoise/responders.py:1764 ms17.6%
formatdate<stdlib>/email/utils.py:2662 ms8.8%
format_datetime<stdlib>/email/utils.py:2842 ms8.8%
StaticFile.get_headerswhitenoise/responders.py:1782 ms8.8%
parsedate<stdlib>/email/_parseaddr.py:1852 ms8.8%
StaticFile.__init__whitenoise/responders.py:724 ms17.6%
StaticFile.get_file_statswhitenoise/responders.py:1634 ms17.6%
<GC>~4 ms17.6%
StaticFile.__init__whitenoise/responders.py:742 ms8.8%
parsedate<stdlib>/email/_parseaddr.py:1852 ms8.8%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1232 ms8.8%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1152 ms8.8%
scantreewhitenoise/base.py:2622 ms8.8%
scantreewhitenoise/base.py:2622 ms8.8%
scantreewhitenoise/base.py:2622 ms8.8%
scantreewhitenoise/base.py:2622 ms8.8%
scantreewhitenoise/base.py:2622 ms8.8%
scantreewhitenoise/base.py:2642 ms8.8%
Estimated from 11 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

apps/guides/tests.py:140
response = self.client.get(guide.markdown_url)
TestGuidePages.test_markdown · Libraries
22 ms

Fixtures

Exact setup time
_dj_autoclear_mailbox function 0.07 ms
_live_server_helper function 0.03 ms
_django_db_marker function 0.03 ms
_template_string_if_invalid_marker function 0.03 ms
_django_set_urlconf function 0.03 ms
_django_clear_site_cache function 0.02 ms
monkeypatch function 0.02 ms

Database

5 queries · 0.42 ms
No repeated queries.

Biggest pieces of work

call test body
apps/guides/tests.py:140
22 ms
call pytest internals 2 ms

Reliability

9 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 9 results, oldest first in the strip
When Environment Outcome Duration Commit
2 weeks ago CI github-actions:test passed 25 ms cb18ed3 main Profile
2 weeks, 4 days ago CI github-actions:test passed 43 ms 9bd5864 main Profile
2 weeks, 6 days ago CI github-actions:test passed 23 ms 19dac9b main Profile
3 weeks ago CI github-actions:test passed 43 ms e141198 main Profile
1 month ago CI github-actions:test passed 17 ms 46ec2aa main Profile
1 month ago CI github-actions:test passed 41 ms afde85b main Profile
1 month ago CI github-actions:test passed 27 ms fe29f9d main Profile
1 month ago CI github-actions:test passed 56 ms 044719a main Profile
1 month ago CI github-actions:test passed 24 ms b3fedae main Profile