Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
sylwiaszunejko committed Aug 30, 2024
1 parent 01096c6 commit 47c90f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mutex-in-struct/bench_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package main_test

import (
"github.com/go-auxiliaries/perf-geek/mutex-in-struct/code"
"testing"

"github.com/go-auxiliaries/perf-geek/mutex-in-struct/code"
)

func BenchmarkTest(b *testing.B) {
Expand All @@ -15,6 +16,8 @@ func BenchmarkTest(b *testing.B) {
})
})

// TESTTT

b.Run("multi-thread", func(b *testing.B) {
b.Run("Mutex", func(b *testing.B) {
runMultiThreadTest[*code.Mutex](b)
Expand Down

0 comments on commit 47c90f1

Please sign in to comment.