Skip to content

Fix TPH projections with ToPageAsync#9187

Merged
michaelstaib merged 4 commits intomainfrom
mst/issue_9185
Feb 24, 2026
Merged

Fix TPH projections with ToPageAsync#9187
michaelstaib merged 4 commits intomainfrom
mst/issue_9185

Conversation

@michaelstaib
Copy link
Copy Markdown
Member

Fixes #9185

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 24, 2026

Fusion Gateway Performance Results

Simple Composite Query

Req/s Err%
Constant (50 VUs) 7072.26 0.00%
Ramping (0-500-0 VUs) 7291.15 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 0.57ms 5.94ms 6.93ms 10.58ms 14.94ms 177.31ms
Ramping 0.56ms 24.76ms 30.34ms 64.27ms 77.44ms 189.56ms
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) 1287.47 0.00%
Ramping (0-500-0 VUs) 1334.11 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 3.90ms 34.18ms 37.71ms 51.19ms 60.31ms 426.24ms
Ramping 2.00ms 134.12ms 158.55ms 343.46ms 392.78ms 704.55ms
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) 23724.81 0.00%
Ramping (0-500-0 VUs) 18460.00 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 0.08ms 1.71ms 2.06ms 3.94ms 4.79ms 48.44ms
Ramping 0.08ms 9.42ms 11.42ms 23.48ms 28.35ms 113.26ms
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 22368302343 • Commit d52413b • Tue, 24 Feb 2026 20:52:54 GMT

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.

ToPageAsync doesn't work with TPH entities

1 participant