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

Slow performance on large repos #40

Open
mrmeyers99 opened this issue Aug 9, 2023 · 1 comment
Open

Slow performance on large repos #40

mrmeyers99 opened this issue Aug 9, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@mrmeyers99
Copy link
Contributor

Hi,

I have a very large repo which takes 1-2 minutes to do an unshallow fetch

Wed, 09 Aug 2023 16:31:34 GMT Run tony84727/changed-file-filter@v0.2.2
Wed, 09 Aug 2023 16:31:34 GMT /usr/bin/git fetch --prune --unshallow
Wed, 09 Aug 2023 16:32:33 GMT From https://github.com/<org>/<repo>

I was wondering if there might be a better way to do this check? Maybe checking out the head and the base refs and doing the compare that way?

I'm using this action in many of my workflows to conditionally skip long running jobs depending on if you changed relevant files, so the time spent is still worth it, but it would be nice if it was faster.

@tony84727 tony84727 added the enhancement New feature or request label Aug 10, 2023
@tylerlaprade
Copy link

I occasionally get extremely slow performance on my repo, around 3 minutes, and sometimes even up to 10 minutes to run. But most of the time it runs in 40 seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants