This repo is used to showcase performance issues with poetry when using diverse pypi repositories as sources. To test this, you should have python3.8, poetry and virtualenv.

./run.sh

I have the following results:

  • lock without mirror: ~2s
  • lock with secondary mirror: ~30s
  • lock with default mirror: >60s (I didn't wait until completion)

This is weird that the installation with a mirror setup is 15x slower. Indeed, I set this source as secondary as described here in order to use Pypi as the primary source.