New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 769947 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
User never visited
Closed: Jul 28
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

checking out ios repos on mac is remarkably slow

Project Member Reported by dpranke@chromium.org, Sep 28 2017

Issue description

I think this is likely a GoB issue, but not sure.

On my corp mac desktop, `fetch --no-history --nohooks chromium` took 5m30s to complete earlier today and consumes 8.1 GB of space. Running shortly after that, `fetch --no-history --nohooks ios` took 65m33s and consumed 9.0 GB of stuff.

I don't think this is unusual; I'm pretty sure every time I've tried to do an ios checkout it has taken forever and it's due to the ios-specific third party repos.

Anyone have any idea what's going on?
 

Comment 1 by s...@google.com, Sep 29 2017

Cc: -smut@chromium.org
Owner: smut@chromium.org
Status: ExternalDependency (was: Available)
I don't think it's Mac-specific, I tried on Linux and it takes awhile to clone https://chromium.googlesource.com/external/github.com/material-components/material-components-ios:
$ time git clone https://chromium.googlesource.com/external/github.com/material-components/material-components-ios
Cloning into 'material-components-ios'...
remote: Sending approximately 265.18 MiB ...
remote: Counting objects: 334496, done
remote: Total 895541 (delta 538278), reused 895541 (delta 538278)
Receiving objects: 100% (895541/895541), 265.18 MiB | 20.72 MiB/s, done.
Resolving deltas: 100% (538278/538278), done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.


real	6m3.803s
user	6m40.616s
sys	0m18.924s

I think we can just ask gerritcodereview-team to run a server-side gc. That said, I don't know what's taking 60 extra minutes. material-components-ios is a little slow for me, but not that slow.

I've filed http://b/67063767.

See also http://b/33760128.

Comment 2 by s...@google.com, Sep 29 2017

All right, just checked all iOS-specific DEPS. material-components-ios is the only particularly slow one for me.
That's pretty much the repo I'dve guessed :).
Status: WontFix (was: ExternalDependency)
Apparently this is 60x faster now, although I don't see any updates on b/67063767

$ time git clone https://chromium.googlesource.com/external/github.com/material-components/material-components-ios
Cloning into 'material-components-ios'...
remote: Sending approximately 111.12 MiB ...
remote: Counting objects: 95, done
remote: Finding sources: 100% (85/85)
remote: Total 43521 (delta 32539), reused 43489 (delta 32539)
Receiving objects: 100% (43521/43521), 111.11 MiB | 35.39 MiB/s, done.
Resolving deltas: 100% (32539/32539), done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.


real	0m6.027s
user	0m4.336s
sys	0m1.396s

Sign in to add a comment