From cd4dfc75199fa23b130faa5f1022f5fe71e84c4a Mon Sep 17 00:00:00 2001 From: teivah Date: Sat, 12 Dec 2020 12:52:25 +0100 Subject: [PATCH] Comments --- concurrency/concurrency-not-magic_test.go | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/concurrency/concurrency-not-magic_test.go b/concurrency/concurrency-not-magic_test.go index f4a83fa..beb536a 100644 --- a/concurrency/concurrency-not-magic_test.go +++ b/concurrency/concurrency-not-magic_test.go @@ -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)