(b *testing.B)
| 38 | } |
| 39 | |
| 40 | func BenchmarkHashKey_String(b *testing.B) { |
| 41 | runtime.GOMAXPROCS(1) |
| 42 | for i := 0; i < b.N; i++ { |
| 43 | ttlcache.HashKeyString("HELLO,WORLDHELLO,WORLDHELLO,WORLDHELLO,WORLDHELLO,WORLDHELLO,WORLD") |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | func BenchmarkHashKey_XXHash(b *testing.B) { |
| 48 | runtime.GOMAXPROCS(1) |
nothing calls this directly
no test coverage detected