|
| 1 | +package bbolt_test |
| 2 | + |
| 3 | +import ( |
| 4 | + "testing" |
| 5 | + |
| 6 | + bolt "go.etcd.io/bbolt" |
| 7 | +) |
| 8 | + |
| 9 | +func TestSimulateCompression_1op_1p(t *testing.T) { |
| 10 | + testSimulate(t, &bolt.Options{Compression: true}, 8, 1, 1) |
| 11 | +} |
| 12 | +func TestSimulateCompression_10op_1p(t *testing.T) { |
| 13 | + testSimulate(t, &bolt.Options{Compression: true}, 8, 10, 1) |
| 14 | +} |
| 15 | +func TestSimulateCompression_100op_1p(t *testing.T) { |
| 16 | + testSimulate(t, &bolt.Options{Compression: true}, 8, 100, 1) |
| 17 | +} |
| 18 | +func TestSimulateCompression_1000op_1p(t *testing.T) { |
| 19 | + testSimulate(t, &bolt.Options{Compression: true}, 8, 1000, 1) |
| 20 | +} |
| 21 | +func TestSimulateCompression_10000op_1p(t *testing.T) { |
| 22 | + testSimulate(t, &bolt.Options{Compression: true}, 8, 10000, 1) |
| 23 | +} |
| 24 | +func TestSimulateCompression_10op_10p(t *testing.T) { |
| 25 | + testSimulate(t, &bolt.Options{Compression: true}, 8, 10, 10) |
| 26 | +} |
| 27 | +func TestSimulateCompression_100op_10p(t *testing.T) { |
| 28 | + testSimulate(t, &bolt.Options{Compression: true}, 8, 100, 10) |
| 29 | +} |
| 30 | +func TestSimulateCompression_1000op_10p(t *testing.T) { |
| 31 | + testSimulate(t, &bolt.Options{Compression: true}, 8, 1000, 10) |
| 32 | +} |
| 33 | +func TestSimulateCompression_10000op_10p(t *testing.T) { |
| 34 | + testSimulate(t, &bolt.Options{Compression: true}, 8, 10000, 10) |
| 35 | +} |
| 36 | +func TestSimulateCompression_100op_100p(t *testing.T) { |
| 37 | + testSimulate(t, &bolt.Options{Compression: true}, 8, 100, 100) |
| 38 | +} |
| 39 | +func TestSimulateCompression_1000op_100p(t *testing.T) { |
| 40 | + testSimulate(t, &bolt.Options{Compression: true}, 8, 1000, 100) |
| 41 | +} |
| 42 | +func TestSimulateCompression_10000op_100p(t *testing.T) { |
| 43 | + testSimulate(t, &bolt.Options{Compression: true}, 8, 10000, 100) |
| 44 | +} |
| 45 | +func TestSimulateCompression_10000op_1000p(t *testing.T) { |
| 46 | + testSimulate(t, &bolt.Options{Compression: true}, 8, 10000, 1000) |
| 47 | +} |
0 commit comments