Skip to content

Commit b70cea1

Browse files
[Fusion] Properly support persisted operations (#8843)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent e5f6ade commit b70cea1

File tree

35 files changed

+610
-1959
lines changed

35 files changed

+610
-1959
lines changed

src/HotChocolate/AspNetCore/benchmarks/k6/performance-data.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
2-
"timestamp": "2025-10-23T08:31:24Z",
2+
"timestamp": "2025-10-23T16:02:23Z",
33
"tests": {
44
"single-fetch": {
55
"name": "Single Fetch (50 products, names only)",
66
"response_time": {
7-
"min": 1.360442,
8-
"p50": 1.74927,
9-
"max": 41.901381,
10-
"avg": 1.9882560501470818,
11-
"p90": 2.582531,
12-
"p95": 3.056496999999996,
13-
"p99": 5.826263539999997
7+
"min": 1.447863,
8+
"p50": 2.751327,
9+
"max": 58.155978,
10+
"avg": 3.0016228840274928,
11+
"p90": 4.130812,
12+
"p95": 4.938353,
13+
"p99": 7.987915299999998
1414
},
1515
"throughput": {
16-
"requests_per_second": 78.79703615241581,
17-
"total_iterations": 7170
16+
"requests_per_second": 78.71047667816899,
17+
"total_iterations": 7162
1818
},
1919
"reliability": {
2020
"error_rate": 0
@@ -23,17 +23,17 @@
2323
"dataloader": {
2424
"name": "DataLoader (50 products with brands)",
2525
"response_time": {
26-
"min": 2.629259,
27-
"p50": 3.337894,
28-
"max": 16.534475,
29-
"avg": 3.700613336003375,
30-
"p90": 4.795968,
31-
"p95": 5.8992587499999996,
32-
"p99": 9.208675050000002
26+
"min": 2.924864,
27+
"p50": 4.8340905,
28+
"max": 24.782141,
29+
"avg": 5.312051972269166,
30+
"p90": 7.203395599999999,
31+
"p95": 8.972791199999993,
32+
"p99": 12.379031920000001
3333
},
3434
"throughput": {
35-
"requests_per_second": 78.60019900711032,
36-
"total_iterations": 7147
35+
"requests_per_second": 78.41421668508127,
36+
"total_iterations": 7135
3737
},
3838
"reliability": {
3939
"error_rate": 0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using HotChocolate.Language;
22

3-
namespace HotChocolate.PersistedOperations;
3+
namespace HotChocolate.Execution;
44

55
/// <summary>
66
/// Provides the hash of an operation document.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using HotChocolate.Language;
22

3-
namespace HotChocolate.PersistedOperations;
3+
namespace HotChocolate.Execution;
44

55
/// <summary>
66
/// Provides the document syntax node of an operation document.

src/HotChocolate/Core/src/Execution.Abstractions/Execution/OperationDocument.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ namespace HotChocolate.Execution;
1010
/// <param name="document">
1111
/// The parsed GraphQL operation document.
1212
/// </param>
13-
public sealed class OperationDocument(DocumentNode document) : IOperationDocument
13+
public sealed class OperationDocument(DocumentNode document) : IOperationDocument, IOperationDocumentNodeProvider
1414
{
15-
/// <summary>
16-
/// Gets the parsed GraphQL operation document.
17-
/// </summary>
15+
/// <inheritdoc />
1816
public DocumentNode Document { get; } = document ?? throw new ArgumentNullException(nameof(document));
1917

2018
/// <summary>

src/HotChocolate/Core/test/Execution.Tests/Pipeline/DocumentCacheMiddlewareTests.cs.txt

Lines changed: 0 additions & 203 deletions
This file was deleted.

0 commit comments

Comments
 (0)