Skip to content

[Fusion] Moved directives and definitions from Mutable to Composition#8888

Merged
glen-84 merged 1 commit intomainfrom
gai/move-directives
Nov 11, 2025
Merged

[Fusion] Moved directives and definitions from Mutable to Composition#8888
glen-84 merged 1 commit intomainfrom
gai/move-directives

Conversation

@glen-84
Copy link
Collaborator

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

Summary of the changes (Less than 80 chars)

  • [Fusion] Moved directives and definitions from Mutable to Composition.

@github-actions
Copy link
Contributor

🚀 Fusion Gateway Performance Results

Simple Composite Query

Requests/sec Error Rate
4505.84 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95 P99
0.98ms 9.62ms 160.23ms 10.94ms 15.36ms 22.13ms 0.00ms

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
      }
    }
  }
}

Variable Batching Throughput

Requests/sec Error Rate
21675.18 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95 P99
0.10ms 1.86ms 47.60ms 2.26ms 3.84ms 5.51ms 0.00ms

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 19267779561 • Commit 5b5ad5f • Tue, 11 Nov 2025 14:01:24 GMT

@glen-84 glen-84 merged commit 6552b2b into main Nov 11, 2025
218 of 220 checks passed
@glen-84 glen-84 deleted the gai/move-directives branch November 11, 2025 14:02
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