Commit Graph

6 Commits (9ca9e787b238df3013e0a29d8a546bc7e9993629)

Author SHA1 Message Date
Erik Montnemery ea29c2c4d4
Improve tests/patch_time.py (#122017) 2024-07-16 14:22:22 +02:00
Erik Montnemery 862cd76f89
Add explanatory comment in tests/patch_time.py (#120572) 2024-06-26 15:49:34 +02:00
Erik Montnemery b94b93cc63
Make freezegun find event.time_tracker_utcnow (#116284) 2024-04-27 07:08:56 -05:00
Marc Mueller 19ab3d6daf
Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
J. Nick Koston 790c1bc251
Decrease event loop latency by binding time.monotonic to loop.time directly (#98288)
* Decrease event loop latency by binding time.monotonic to loop.time directly

This is a small improvment to decrease event loop latency. While the goal is
is to reduce Bluetooth connection time latency, everything using asyncio
is a bit more responsive as a result.

* relo per comments

* fix too fast by adding resolution, ensure monotonic time is patchable by freezegun

* fix test that freezes time too late and has a race loop
2023-08-13 20:37:45 -04:00
Erik Montnemery a77009c3ca
Patch dt_util.utcnow earlier (#98050) 2023-08-08 19:16:52 +02:00