diff options
author | Aliaksandr Valialkin <valyala@gmail.com> | 2015-11-30 20:25:28 +0200 |
---|---|---|
committer | Aliaksandr Valialkin <valyala@gmail.com> | 2015-11-30 20:25:28 +0200 |
commit | 996917ddf4473946daf4912c17e05003f07ee0a5 (patch) | |
tree | 374f0ac9f2a330d247acc6c5189705e6f4764e46 /bytesconv_timing_test.go | |
parent | Updated int <-> hex benchmarks (diff) | |
download | fasthttp-996917ddf4473946daf4912c17e05003f07ee0a5.tar.gz fasthttp-996917ddf4473946daf4912c17e05003f07ee0a5.tar.bz2 fasthttp-996917ddf4473946daf4912c17e05003f07ee0a5.zip |
gofmt
Diffstat (limited to 'bytesconv_timing_test.go')
-rw-r--r-- | bytesconv_timing_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bytesconv_timing_test.go b/bytesconv_timing_test.go index ffce543..cb6d82a 100644 --- a/bytesconv_timing_test.go +++ b/bytesconv_timing_test.go @@ -7,7 +7,7 @@ import ( ) func BenchmarkInt2HexByte(b *testing.B) { - buf := []int{1,0xf,2,0xd,3,0xe,4,0xa,5,0xb,6,0xc,7,0xf,0,0xf,6,0xd,9,8,4,0x5} + buf := []int{1, 0xf, 2, 0xd, 3, 0xe, 4, 0xa, 5, 0xb, 6, 0xc, 7, 0xf, 0, 0xf, 6, 0xd, 9, 8, 4, 0x5} b.RunParallel(func(pb *testing.PB) { var n int for pb.Next() { |