Skip to content

Add single-flight coalescing for operation compiler#9153

Merged
michaelstaib merged 3 commits intomainfrom
mst/inflight-hc-comp
Feb 19, 2026
Merged

Add single-flight coalescing for operation compiler#9153
michaelstaib merged 3 commits intomainfrom
mst/inflight-hc-comp

Conversation

@michaelstaib
Copy link
Copy Markdown
Member

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 19, 2026

Fusion Gateway Performance Results

Simple Composite Query

Req/s Err%
Constant (50 VUs) 2840.16 0.00%
Ramping (0-500-0 VUs) 3369.03 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 0.75ms 15.61ms 17.38ms 30.96ms 36.38ms 172.04ms
Ramping 0.72ms 64.58ms 66.00ms 123.65ms 139.32ms 257.19ms
query TestQuery {
  topProducts(first: 5) {
    inStock
    name
    price
    shippingEstimate
    upc
    weight
    reviews {
      id
      body
      author {
        id
        username
        name
      }
    }
  }
}

Deep Recursion Query

Req/s Err%
Constant (50 VUs) 746.36 0.00%
Ramping (0-500-0 VUs) 824.97 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 9.28ms 62.19ms 65.45ms 81.30ms 90.24ms 341.31ms
Ramping 1.76ms 252.79ms 260.65ms 522.75ms 560.49ms 674.23ms
query TestQuery {
  users {
    id
    username
    name
    reviews {
      id
      body
      product {
        inStock
        name
        price
        shippingEstimate
        upc
        weight
        reviews {
          id
          body
          author {
            id
            username
            name
            reviews {
              id
              body
              product {
                inStock
                name
                price
                shippingEstimate
                upc
                weight
              }
            }
          }
        }
      }
    }
  }
  topProducts(first: 5) {
    inStock
    name
    price
    shippingEstimate
    upc
    weight
    reviews {
      id
      body
      author {
        id
        username
        name
        reviews {
          id
          body
          product {
            inStock
            name
            price
            shippingEstimate
            upc
            weight
          }
        }
      }
    }
  }
}

Variable Batching Throughput

Req/s Err%
Constant (50 VUs) 23575.70 0.00%
Ramping (0-500-0 VUs) 18368.60 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 0.10ms 1.71ms 2.07ms 3.94ms 4.81ms 55.73ms
Ramping 0.10ms 9.55ms 11.53ms 23.57ms 28.47ms 108.84ms
query TestQuery($upc: ID!, $price: Long!, $weight: Long!) {
  productByUpc(upc: $upc) {
    inStock
    shippingEstimate(weight: $weight, price: $price)
  }
}

Variables (5 sets batched per request)

[
  { "upc": "1", "price": 899, "weight": 100 },
  { "upc": "2", "price": 1299, "weight": 1000 },
  { "upc": "3", "price": 15, "weight": 20 },
  { "upc": "4", "price": 499, "weight": 100 },
  { "upc": "5", "price": 1299, "weight": 1000 }
]

Run 22191673324 • Commit 3449068 • Thu, 19 Feb 2026 18:10:27 GMT

@michaelstaib michaelstaib merged commit 7dd8976 into main Feb 19, 2026
5 checks passed
@michaelstaib michaelstaib deleted the mst/inflight-hc-comp branch February 19, 2026 17:01
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (346baaa) to head (0f934cd).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@     Coverage Diff      @@
##   main   #9153   +/-   ##
============================
============================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant