server/benchmarks: remove introspection from throughput benchmarks

The results seem to vary wildly, and it's also not realistic usage.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9137
GitOrigin-RevId: 208abd919ae9786471a37452a9a0d34ae3c4df30
This commit is contained in:
Brandon Simmons 2023-05-11 13:48:32 -04:00 committed by hasura-bot
parent ae14af3fa5
commit f500b837d8

View File

@ -145,125 +145,3 @@ queries:
# (FYI "Rock" is around 300Kb)
genre: Jazz
query: *complex_query
############################################################################
# The standard introspection query from server/src-rsr/introspection.json
# We don't expect a server to be hammered with these, but they are crucial
# for clients (like graphiql):
#
# NOTE: According to data from cloud, this is somewhere between
# P95 (4 kB compressed) and P99 (40 kB compressed):
#
# uncompressed body size: ~190 kB
# compressed body size: ~13 kB (as of time of writing)
- name: full_introspection
<<: *k6_custom
options:
k6:
# See note on Chinook.simple_query_low_load
discardResponseBodies: true
scenarios:
main:
<<: *settings
query: |
query IntrospectionQuery {
__schema {
queryType {
name
}
mutationType {
name
}
subscriptionType {
name
}
types {
...FullType
}
directives {
name
description
locations
args {
...InputValue
}
}
}
}
fragment FullType on __Type {
kind
name
description
fields(includeDeprecated: true) {
name
description
args {
...InputValue
}
type {
...TypeRef
}
isDeprecated
deprecationReason
}
inputFields {
...InputValue
}
interfaces {
...TypeRef
}
enumValues(includeDeprecated: true) {
name
description
isDeprecated
deprecationReason
}
possibleTypes {
...TypeRef
}
}
fragment InputValue on __InputValue {
name
description
type {
...TypeRef
}
defaultValue
}
fragment TypeRef on __Type {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}
}
}
}
}