Skip to content

Commit

Permalink
fixed config path
Browse files Browse the repository at this point in the history
  • Loading branch information
amitksingh1490 committed Nov 24, 2024
1 parent b1b7878 commit 7371295
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion configurations/wundergraph/wundergraph_1_basic.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"version": "1",
"execution_config": {
"file": {
"path": "./wundergraph_config.json"
"path": "configurations/wundergraph/wundergraph_config.json"
}
},
"cache_control_policy": {
Expand Down
2 changes: 1 addition & 1 deletion configurations/wundergraph/wundergraph_3_cached.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"version": "1",
"execution_config": {
"file": {
"path": "./wundergraph_config.json"
"path": "configurations/wundergraph/wundergraph_config.json"
}
},
"cache_control_policy": {
Expand Down
4 changes: 0 additions & 4 deletions scripts/benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ elif [ "$2" = "wundergraph_no_opt" ]; then
./wunder --config configurations/wundergraph/wundergraph_1_basic.json > /dev/null &
sleep 5
hey -n 200 -z 10s -m POST -H 'Accept: application/json' -H 'Content-Type: application/json' -D "bench-hey-$1.json" http://127.0.0.1:3002/graphql
elif [ "$2" = "wundergraph_dedupe" ]; then
./wunder --config configurations/wundergraph/wundergraph_2_dedupe.json > /dev/null &
sleep 5
hey -n 200 -z 10s -m POST -H 'Accept: application/json' -H 'Content-Type: application/json' -D "bench-hey-$1.json" http://127.0.0.1:3002/graphql
elif [ "$2" = "wundergraph_default" ]; then
./wunder --config configurations/wundergraph/wundergraph_3_cached.json > /dev/null &
sleep 5
Expand Down

0 comments on commit 7371295

Please sign in to comment.