diff --git a/configurations/wundergraph/wundergraph_1_basic.json b/configurations/wundergraph/wundergraph_1_basic.json index f242d87..c4ce36d 100644 --- a/configurations/wundergraph/wundergraph_1_basic.json +++ b/configurations/wundergraph/wundergraph_1_basic.json @@ -2,7 +2,7 @@ "version": "1", "execution_config": { "file": { - "path": "./wundergraph_config.json" + "path": "configurations/wundergraph/wundergraph_config.json" } }, "cache_control_policy": { diff --git a/configurations/wundergraph/wundergraph_3_cached.json b/configurations/wundergraph/wundergraph_3_cached.json index a1b8d2b..9391df7 100644 --- a/configurations/wundergraph/wundergraph_3_cached.json +++ b/configurations/wundergraph/wundergraph_3_cached.json @@ -2,7 +2,7 @@ "version": "1", "execution_config": { "file": { - "path": "./wundergraph_config.json" + "path": "configurations/wundergraph/wundergraph_config.json" } }, "cache_control_policy": { diff --git a/scripts/benchmark.sh b/scripts/benchmark.sh index 0c508ab..b4f4e17 100755 --- a/scripts/benchmark.sh +++ b/scripts/benchmark.sh @@ -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