github.com/kchristidis/fabric@v1.0.4-0.20171028114726-837acd08cde1/test/tools/LTE/scripts/parameters_daily_CI.sh (about)

     1  #!/bin/bash
     2  #
     3  # Copyright IBM Corp. All Rights Reserved.
     4  #
     5  # SPDX-License-Identifier: Apache-2.0
     6  #
     7  DataDir="/tmp/fabric/test/tools/LTE/data"
     8  NumChains=10
     9  NumParallelTxPerChain=10
    10  NumKVs=100000
    11  NumTotalTx=100000
    12  NumKeysInEachTx=4
    13  BatchSize=50
    14  KVSize=200
    15  
    16  # Each test consists of several test-runs, where one single parameter is varied
    17  # between the test-runs and rest of the parameters remain same. Each array below
    18  # holds the values of that parameter for each corresponding test. For example,
    19  # the "ArrayNumChains" will be used in the test titled "varyNumChains", and the
    20  # 8 test-runs that exist for testing the varying number of chains will use these
    21  # values:
    22  # NumChains = (1 5 10 20 50 100 500 2000)
    23  # NumParallelTxPerChain=10
    24  # NumKVs=100000
    25  # NumTotalTx=100000
    26  # NumKeysInEachTx=4
    27  # BatchSize=50
    28  # KVSize=200
    29  ArrayNumParallelTxPerChain=(1 5 10 20 50 100 500 2000)
    30  ArrayNumChains=(1 5 10 20 50 100 500 2000)
    31  ArrayNumKeysInEachTx=(1 2 5 10 20)
    32  ArrayKVSize=(100 200 500 1000 2000)
    33  ArrayBatchSize=(10 20 100 500)
    34  ArrayNumParallelTxWithSingleChain=(1 5 10 20 50 100 500 2000)
    35  ArrayNumChainsWithNoParallelism=(1 5 10 20 50 100 500 2000)
    36  ArrayNumTxs=(100000 200000 500000 1000000)