Skip to content

Commit

Permalink
uncomment benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
btsomogyi committed Mar 29, 2022
1 parent 4deb6f6 commit 46957f9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 26 deletions.
47 changes: 23 additions & 24 deletions example/arbitrated/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,30 +31,29 @@ func Benchmark_randomRequests(b *testing.B) {
Requests int
Concurrency int
}{
/*
{100, 1},
{100, 2},
{100, 4},
{100, 8},
{100, 12},
{100, 24},
{500, 1},
{500, 2},
{500, 4},
{500, 8},
{500, 12},
{500, 24},
{500, 48},
{5000, 1},
{5000, 2},
{5000, 4},
{5000, 8},
{5000, 12},
{5000, 24},
{5000, 48},
{5000, 96},
{5000, 144},
{5000, 192},*/
{100, 1},
{100, 2},
{100, 4},
{100, 8},
{100, 12},
{100, 24},
{500, 1},
{500, 2},
{500, 4},
{500, 8},
{500, 12},
{500, 24},
{500, 48},
{5000, 1},
{5000, 2},
{5000, 4},
{5000, 8},
{5000, 12},
{5000, 24},
{5000, 48},
{5000, 96},
{5000, 144},
{5000, 192},
{50000, 24},
{50000, 48},
{50000, 96},
Expand Down
4 changes: 2 additions & 2 deletions example/locking/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func Benchmark_randomRequests(b *testing.B) {
Requests int
Concurrency int
}{
/*{100, 1},
{100, 1},
{100, 2},
{100, 4},
{100, 8},
Expand All @@ -51,7 +51,7 @@ func Benchmark_randomRequests(b *testing.B) {
{5000, 48},
{5000, 96},
{5000, 144},
{5000, 192},*/
{5000, 192},
{50000, 24},
{50000, 48},
{50000, 96},
Expand Down

0 comments on commit 46957f9

Please sign in to comment.