Skip to content
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

Use cp instead of rsync when moving partial komodo build to final dir #471

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

larsevj
Copy link
Contributor

@larsevj larsevj commented Feb 12, 2024

No description provided.

@larsevj
Copy link
Contributor Author

larsevj commented Feb 12, 2024

This seems to be 1.5-2 min faster than rsync on RHEL8.
With cp:

Time report:
 * Fetching all packages                              0:02:43.386543
 * Building non-pip part of komodo in workspace       0:09:53.949363
 * Copying partial komodo to destination              0:09:02.367002
 * Deleting previous release                          0:04:50.020012
 * pip install to final destination                   0:14:15.552988
 * Cleanup *.pyc and fix permissions                  0:05:12.260954

With rsync:

Time report:
 * Fetching all packages                              0:02:58.782123
 * Building non-pip part of komodo in workspace       0:09:55.371814
 * Rsyncing partial komodo to destination             0:10:39.900276
 * Deleting previous release                          0:04:37.034351
 * pip install to final destination                   0:14:08.497726
 * Cleanup *.pyc and fix permissions                  0:05:11.272380

@larsevj larsevj reopened this Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant