`git` on code.qt.io slow?

I felt like fixing a thing in qtcreator and tried git clone https://code.qt.io/qt-creator/qt-creator.
It took over 2 hours to reach 13%. I thought there may be a problem with using https or maybe it was just a network thing, so I tried gi clone git://code.qt.io/qt-creator/qt-creator.git and it turned out to still be as slow.

While normally opening code.qt.io and using the cgit was pretty snappy, with git, I am getting an average download speed of 10KB/s.

  • Is this how the server is normally configured?
  • Is this only happening with me or do others have the same experience?
  • Did I just get unlucky and try to download during the a maintenance day?

Similarly, git clone https://code.qt.io/qt-creator/perfparser was also as slow. Although it finished in under 10 minutes because it was a small project.

1 points · 3 comments · view on lemmy.world

3 Comments

entwine@programming.dev · 2 pts · 198d (1 reply)

Not everyone has GitHub's infrastructure. You can try doing a shallow clone to avoid pulling the full history, as QTs is probably huge, then you can pull the full history ("unshallow" it) overnight.

ulterno@programming.dev · 1 pts · 196d

I see.
Yeah, it managed to finish in ~ 11 hours.

ulterno@programming.dev · 0 pts · 198d

shrug Perhaps I'll just stick to KDE Invent next time.