Skip to content

Commit

Permalink
save queries file as a txt file
Browse files Browse the repository at this point in the history
  • Loading branch information
eranreshef-starkware committed May 8, 2024
1 parent f080ab4 commit c39bc34
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 20 deletions.
20 changes: 0 additions & 20 deletions deployments/storage-benchmark/cm.yaml

This file was deleted.

14 changes: 14 additions & 0 deletions deployments/storage-benchmark/queries.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{"get_nonce_at":[121,"0x20cfa74ee3564b4cd5435cdace0f9c4d43b939620e4a0bb5076105df0a69999"]}
{"get_nonce_at":[121,"0x20cfa74ee3564b4cd5435cdace0f9c4d43b939620e4a0bb5076105df0a69999"]}
{"get_nonce_at":[121,"0x20cfa74ee3564b4cd5435cdace0f9c4d43b939620e4a0bb5076105df0a69999"]}
{"get_nonce_at":[121,"0x20cfa74ee3564b4cd5435cdace0f9c4d43b939620e4a0bb5076105df0a69999"]}
{"get_nonce_at":[121,"0x20cfa74ee3564b4cd5435cdace0f9c4d43b939620e4a0bb5076105df0a626c6"]}
{"get_storage_at":[121,"0x20cfa74ee3564b4cd5435cdace0f9c4d43b939620e4a0bb5076105df0a626c6","0x20cfa74ee3564b4cd5435cdace0f9c4d43b939620e4a0bb5076105df0a626c7"]}
{"get_class_hash_at":[121,"0x20cfa74ee3564b4cd5435cdace0f9c4d43b939620e4a0bb5076105df0a626c6"]}
{"get_storage_at":[121,"0x20cfa74ee3564b4cd5435cdace0f9c4d43b939620e4a0bb5076105df0a626c6","0x20cfa74ee3564b4cd5435cdace0f9c4d43b939620e4a0bb5076105df0a626c7"]}
{"get_class_hash_at":[121,"0x20cfa74ee3564b4cd5435cdace0f9c4d43b939620e4a0bb5076105df0a626c6"]}
{"get_storage_at":[121,"0x20cfa74ee3564b4cd5435cdace0f9c4d43b939620e4a0bb5076105df0a626c6","0x20cfa74ee3564b4cd5435cdace0f9c4d43b939620e4a0bb5076105df0a62647"]}
{"get_class_hash_at":[121,"0x20cfa74ee3564b4cd5435cdace0f9c4d43b939620e4a0bb5076105df0a626c6"]}
{"get_class_hash_at":[121,"0x20cfa74ee3564b4cd5435cdace0f9c4d43b939620e4a0bb5076105df0a626c6"]}
{"get_class_hash_at":[121,"0x20cfa74ee3564b4cd5435cdace0f9c4d43b939620e4a0bb5076105df0a626c6"]}
{"get_class_hash_at":[201,"0x20cfa74ee3564b4cd5435cdace0f9c4d43b939620e4a0bb5076105df0a626c6"]}
1 change: 1 addition & 0 deletions deployments/storage-benchmark/run_benchmark.bash
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ DURRATION_TIMEOUT=$1
kubectl --namespace "$NS" apply -f "$PVC_FILE" --wait=true

# create a configmap with the actions to run
kubectl --namespace "$NS" create configmap queries --from-file "$BASE_PATH/queries.txt" --dry-run=client --output yaml >"$CM_FILE"
kubectl --namespace "$NS" apply -f "$CM_FILE"

# create the storage-benchmark deployment
Expand Down

0 comments on commit c39bc34

Please sign in to comment.