Tests / accounts/tests.py
TestCrawlerGotosocial::test_auth_gated_directory_caches_unknown_and_skips_misskey_probe
First seen 3 weeks ago in 0c23747
CI
github-actions:test
11 runs
Average
16 ms
median 14 ms
max 37 ms
max 37 ms
Phases
Setup 2 ms
Call 14 ms
Teardown 0.38 ms
Categories
Test code 0.09 ms
Other (Waiting, Unsampled, pytest, Libraries) 16 ms
Needs 51 KB of memory (max 112 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 7 hours ago ·
open run
call17 ms90.1%
TestCrawlerGotosocial.test_auth_gated_directory_caches_unknown_and_skips_misskey_probeaccounts/tests.py:460 _, results = self._fetch(cmd, handler)15 ms79.5%
TestCrawlerGotosocial._fetchaccounts/tests.py:444 return async_to_sync(run)()15 ms79.5%
AsyncToSync.__call__asgiref/sync.py:32313 ms68.9%
CurrentThreadExecutor.run_until_futureasgiref/current_thread_executor.py:8013 ms68.9%
Condition.wait<stdlib>/threading.py:36313 ms68.9%
AsyncToSync.__call__asgiref/sync.py:2460.99 ms5.3%
Future.__init__<stdlib>/concurrent/futures/_base.py:3230.99 ms5.3%
SysMonitor.sysmon_py_startcoverage/sysmon.py:345 disp = self.should_trace(filename, frame) # type: ignore[arg-type]0.99 ms5.3%
Coverage._should_tracecoverage/control.py:4520.99 ms5.3%
InOrOut.should_tracecoverage/inorout.py:4390.99 ms5.3%
InOrOut.check_include_omit_etccoverage/inorout.py:4690.99 ms5.3%
TreeMatcher.matchcoverage/files.py:2750.99 ms5.3%
abs_filecoverage/files.py:1580.99 ms5.3%
realpath<frozen posixpath>:4600.99 ms5.3%
TestCrawlerGotosocial.test_auth_gated_directory_caches_unknown_and_skips_misskey_probeaccounts/tests.py:4682 ms10.6%
TestCrawlerGotosocial._fetchaccounts/tests.py:444 return async_to_sync(run)()2 ms10.6%
AsyncToSync.__call__asgiref/sync.py:2510.99 ms5.3%
AsyncToSync.__call__asgiref/sync.py:3230.99 ms5.3%
CurrentThreadExecutor.run_until_futureasgiref/current_thread_executor.py:800.99 ms5.3%
Condition.wait<stdlib>/threading.py:3630.99 ms5.3%
Estimated from 17 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
accounts/tests.py:444
return async_to_sync(run)()
TestCrawlerGotosocial._fetch
· Waiting
|
17 ms |
Fixtures
Exact setup time| _unittest_setUpClass_fixture_TestCrawlerGotosocial class | 0.17 ms |
| _django_setup_unittest class | 0.10 ms |
| _template_string_if_invalid_marker function | 0.07 ms |
| _django_set_urlconf function | 0.06 ms |
| _django_db_marker function | 0.06 ms |
| _live_server_helper function | 0.06 ms |
| _django_isolate_apps function | 0.05 ms |
| _dj_autoclear_mailbox function | 0.04 ms |
| _django_clear_site_cache function | 0.04 ms |
| monkeypatch function | 0.03 ms |
Biggest pieces of work
|
call test body
accounts/tests.py:460
|
17 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 | 19 ms | Profile |
| 16 hours ago | CI github-actions:test | passed | 21 ms | Profile |
| 22 hours ago | CI github-actions:test | passed | 9 ms | Profile |
| 1 week, 5 days ago | CI github-actions:test | passed | 13 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 11 ms | Profile |
| 2 weeks, 2 days ago | CI github-actions:test | passed | 6 ms | Profile |
| 2 weeks, 4 days ago | CI github-actions:test | passed | 14 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 6 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 18 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 25 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 37 ms | Profile |
| 3 weeks ago | CI github-actions:test | passed | 8 ms | Run |