Skip to content

Commit cfc9a2c

Browse files
committed
chore: disable unsupported benchmarks
1 parent 73944ab commit cfc9a2c

4 files changed

+16
-0
lines changed

Diff for: benchmarks/express-gql.js

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ const { createApolloSchema } = require("../lib/schemas/createApolloSchema");
88

99
const schema = createApolloSchema();
1010

11+
if (true) {
12+
throw new Error("Unsupported");
13+
}
14+
1115
const app = express();
1216
app.post(
1317
"/graphql",

Diff for: benchmarks/fastify-express-graphql-jit.js

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ const { createApolloSchema } = require("../lib/schemas/createApolloSchema");
1313

1414
const schema = createApolloSchema();
1515

16+
if (true) {
17+
throw new Error("Unsupported");
18+
}
19+
1620
app.post(
1721
"/graphql",
1822
createHandler({

Diff for: benchmarks/fastify-express-graphql-typed-jit.js

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ const {
1010

1111
const cache = {};
1212

13+
if (true) {
14+
throw new Error("Unsupported");
15+
}
16+
1317
createTypeGraphQLSchema().then((schema) => {
1418
app.post(
1519
"/graphql",

Diff for: benchmarks/fastify-express-grapql-typed.js

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ const {
66
} = require("../lib/schemas/createTypeGraphQLSchema");
77
const app = require("fastify")();
88

9+
if (true) {
10+
throw new Error("Unsupported");
11+
}
12+
913
createTypeGraphQLSchema().then((schema) => {
1014
app.post(
1115
"/graphql",

0 commit comments

Comments
 (0)