We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb0b857 commit c7b18ceCopy full SHA for c7b18ce
1 file changed
benchmark/run.rb
@@ -131,7 +131,6 @@ def self.profile_large_introspection
131
132
def self.profile_large_analysis
133
query_str = "query {\n".dup
134
- fragments = []
135
5.times do |n|
136
query_str << " intField#{n} { "
137
20.times do |o|
@@ -153,7 +152,6 @@ def self.profile_large_analysis
153
152
query_str << "fragment Int0Fields on Interface0 { __typename }"
154
query = GraphQL::Query.new(SILLY_LARGE_SCHEMA, query_str)
155
analyzers = [GraphQL::Analysis::AST::FieldUsage]
156
- multiplex_analyzers = []
157
Benchmark.ips do |x|
158
x.report("Running introspection") {
159
GraphQL::Analysis::AST.analyze_query(query, analyzers)
0 commit comments