Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/benchmark.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ on:
subgraphDelay:
type: number
default: 0
fork:
type: number
required: true

jobs:
test:
Expand Down Expand Up @@ -95,6 +98,7 @@ jobs:
BENCH_OVER_TIME: ${{ inputs.time }}
MEM_LIMIT: ${{ inputs.memoryLimit }}
CPU_LIMIT: ${{ inputs.cpuLimit }}
FORK: ${{ inputs.fork }}

- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
if: always()
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/federation-v1.workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
scenarioName: constant-vus-over-time
runner: ${{ needs.decide-runner.outputs.runner }}
cpuLimit: 3
fork: 2
memoryLimit: 6gb
mode: constant

Expand Down Expand Up @@ -65,6 +66,7 @@ jobs:
scenarioName: constant-vus-subgraphs-delay
runner: ${{ needs.decide-runner.outputs.runner }}
cpuLimit: 3
fork: 2
memoryLimit: 6gb
subgraphDelay: 50
mode: constant
Expand Down Expand Up @@ -98,6 +100,7 @@ jobs:
scenarioName: constant-vus-subgraphs-delay-resources
runner: ${{ needs.decide-runner.outputs.runner }}
cpuLimit: 4
fork: 3
memoryLimit: 8gb
subgraphDelay: 50
mode: constant
Expand Down Expand Up @@ -131,6 +134,7 @@ jobs:
scenarioName: ramping-vus
runner: ${{ needs.decide-runner.outputs.runner }}
cpuLimit: 4
fork: 3
memoryLimit: 8gb
mode: stress

Expand Down
6 changes: 6 additions & 0 deletions gateways/hive-gateway-bun/gateway.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { defineConfig } from '@graphql-hive/gateway'

export const gatewayConfig = defineConfig({
maxDepth: false,
maxTokens: false,
})
2 changes: 1 addition & 1 deletion gateways/hive-gateway-bun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "hive-gateway-bun",
"version": "0.0.0",
"dependencies": {
"@graphql-hive/gateway": "1.16.5",
"@graphql-hive/gateway": "2.0.0",
"graphql": "16.11.0"
},
"devDependencies": {
Expand Down
6 changes: 6 additions & 0 deletions gateways/hive-gateway/gateway.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { defineConfig } from '@graphql-hive/gateway'

export const gatewayConfig = defineConfig({
maxDepth: false,
maxTokens: false,
})
2 changes: 1 addition & 1 deletion gateways/hive-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"start": "hive-gateway supergraph supergraph.graphql --jit"
},
"dependencies": {
"@graphql-hive/gateway": "1.16.5",
"@graphql-hive/gateway": "2.0.0",
"graphql": "16.11.0"
}
}
Loading
Loading