I have a flask based app, when I run coverage on the pytests in windows using python 3.8 it runs very slowly. It performs much better in python 3.7. The following are the test completion times using a the same laptop, the Ubuntu times are the same machine running as a VM.
python 3.8.2 - Windows 10 - coverage - **199** seconds python 3.8.2 - Windows 10 - pytest - 15 seconds python 3.8.2 - Ubuntu - coverage - 26 seconds python 3.8.2 - Ubuntu - pytest - 15 seconds python 3.7.5 - Windows 10 - coverage - **30** seconds python 3.7.5 - Windows 10 - pytest - 15 seconds python 3.7.5 - Ubuntu - coverage - 26 seconds python 3.7.5 - Ubuntu - pytest - 15 seconds
Does anyone have any idea why 3.8 on windows running coverage is so slow?
The cause is that with python 3.8 coverage is installing without C extensions, but with 3.7 it is installing with c extensions.
Now I need to find out why this is the case.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With