Skip to content

Commit

Permalink
Renamed benchmark: RepeatedKeys
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyyssh committed Dec 25, 2024
1 parent d765331 commit 84ba8eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/idempotency/locker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func Benchmark_MemoryLock_Parallel(b *testing.B) {
})
})

b.Run("Repeated3TimesKeys", func(b *testing.B) {
b.Run("RepeatedKeys", func(b *testing.B) {
lock := idempotency.NewMemoryLock()
var keyI atomic.Int32
b.RunParallel(func(p *testing.PB) {
Expand Down

0 comments on commit 84ba8eb

Please sign in to comment.