Skip to content

Commit cf2fd4c

Browse files
committed
docs: remove perf example
1 parent 09dada9 commit cf2fd4c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ permissions:
523523
pull-requests: read
524524
```
525525
526-
For annotations to work, use the default format output (`text`) and either use `actions/setup-go` in the job or enable the internal [problem matchers](#problem-matchers).
526+
For annotations to work, use the default format output (`text`) and either use [`actions/setup-go`](https://github.com/actions/setup-go) in the job or enable the internal [problem matchers](#problem-matchers).
527527

528528
## Performance
529529

@@ -532,12 +532,7 @@ The action was implemented with performance in mind:
532532
1. We cache data from golangci-lint analysis between builds by using [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache).
533533
2. We don't use Docker because image pulling is slow.
534534
3. We do as much as we can in parallel, e.g., we download the cache and the golangci-lint binary in parallel.
535-
536-
For example, in the [golangci-lint](https://github.com/golangci/golangci-lint) repository, running this action without the cache takes 50s, but with the cache it takes 14s:
537-
* in parallel:
538-
* 4s to restore 50 MB of cache
539-
* 1s to find and install `golangci-lint`
540-
* 1s to run `golangci-lint` (it takes 35s without cache)
535+
4. We rely on [`actions/setup-go`](https://github.com/actions/setup-go) for Go module cache.
541536

542537
## Internals
543538

0 commit comments

Comments
 (0)