From 88af7095c11299d9e45295a38302712c4093a2d3 Mon Sep 17 00:00:00 2001 From: Harsimran Kaur Date: Mon, 27 May 2019 16:49:15 +0200 Subject: [PATCH] Typo GOCC to GOGC --- README.md | 2 +- README.tmpl.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6a6628ae..da5e5129 100644 --- a/README.md +++ b/README.md @@ -345,7 +345,7 @@ Read [this section](#internals) for details. ### Memory Usage of Golangci-lint -A trade-off between memory usage and execution time can be controlled by [`GOCC`](https://golang.org/pkg/runtime/#hdr-Environment_Variables) environment variable. +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| diff --git a/README.tmpl.md b/README.tmpl.md index c70640cb..bae6b95d 100644 --- a/README.tmpl.md +++ b/README.tmpl.md @@ -313,7 +313,7 @@ Read [this section](#internals) for details. ### Memory Usage of Golangci-lint -A trade-off between memory usage and execution time can be controlled by [`GOCC`](https://golang.org/pkg/runtime/#hdr-Environment_Variables) environment variable. +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|