potiuk commented on issue #43488:
URL: https://github.com/apache/airflow/issues/43488#issuecomment-2466410676

   We tried it with @enisnazif  at Man's Hackathon and we **really** could not 
reproduce the "--noconftest is faster" .. If anything, we noticed that it is 
very unreliable, and sometimes takes longer and sometimes shorter - and it's 
very much independent if we use or don't use conftest. And we look at the  3s / 
1000 tests as a benchmark (from pytest documentation ) and it does not seem too 
much off the charts. 
   
   I guess we should park that one until we separate providers. 
   
   ```
   root@4aca4313d70f:/opt/airflow# time pytest --collect-only providers/tests/ 
>/dev/null
   
   real 2m8.699s
   user 1m48.176s
   sys  0m2.447s
   root@4aca4313d70f:/opt/airflow# time pytest --collect-only providers/tests/ 
>/dev/null
   
   real 2m3.896s
   user 1m48.006s
   sys  0m1.969s
   root@4aca4313d70f:/opt/airflow# time pytest --collect-only --noconftest  
providers/tests/ >/dev/null
   
   real 2m49.071s
   user 2m22.759s
   sys  0m2.963s
   root@4aca4313d70f:/opt/airflow# time pytest --collect-only --noconftest  
providers/tests/ >/dev/null
   
   real 3m26.905s
   user 2m23.507s
   sys  0m2.877s
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to