GoogleCloudPlatform / GoogleCloudPlatform/cloud-builders-community

save_cache slow

Open
#399 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.3k
Forks
848
PR merge metrics
No merged PRs in 30d

Description

Running `save_cache` takes ~40sec for a final archive that's ~175MB. This looks quite slow to me.

Here's my output:
```
Pulling image: gcr.io/XXX/save_cache
Using default tag: latest
latest: Pulling from XXX/save_cache
75f546e73d8b: Already exists
0f3bb76fc390: Already exists
3c2cba919283: Already exists
5a992b2091ae: Already exists
a03c90d5aa70: Already exists
1344b72882b8: Already exists
02f5215030de: Already exists
3f56bf5d454b: Already exists
Digest: sha256:b19c124096ecc3ae3aab533a329503489c46e7bfe6a2a87d805c1a12868b053f
Status: Downloaded newer image for gcr.io/XXX/save_cache:latest
gcr.io/upheld-hope-240615/save_cache:latest
Compressing cache to ./node_modules.tgz...
Uploading cache to Google Cloud Storage...
Copying file://./node_modules.tgz [Content-Type=application/x-tar]...
/ [0 files][ 0.0 B/175.5 MiB]
Operation completed over 1 objects/175.5 MiB.
```

Do you have any ideas who I can speed that up?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.