mirror of
https://github.com/teivah/100-go-mistakes.git
synced 2026-06-21 00:47:11 +08:00
Comments
This commit is contained in:
parent
2cf2492554
commit
cd4dfc7519
1 changed files with 7 additions and 8 deletions
|
|
@ -49,14 +49,13 @@ func Test_parseFile(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
//
|
||||
//func Benchmark_parseFileSequential(b *testing.B) {
|
||||
// benchmarkParseFile(b, parseFileSequential)
|
||||
//}
|
||||
//
|
||||
//func Benchmark_parseFileConcurrentV1(b *testing.B) {
|
||||
// benchmarkParseFile(b, parseFileConcurrentV1)
|
||||
//}
|
||||
func Benchmark_parseFileSequential(b *testing.B) {
|
||||
benchmarkParseFile(b, parseFileSequential)
|
||||
}
|
||||
|
||||
func Benchmark_parseFileConcurrentV1(b *testing.B) {
|
||||
benchmarkParseFile(b, parseFileConcurrentV1)
|
||||
}
|
||||
|
||||
func Benchmark_parseFileConcurrentV2(b *testing.B) {
|
||||
benchmarkParseFile(b, parseFileConcurrentV2)
|
||||
|
|
|
|||
Loading…
Reference in a new issue