Skip to content

[Fusion] Split lookups that include choices#8903

Merged
glen-84 merged 2 commits into
mainfrom
gai/split-lookups
Nov 14, 2025
Merged

[Fusion] Split lookups that include choices#8903
glen-84 merged 2 commits into
mainfrom
gai/split-lookups

Conversation

@glen-84
Copy link
Copy Markdown
Member

@glen-84 glen-84 commented Nov 14, 2025

Summary of the changes (Less than 80 chars)

  • [Fusion] Split lookups that include choices.

@github-actions
Copy link
Copy Markdown
Contributor

🚀 Fusion Gateway Performance Results

Simple Composite Query

Constant Load (50 VUs)

Requests/sec Error Rate
4597.63 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
1.12ms 9.49ms 160.19ms 10.71ms 14.94ms 21.25ms

Ramping Load (0→50→500→50 VUs)

Requests/sec Error Rate
3049.75 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
0.99ms 60.52ms 276.54ms 73.07ms 163.22ms 185.30ms

Executed Query

fragment User on User {
  id
  username
  name
}

fragment Review on Review {
  id
  body
}

fragment Product on Product {
  inStock
  name
  price
  shippingEstimate
  upc
  weight
}

query TestQuery {
  topProducts(first: 5) {
    ...Product
    reviews {
      ...Review
      author {
        ...User
      }
    }
  }
}

Deep Recursion Query

Constant Load (50 VUs)

Requests/sec Error Rate
50.46 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
20.60ms 934.31ms 1794.27ms 916.03ms 1064.81ms 1118.61ms

Ramping Load (0→50→500→50 VUs)

Requests/sec Error Rate
44.48 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
14.63ms 2373.74ms 11436.07ms 3249.02ms 7928.45ms 9032.31ms

Executed Query

fragment User on User {
  id
  username
  name
}

fragment Review on Review {
  id
  body
}

fragment Product on Product {
  inStock
  name
  price
  shippingEstimate
  upc
  weight
}

query TestQuery {
  users {
    ...User
    reviews {
      ...Review
      product {
        ...Product
        reviews {
          ...Review
          author {
            ...User
            reviews {
              ...Review
              product {
                ...Product
              }
            }
          }
        }
      }
    }
  }
  topProducts(first: 5) {
    ...Product
    reviews {
      ...Review
      author {
        ...User
        reviews {
          ...Review
          product {
            ...Product
          }
        }
      }
    }
  }
}

Variable Batching Throughput

Constant Load (50 VUs)

Requests/sec Error Rate
21291.30 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
0.10ms 1.89ms 57.05ms 2.30ms 3.93ms 5.60ms

Ramping Load (0→50→500→50 VUs)

Requests/sec Error Rate
18219.09 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
0.10ms 9.66ms 101.79ms 11.61ms 23.31ms 28.11ms

Executed Query

query TestQuery_8f7a46ce_2(
  $__fusion_1_upc: ID!
  $__fusion_2_price: Long!
  $__fusion_2_weight: Long!
) {
  productByUpc(upc: $__fusion_1_upc) {
    inStock
    shippingEstimate(weight: $__fusion_2_weight, price: $__fusion_2_price)
  }
}

Variables (5 sets batched in single request)

[
  { "__fusion_1_upc": "1", "__fusion_2_price": 899, "__fusion_2_weight": 100 },
  { "__fusion_1_upc": "2", "__fusion_2_price": 1299, "__fusion_2_weight": 1000 },
  { "__fusion_1_upc": "3", "__fusion_2_price": 15, "__fusion_2_weight": 20 },
  { "__fusion_1_upc": "4", "__fusion_2_price": 499, "__fusion_2_weight": 100 },
  { "__fusion_1_upc": "5", "__fusion_2_price": 1299, "__fusion_2_weight": 1000 }
]

No baseline data available for comparison.


Run 19365335979 • Commit a19ae15 • Fri, 14 Nov 2025 13:19:02 GMT

