16 lines
297 B
Markdown
16 lines
297 B
Markdown
|
# Benchmarking logr
|
||
|
|
||
|
Any major changes to the logr library must be benchmarked before and after the
|
||
|
change.
|
||
|
|
||
|
## Running the benchmark
|
||
|
|
||
|
```
|
||
|
$ go test -bench='.' ./benchmark/
|
||
|
```
|
||
|
|
||
|
## Fixing the benchmark
|
||
|
|
||
|
If you think this benchmark can be improved, you are probably correct! PRs are
|
||
|
very welcome.
|