Skip to content

Commit a54d9f6

Browse files
committed
doc: remove trailing whitespaces from dev guide
1 parent 976020c commit a54d9f6

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

CONTRIBUTING.md

+11-12
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ make test-multi test-uuid test-main
3939
```
4040

4141
To check if the current changes will pass the linter in CI, install
42-
golnagci-lint from [sources](https://golangci-lint.run/usage/install/)
42+
golnagci-lint from [sources](https://golangci-lint.run/usage/install/)
4343
and run it with next flags:
4444
```bash
4545
golangci-lint run -E gofmt -D errcheck
@@ -49,7 +49,7 @@ golangci-lint run -E gofmt -D errcheck
4949

5050
### Quick start
5151

52-
To run all benchmark tests from the current branch run:
52+
To run all benchmark tests from the current branch run:
5353

5454
```bash
5555
make bench
@@ -93,7 +93,7 @@ testing [flag](https://pkg.go.dev/cmd/go#hdr-Testing_flags) `-benchtime` for got
9393
It may take the values in seconds (e.g, `5s`) or count of iterations (e.g, `1000x`).
9494
It is set to `3s` by default.
9595

96-
Use the variable `COUNT` to control the count of benchmark runs for each test.
96+
Use the variable `COUNT` to control the count of benchmark runs for each test.
9797
It is set to `5` by default. That variable is mapped on testing flag `-count`.
9898
Use higher values if the benchmark numbers aren't stable.
9999

@@ -119,39 +119,38 @@ There are suggestions how to achieve best results:
119119
* If you're using `intel_pstate` frequency driver (it is usually default):
120120

121121
Disable TurboBoost:
122-
122+
123123
```shell
124124
$ echo 0 > /sys/devices/system/cpu/intel_pstate/no_turbo
125125
```
126-
126+
127127
Set fixed frequency: not sure it is possible.
128128

129129
* If you're using `acpi-cpufreq` driver:
130-
130+
131131
Ensure you actually don't use intel_pstate:
132-
132+
133133
```shell
134134
$ grep -o 'intel_pstate=\w\+' /proc/cmdline
135135
intel_pstate=disable
136136
$ cpupower -c all frequency-info | grep driver:
137137
driver: acpi-cpufreq
138138
<...>
139139
```
140-
140+
141141
Disable TurboBoost:
142-
142+
143143
```shell
144144
$ echo 0 > /sys/devices/system/cpu/cpufreq/boost
145145
```
146-
146+
147147
Set fixed frequency:
148-
148+
149149
```shell
150150
$ cpupower -c all frequency-set -g userspace
151151
$ cpupower -c all frequency-set -f 1.80GHz # adjust for your CPU
152152
```
153153

154-
155154
## Code review checklist
156155

157156
- Public API contains functions, variables, constants that are needed from

0 commit comments

Comments
 (0)