Skip to content

Commit

Permalink
Correct BenchmarkWithRandomData test names (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
koen-struyve-q authored May 16, 2024
1 parent 45ee577 commit d2e6b95
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/generator/generator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,19 +182,19 @@ func BenchmarkWithRandomData(b *testing.B) {
args args
}{
{
name: "64KB",
name: "64KiB",
args: args{opts: []Option{WithSize(1 << 16), WithRandomData().Apply()}},
},
{
name: "1MB",
name: "1MiB",
args: args{opts: []Option{WithSize(1 << 20), WithRandomData().Apply()}},
},
{
name: "10MB",
name: "10MiB",
args: args{opts: []Option{WithSize(10 << 20), WithRandomData().Apply()}},
},
{
name: "1GB",
name: "10GiB",
args: args{opts: []Option{WithSize(10 << 30), WithRandomData().Apply()}},
},
}
Expand Down

0 comments on commit d2e6b95

Please sign in to comment.