Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
nihohit committed Dec 5, 2023
1 parent 8be27a9 commit df1f556
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 65 deletions.
64 changes: 1 addition & 63 deletions .github/workflows/test-benchmark/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,66 +15,4 @@ runs:

- shell: bash
working-directory: ./benchmarks
run: ./install_and_test.sh -no-tls -minimal -only-babushka -data 1 -concurrency 10 ${{ inputs.language-flag }}
# on:
# push:
# branches: ["main"]
# pull_request:

# permissions:
# contents: read

# jobs:
# run-benchmark:
# timeout-minutes: 10
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# redis:
# - 7.2.0

# steps:
# - uses: actions/checkout@v4
# with:
# submodules: recursive

# - name: Install redis
# uses: ./.github/workflows/install-redis
# with:
# redis-version: ${{ matrix.redis }}

# - name: Install protoc
# run: |
# sudo apt update
# sudo apt install protobuf-compiler

# - uses: dtolnay/rust-toolchain@stable
# - uses: Swatinem/rust-cache@v2

# - name: Set up dotnet
# uses: actions/setup-dotnet@v3
# with:
# dotnet-version: 6.0.x

# - name: Set up JDK 11
# uses: actions/setup-java@v3
# with:
# distribution: "temurin"
# java-version: 11

# - name: Use Node.js 16.x
# uses: actions/setup-node@v3
# with:
# node-version: 16.x

# - name: Install python
# run: |
# yum install -y python3

# - name: Start redis server
# run: redis-server &

# - name: Test
# working-directory: ./benchmarks
# run: ./install-and-test -no-tls -minimal -only-babushka -data 1 -concurrency 10
run: ./install_and_test.sh -no-tls -minimal -only-babushka -data 1 -tasks 10 ${{ inputs.language-flag }}
3 changes: 1 addition & 2 deletions benchmarks/install_and_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ function flushDB() {

function fillDB(){
flushDB
cd $utilitiesDir
npx tsc
npm run fill -- --dataSize $1 --host $host $tlsFlag $clusterFlag $portFlag
}

Expand Down Expand Up @@ -224,6 +222,7 @@ for currentDataSize in $dataSize
do
if [ -z "$minimal" ];
then
flushDB
echo "Minimal run, not filling database"
else
fillDB $currentDataSize
Expand Down

0 comments on commit df1f556

Please sign in to comment.