diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 684909a..c20d84c 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -142,8 +142,8 @@ jobs: ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.sha }} - name: Collect results table run: | - echo "### [Small Payload - 362 bytes](./source/small.json)" - echo "| Server | Status | RPS | Latency |" > "results.md" + echo "### [Small Payload - 362 bytes](./source/small.json)" >> "results.md" + echo "| Server | Status | RPS | Latency |" >> "results.md" echo "| ---: | ---: | ---: | ---: |" >> "results.md" echo "| [Nginx](https://nginx.org/en/) | \ ${{ fromJson(needs.read.outputs.result).has_error.small_nginx_graphql }} | \ @@ -181,8 +181,8 @@ jobs: \`${{ fromJson(needs.read.outputs.result).p95.small_wundergraph_default }} sec\` |" >> "results.md" - echo "### [Medium Payload - 12,598 bytes](./source/medium.json)" - echo "| Server | Status | RPS | Latency |" > "results.md" + echo "### [Medium Payload - 12,598 bytes](./source/medium.json)" >> "results.md" + echo "| Server | Status | RPS | Latency |" >> "results.md" echo "| ---: | ---: | ---: | ---: |" >> "results.md" echo "| [Nginx](https://nginx.org/en/) | \ ${{ fromJson(needs.read.outputs.result).has_error.medium_nginx_graphql }} | \ @@ -220,8 +220,8 @@ jobs: \`${{ fromJson(needs.read.outputs.result).p95.medium_wundergraph_default }} sec\` |" >> "results.md" - echo "### [Big Payload - 112,838 bytes](./source/big.json)" - echo "| Server | Status | RPS | Latency |" > "results.md" + echo "### [Big Payload - 112,838 bytes](./source/big.json)" >> "results.md" + echo "| Server | Status | RPS | Latency |" >> "results.md" echo "| ---: | ---: | ---: | ---: |" >> "results.md" echo "| [Nginx](https://nginx.org/en/) | \ ${{ fromJson(needs.read.outputs.result).has_error.big_nginx_graphql }} | \ diff --git a/README.md b/README.md index 165c64a..6781436 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,9 @@ This document presents a comparative analysis of several renowned GraphQL Federa ## Architecture -![image info](./files/diagram.png) +| Big Payload | Medium Payload | Small Payload | +| --- | --- | --- | +| ![image info](./files/diagram_big.png) | ![image info](./files/diagram_medium.png) | ![image info](./files/diagram_small.png) | ### Components diff --git a/files/diagram.png b/files/diagram.png deleted file mode 100644 index 37085cb..0000000 Binary files a/files/diagram.png and /dev/null differ diff --git a/files/diagram_big.png b/files/diagram_big.png new file mode 100644 index 0000000..779f0a7 Binary files /dev/null and b/files/diagram_big.png differ diff --git a/files/diagram_medium.png b/files/diagram_medium.png new file mode 100644 index 0000000..8884e78 Binary files /dev/null and b/files/diagram_medium.png differ diff --git a/files/diagram_small.png b/files/diagram_small.png new file mode 100644 index 0000000..0103730 Binary files /dev/null and b/files/diagram_small.png differ