spulec / freezegun

Let your Python tests travel through time
Apache License 2.0
4.15k stars 269 forks source link

Huge performance degradation on Py 3.12 #557

Open MRigal opened 1 month ago

MRigal commented 1 month ago

Hi guys,

Maybe due to the changes introduced in v1.3.0, switching to Python 3.12 (from 3.11) almost doubled our test suite time in CI. Reporting just so that other are also informed by the issue. We switched to time-machine and it limited to extra-time by less than 10%.

Best and thanks for this library which helped me a lot many years!