For a large repo like mine, the first phase takes like 20-30 seconds, without any indication of what's going on. And regardless of how big/old someone's repo is, it will almost always be much faster to just paginate through listRecords for pub.leaflet.document and pub.leaflet.document instead of getting the whole repo.
CLI tool to sync your Markdown to Leaflet
leafletpub
atproto
cli
markdown
fetch publications & docs with listRecords instead of getRepo #7
closed
opened by
Hmm, I guess I might be an outlier, but I think a lot of people very active in the ATProto community will have fairly large repos too. For small repos it might be faster to get a repo, but listRecords will also be fast. For medium+ sized repos I think listRecords wins.
Ok yea i see, that definitely takes too long.
I thought
getRepowould be faster based on my previous experience, but that might be biased, because of the size of my repo or specific case I was doing it in. I'll look into it.