You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,14 @@ The action was implemented with performance in mind:
57
57
2. We don't use Docker because image pulling is slow.
58
58
3. We do as much as we can in parallel, e.g. we download cache, go and golangci-lint binary in parallel.
59
59
60
+
For example, in a repository of [golangci-lint](https://github.com/golangci/golangci-lint) running this action without the cache takes 35s, but with cache takes 800ms.
61
+
But the total execution time of the action on [golangci-lint](https://github.com/golangci/golangci-lint) repository is 14s:
62
+
* in parallel:
63
+
* 13s to download Go
64
+
* 3.7s to restore 50 MB of cache
65
+
* 1s to find and install `golangci-lint`
66
+
* 1s to run `golangci-lint`
67
+
60
68
## Internals
61
69
62
70
We use JavaScript-based action. We don't use Docker-based action because:
0 commit comments