Skip to content

Commit 88af709

Browse files
Harsimran1jirfag
authored andcommitted
Typo GOCC to GOGC
1 parent 9d8eb16 commit 88af709

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ Read [this section](#internals) for details.
345345
346346
### Memory Usage of Golangci-lint
347347
348-
A trade-off between memory usage and execution time can be controlled by [`GOCC`](https://golang.org/pkg/runtime/#hdr-Environment_Variables) environment variable.
348+
A trade-off between memory usage and execution time can be controlled by [`GOGC`](https://golang.org/pkg/runtime/#hdr-Environment_Variables) environment variable.
349349
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:
350350
351351
|`GOGC`|Peak Memory, GB|Executon Time, s|

README.tmpl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ Read [this section](#internals) for details.
313313

314314
### Memory Usage of Golangci-lint
315315

316-
A trade-off between memory usage and execution time can be controlled by [`GOCC`](https://golang.org/pkg/runtime/#hdr-Environment_Variables) environment variable.
316+
A trade-off between memory usage and execution time can be controlled by [`GOGC`](https://golang.org/pkg/runtime/#hdr-Environment_Variables) environment variable.
317317
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:
318318

319319
|`GOGC`|Peak Memory, GB|Executon Time, s|

0 commit comments

Comments
 (0)