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

Feature/performance #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Feature/performance #15

wants to merge 2 commits into from

Conversation

mesaglio
Copy link
Contributor

With this changes:

  • Clone, with depth 1, commons one time, but uninstall and install (in some lab snaptshot where old version installed)
  • Clone group repo one time

Master version time

1° - real    0m9.002s
2° - real    0m4.514s

This version

1° - real    0m8.573s
2° - real    0m0.163s

@mesaglio mesaglio requested a review from RaniAgus December 23, 2024 15:37
rm -rf "$REPONAME"
git clone "https://github.com/sisoputnfrba/${REPONAME}.git"
if [ ! -d "${REPONAME}" ]; then
git clone "https://github.com/sisoputnfrba/${REPONAME}.git"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we add --recurse-submodules --shallow-submodules --depth 1 here, do we see any performance improvement as well?

Also, deploying main branch should be a requirement imo, so I would even include --branch main.

fi
make -C "so-commons-library" uninstall install
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why force reinstall?

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.

2 participants