(b *testing.B)
| 221 | } |
| 222 | |
| 223 | func BenchmarkTHashB(b *testing.B) { |
| 224 | b.ResetTimer() |
| 225 | for i := 0; i < b.N; i++ { |
| 226 | THashB([]byte{ |
| 227 | 0x6f, 0xe2, 0x8c, 0x0a, 0xb6, 0xf1, 0xb3, 0x72, |
| 228 | 0xc1, 0xa6, 0xa2, 0x46, 0xae, 0x63, 0xf7, 0x4f, |
| 229 | 0x93, 0x1e, 0x83, 0x65, 0xe1, 0x5a, 0x08, 0x9c, |
| 230 | 0x68, 0xd6, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, |
| 231 | }) |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | func BenchmarkHashFuncs(b *testing.B) { |
| 236 | b.ResetTimer() |