Skip to content

Commit

Permalink
Rollback concurrency evalutation
Browse files Browse the repository at this point in the history
  • Loading branch information
marco6 committed Sep 30, 2024
1 parent ee09cf7 commit 9c528c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func TestCreate(t *testing.T) {
// BenchmarkCreate is a benchmark for the Create operation.
func BenchmarkCreate(b *testing.B) {
for _, backendType := range []string{endpoint.SQLiteBackend, endpoint.DQLiteBackend} {
for _, workers := range []int{1, 4, 32, 64, 128} {
for _, workers := range []int{1, 2, 4, 8, 16} {
b.Run(fmt.Sprintf("%s/%d-workers", backendType, workers), func(b *testing.B) {
b.StopTimer()
g := NewWithT(b)
Expand Down
2 changes: 1 addition & 1 deletion test/delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func TestDelete(t *testing.T) {
// BenchmarkDelete is a benchmark for the delete operation.
func BenchmarkDelete(b *testing.B) {
for _, backendType := range []string{endpoint.SQLiteBackend, endpoint.DQLiteBackend} {
for _, workers := range []int{1, 4, 32, 64, 128} {
for _, workers := range []int{1, 2, 4, 8, 16} {
b.Run(fmt.Sprintf("%s/%d-workers", backendType, workers), func(b *testing.B) {
b.StopTimer()
g := NewWithT(b)
Expand Down
2 changes: 1 addition & 1 deletion test/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func TestUpdate(t *testing.T) {
// BenchmarkUpdate is a benchmark for the Update operation.
func BenchmarkUpdate(b *testing.B) {
for _, backendType := range []string{endpoint.SQLiteBackend, endpoint.DQLiteBackend} {
for _, workers := range []int{1, 4, 32, 64, 128} {
for _, workers := range []int{1, 2, 4, 8, 16} {
b.Run(fmt.Sprintf("%s/%d-workers", backendType, workers), func(b *testing.B) {
b.StopTimer()
g := NewWithT(b)
Expand Down

0 comments on commit 9c528c7

Please sign in to comment.