Closed erikwrede closed 1 year ago
{ hello, greeting, fruits { name } }
(test-parser-py3.10) ~/dev/opensource/strawberry-graphql-parser/test_parser test-ast ●✚ python core_full_schema_bench.py
type Query {
hello: String
greeting: String
fruits: [Fruit]
}
type Fruit {
name: String
}
Execution on graphql-core took an average of 1.064457279862836 milliseconds (100 iterations)
(test-parser-py3.10) ~/dev/opensource/strawberry-graphql-parser/test_parser test-ast ●✚ python rustberry_full_schema_bench.py
type Query {
hello: String
greeting: String
fruits: [Fruit]
}
type Fruit {
name: String
}
Execution on graphql-core with rustberry parsing took an average of 0.22207291971426457 milliseconds (100 iterations)
(test-parser-py3.10) ~/dev/opensource/strawberry-graphql-parser/test_parser test-ast ●✚ python rustberry_full_schema_bench.py
type Query {
hello: String
greeting: String
fruits: [Fruit]
}
type Fruit {
name: String
}
Execution on graphql-core with rustberry-gql-types parsing took an average of 0.5230925400974229 milliseconds (100 iterations)
Overhead approx. 4ms on our 1ms test query