From 052c2ca8d3688fc5d9f8549627968d3ca27b1967 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Tue, 5 Nov 2013 23:03:54 -0600 Subject: [PATCH] Correct benchmark comments. --- bench_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bench_test.go b/bench_test.go index 0150c658..2927f4ee 100644 --- a/bench_test.go +++ b/bench_test.go @@ -43,7 +43,7 @@ func BenchmarkWriteVarInt9(b *testing.B) { } } -// BenchmarkReadVarInt1 performs a benchmark on how long it takes to write +// BenchmarkReadVarInt1 performs a benchmark on how long it takes to read // a single byte variable length integer. func BenchmarkReadVarInt1(b *testing.B) { buf := []byte{0x01} @@ -52,7 +52,7 @@ func BenchmarkReadVarInt1(b *testing.B) { } } -// BenchmarkReadVarInt3 performs a benchmark on how long it takes to write +// BenchmarkReadVarInt3 performs a benchmark on how long it takes to read // a three byte variable length integer. func BenchmarkReadVarInt3(b *testing.B) { buf := []byte{0x0fd, 0xff, 0xff} @@ -61,7 +61,7 @@ func BenchmarkReadVarInt3(b *testing.B) { } } -// BenchmarkReadVarInt5 performs a benchmark on how long it takes to write +// BenchmarkReadVarInt5 performs a benchmark on how long it takes to read // a five byte variable length integer. func BenchmarkReadVarInt5(b *testing.B) { buf := []byte{0xfe, 0xff, 0xff, 0xff, 0xff} @@ -70,7 +70,7 @@ func BenchmarkReadVarInt5(b *testing.B) { } } -// BenchmarkReadVarInt9 performs a benchmark on how long it takes to write +// BenchmarkReadVarInt9 performs a benchmark on how long it takes to read // a nine byte variable length integer. func BenchmarkReadVarInt9(b *testing.B) { buf := []byte{0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}