openlawlibrary / taf

The Archive Framework
GNU Affero General Public License v3.0
10 stars 8 forks source link

Make updater faster #394

Open n-dusan opened 6 months ago

n-dusan commented 6 months ago

Running updater on a top-level repository with dependencies.json is very slow. Profile the updater and find hot code that takes up the bulk of the update time.

renatav commented 1 month ago

We should create a script or a test which just fetches from remote and compare its performance to the updater's. If there are no new changes, the updater should not be much slower than this script.

renatav commented 1 month ago

re merging commits: we merge one branch at a time. I am not sure how to speed this up. Let's check how slow this.