Skip to content

Commit

Permalink
Move duplicated logic in benchmark JS scripts to a single file, and c…
Browse files Browse the repository at this point in the history
…onvert to TypeScript. (valkey-io#456)

removed duplicated logic and refactored to typescript

Signed-off-by: acarbonetto <[email protected]>
  • Loading branch information
acarbonetto committed Sep 26, 2023
1 parent 2798fe8 commit 51dd435
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 74 deletions.
8 changes: 7 additions & 1 deletion benchmarks/install_and_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,11 @@ do
;;
-is-cluster)
clusterFlag="--clusterModeEnabled"
;;
;;
-port)
portFlag="--port "$2
shift
;;
esac
shift
done
Expand Down Expand Up @@ -276,6 +280,8 @@ do
fi
done



flushDB

if [ $writeResultsCSV == 1 ];
Expand Down
73 changes: 0 additions & 73 deletions benchmarks/utilities/fill_db.js

This file was deleted.

0 comments on commit 51dd435

Please sign in to comment.