File: 022-bench.txt

package info (click to toggle)
golang-github-jstemmer-go-junit-report 2.1.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 696 kB
  • sloc: xml: 975; makefile: 24
file content (18 lines) | stat: -rw-r--r-- 543 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
=== RUN   TestOne
    bench_test.go:9: test log
--- PASS: TestOne (0.00s)
goos: linux
goarch: amd64
pkg: package/bench
BenchmarkOne
    bench_test.go:13: benchmark log (1)
    bench_test.go:13: benchmark log (100)
    bench_test.go:13: benchmark log (10000)
    bench_test.go:13: benchmark log (1000000)
    bench_test.go:13: benchmark log (100000000)
    bench_test.go:13: benchmark log (1000000000)
BenchmarkOne-8   	1000000000	         0.2642 ns/op
BenchmarkTwo
BenchmarkTwo-8   	39560503	        33.21 ns/op
PASS
ok  	package/bench	1.640s