Skip to content
Draft
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
1 change: 1 addition & 0 deletions .github/workflows/benchmark.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ jobs:
timeout-minutes: 600
run: make test gateway=${{ inputs.gateway }} mode=${{ inputs.mode }}
env:
PRINT_ONCE: 1
BENCH_VUS: ${{ inputs.vu }}
BENCH_OVER_TIME: ${{ inputs.time }}
MEM_LIMIT: ${{ inputs.memoryLimit }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/report.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: publish report (pull_request)
uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2
if: github.event_name == 'pull_request'
if: startsWith(github.ref, 'refs/pull/')
with:
header: ${{ inputs.scenarioName }}
path: result.md
Expand Down
302 changes: 154 additions & 148 deletions constant-vus-over-time_result.md

Large diffs are not rendered by default.

274 changes: 137 additions & 137 deletions k6.js

Large diffs are not rendered by default.

307 changes: 156 additions & 151 deletions ramping-vus_result.md

Large diffs are not rendered by default.

17 changes: 13 additions & 4 deletions subgraphs/inventory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,21 @@ pub struct Query;
#[Object(extends = true)]
impl Query {
#[graphql(entity)]
async fn find_product_by_id(&self, upc: ID) -> Product {
INVENTORY
async fn find_product_by_id(
&self,
upc: ID,
price: Option<i64>,
weight: Option<i64>,
) -> Product {
let product = INVENTORY
.iter()
.find(|product| product.upc == upc.to_string())
.unwrap()
.clone()
.unwrap();
Product {
price,
weight,
..product.clone()
}
}
}

Expand Down
2,792 changes: 1,400 additions & 1,392 deletions website/constant-data.csv

Large diffs are not rendered by default.

2,371 changes: 1,189 additions & 1,182 deletions website/stress-data.csv

Large diffs are not rendered by default.

Loading