parent
ca8bbb845c
commit
ee85322041
@ -7,8 +7,8 @@ title: Performance
|
||||
A trade-off between memory usage and execution time can be controlled by [`GOGC`](https://golang.org/pkg/runtime/#hdr-Environment_Variables) environment variable.
|
||||
Less `GOGC` values trigger garbage collection more frequently and golangci-lint consumes less memory and more CPU. Below is the trade-off table for running on this repo:
|
||||
|
||||
| `GOGC` | Peak Memory, GB | Executon Time, s |
|
||||
| --------------- | --------------- | ---------------- |
|
||||
| `GOGC` | Peak Memory, GB | Execution Time, s |
|
||||
| --------------- | --------------- | ----------------- |
|
||||
| `5` | 1.1 | 60 |
|
||||
| `10` | 1.1 | 34 |
|
||||
| `20` | 1.3 | 25 |
|
||||
|
Loading…
x
Reference in New Issue
Block a user