Skip to content

Commit

Permalink
Fix typo in performance docs (#1350)
Browse files Browse the repository at this point in the history
Executon -> Execution
  • Loading branch information
gcurtis authored Sep 3, 2020
1 parent ca8bbb8 commit ee85322
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/src/docs/usage/performance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ 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 |
| --------------- | --------------- | ---------------- |
| `5` | 1.1 | 60 |
| `10` | 1.1 | 34 |
| `20` | 1.3 | 25 |
| `30` | 1.6 | 20.2 |
| `50` | 2.0 | 17.1 |
| `80` | 2.2 | 14.1 |
| `100` (default) | 2.2 | 13.8 |
| `off` | 3.2 | 9.3 |
| `GOGC` | Peak Memory, GB | Execution Time, s |
| --------------- | --------------- | ----------------- |
| `5` | 1.1 | 60 |
| `10` | 1.1 | 34 |
| `20` | 1.3 | 25 |
| `30` | 1.6 | 20.2 |
| `50` | 2.0 | 17.1 |
| `80` | 2.2 | 14.1 |
| `100` (default) | 2.2 | 13.8 |
| `off` | 3.2 | 9.3 |

## Why `golangci-lint` is so fast

Expand Down

0 comments on commit ee85322

Please sign in to comment.