@glen-84 glen-84 merged commit 5ee93e5 into main Nov 14, 2025
113 checks passed
@glen-84 glen-84 deleted the gai/split-lookups branch November 14, 2025 13:27
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (6a3b7a3) to head (7745d1b).
⚠️ Report is 572 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #8903       +/-   ##
==========================================
- Coverage   74.16%       0   -74.17%     
==========================================
  Files        2677       0     -2677     
  Lines      140790       0   -140790     
  Branches    16371       0    -16371     
==========================================
- Hits       104421       0   -104421     
+ Misses      30774       0    -30774     
+ Partials     5595       0     -5595     
Flag Coverage Δ
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@github-actions
Copy link
Copy Markdown
Contributor

🚀 Fusion Gateway Performance Results

Simple Composite Query

Constant Load (50 VUs)

Requests/sec Error Rate
4535.77 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
0.88ms 9.64ms 162.23ms 10.86ms 15.16ms 21.05ms

Ramping Load (0→50→500→50 VUs)

Requests/sec Error Rate
2995.50 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
1.20ms 62.12ms 295.10ms 74.30ms 163.08ms 185.13ms

Executed Query

fragment User on User {
  id
  username
  name
}

fragment Review on Review {
  id
  body
}

fragment Product on Product {
  inStock
  name
  price
  shippingEstimate
  upc
  weight
}

query TestQuery {
  topProducts(first: 5) {
    ...Product
    reviews {
      ...Review
      author {
        ...User
      }
    }
  }
}

Deep Recursion Query

Constant Load (50 VUs)

Requests/sec Error Rate
50.93 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
18.44ms 919.58ms 1583.74ms 907.87ms 1046.13ms 1108.16ms

Ramping Load (0→50→500→50 VUs)

Requests/sec Error Rate
44.06 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
15.40ms 2356.03ms 11918.63ms 3271.13ms 8217.36ms 9231.46ms

Executed Query

fragment User on User {
  id
  username
  name
}

fragment Review on Review {
  id
  body
}

fragment Product on Product {
  inStock
  name
  price
  shippingEstimate
  upc
  weight
}

query TestQuery {
  users {
    ...User
    reviews {
      ...Review
      product {
        ...Product
        reviews {
          ...Review
          author {
            ...User
            reviews {
              ...Review
              product {
                ...Product
              }
            }
          }
        }
      }
    }
  }
  topProducts(first: 5) {
    ...Product
    reviews {
      ...Review
      author {
        ...User
        reviews {
          ...Review
          product {
            ...Product
          }
        }
      }
    }
  }
}

Variable Batching Throughput

Constant Load (50 VUs)

Requests/sec Error Rate
21185.87 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
0.10ms 1.91ms 48.99ms 2.31ms 3.93ms 5.59ms

Ramping Load (0→50→500→50 VUs)

Requests/sec Error Rate
18541.86 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
0.10ms 9.37ms 104.54ms 11.44ms 23.07ms 27.89ms

Executed Query

query TestQuery_8f7a46ce_2(
  $__fusion_1_upc: ID!
  $__fusion_2_price: Long!
  $__fusion_2_weight: Long!
) {
  productByUpc(upc: $__fusion_1_upc) {
    inStock
    shippingEstimate(weight: $__fusion_2_weight, price: $__fusion_2_price)
  }
}

Variables (5 sets batched in single request)

[
  { "__fusion_1_upc": "1", "__fusion_2_price": 899, "__fusion_2_weight": 100 },
  { "__fusion_1_upc": "2", "__fusion_2_price": 1299, "__fusion_2_weight": 1000 },
  { "__fusion_1_upc": "3", "__fusion_2_price": 15, "__fusion_2_weight": 20 },
  { "__fusion_1_upc": "4", "__fusion_2_price": 499, "__fusion_2_weight": 100 },
  { "__fusion_1_upc": "5", "__fusion_2_price": 1299, "__fusion_2_weight": 1000 }
]

No baseline data available for comparison.


Run 19365827150 • Commit f261f09 • Fri, 14 Nov 2025 13:38:31 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.

1 participant