1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Reduce number of allocations.

This commit is contained in:
Vladimir Mihailenco
2017-01-13 13:39:59 +02:00
parent b9cc17bae0
commit 69554c0ec5
11 changed files with 158 additions and 92 deletions

View File

@ -37,7 +37,7 @@ func BenchmarkRedisPing(b *testing.B) {
})
}
func BenchmarkRedisSet(b *testing.B) {
func BenchmarkRedisSetString(b *testing.B) {
client := benchmarkRedisClient(10)
defer client.Close()