-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance issues downloading from and uploading to Door43 in v1.1.0 #5798
Comments
@benjore @cckozie - In testing it looks like the major time consumer here is isomorphic-git (javascript replacement for separate git install). It is taking a major amount of time to do a save before push. This is why the 1.1 is taking much longer than 1.0.2. Updating the library from 0.40.4 to 0.51.12 did not improve performance significantly. Testing upload with aligned acts from imported USFM3 on a MacBook Pro:
Note that the above is a best-case test, no alignment changes, only the first line of the USFM3 file changed (date stamp). But it is a 4MB file and there are 1568 files to check for changes.
|
Short summary: |
Notes:
|
@PhotoNomad0 - In regard to the 1.1.2 timings on the first comment above; what accounts for the extremely longer times using Larry's project rather than a new fully aligned Acts coming from USFM3 which takes about 20 seconds to upload? Is it the number of git commits or something else? I think we can all agree that a 10 minute upload for Acts on a good connection is not acceptable. |
Thanks for this research @PhotoNomad0 ! I agree that this time is unacceptable. I'm looking forward to hearing what you find for potential solutions. |
Notes: |
Notes: After Joel's performance tweak to make use of newer version of isomorphic-git and its ability to stage whole project (rather than iterating a file at a time). Comparing after to before tweak times.
@benjore @cckozie - Joel is seeing much shorter times, but I am running AntiVirus checking. |
@cckozie - tested PR with iso-git tweaks. Probably best we can do quickly. So for review/discussion: https://tc-builds.door43.org/build/release-v1.1.3/translationCore-win-x64-1.1.3-64d8fb7.setup.exe |
Apples to Apples: |
Passing this as there is a new issue to revert back to native git. |
These timings were made using this project: https://git.door43.org/lrsallee/en_ult_act_book
Import timings ignore the time spent in the stepper.
v1.0.2
Import from Door43 - 28 seconds
Upload to Door43 - 15 seconds
v1.1.0
Import from Door43 - 61 seconds
Upload to Door43 - 279 seconds
v1.0.2 (new Mac 75Mbps download speed, 11Mbps upload speed)
Import from Door43 - 29 seconds
Upload to Door43 - 24 seconds
Reupload to Door43 (no changes) - 8 seconds
v.1.1.2 (new Mac, 75Mbps download speed, 11Mbps upload speed)
Import from Door43 - 48 seconds
Upload to Door43 - nearly 10 minutes
v1.1.3 (30f0e08) (With tweaks to isomorphic git)
Import from Door43 - 72 seconds
Upload to Door43 - 125 seconds
Reupload to Door43 (no changes) - 24 seconds
1.1.3 (64d8fb7) - Latest build
Download speed 50Mbps, Upload speed 10Mbps
Import from Door43 - 100 seconds
Upload to Door43 - 120 seconds
Reupload to Door43 (no changes) - 24 seconds
The text was updated successfully, but these errors were encountered: