Skip to content

Commit 1ced911

Browse files
committed
Add benchmark instructions to README
1 parent f0dc1d5 commit 1ced911

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,18 @@ go test -coverprofile=coverage.out ./...
186186
go tool cover -html=coverage.out
187187
```
188188

189+
### Run Benchmarks
190+
191+
```bash
192+
go test -bench=. -benchmem
193+
```
194+
195+
Run specific benchmarks:
196+
197+
```bash
198+
go test -bench=BenchmarkContains -benchmem
199+
```
200+
189201
## License
190202

191203
MIT

0 commit comments

Comments
 (0)