format
This commit is contained in:
@@ -156,7 +156,7 @@ func Benchmark_TimeConsumingFunction(b *testing.B) {
|
||||
我们执行命令`go test webbench_test.go -test.bench=".*"`,可以看到如下结果:
|
||||
```
|
||||
Benchmark_Division-4 500000000 7.76 ns/op 456 B/op 14 allocs/op
|
||||
Benchmark_TimeConsumingFunction-4 500000000 7.80 ns/op 224 B/op 4 allocs/op
|
||||
Benchmark_TimeConsumingFunction-4 500000000 7.80 ns/op 224 B/op 4 allocs/op
|
||||
PASS
|
||||
ok gotest 9.364s
|
||||
```
|
||||
@@ -170,4 +170,4 @@ ok gotest 9.364s
|
||||
## links
|
||||
* [目录](<preface.md>)
|
||||
* 上一节: [使用GDB调试](<11.2.md>)
|
||||
* 下一节: [小结](<11.4.md>)
|
||||
* 下一节: [小结](<11.4.md>)
|
||||
|
||||
Reference in New Issue
Block a user