File: README.md

package info (click to toggle)
golang-github-go-logr-logr 1.4.2-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie
  • size: 424 kB
  • sloc: sh: 87; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 312 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Benchmarking logr

Any major changes to the logr library must be benchmarked before and after the
change.

## Running the benchmark

```
$ go test -bench='.' -test.benchmem ./benchmark/
```

## Fixing the benchmark

If you think this benchmark can be improved, you are probably correct!  PRs are
very welcome.