graphql-python
graphql-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
7: Convert AST nodes to frozen dataclasses (70% faster decode, 40% faster parsing)
#256
Merged
Comparing
corydolphin:convert-ast-to-dataclasses
(
c04825e
) with
main
(
020ec1f
)
CodSpeed Performance Gauge
-23%
Improvement
5
Regression
1
Untouched
12
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
18 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_introspection_query
tests/benchmarks/test_validate_gql.py
CodSpeed Performance Gauge
-23%
15 ms
19.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_pickle_large_query_decode
tests/benchmarks/test_serialization.py
CodSpeed Performance Gauge
×5
207.9 ms
41.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_pickle_large_query_roundtrip
tests/benchmarks/test_serialization.py
CodSpeed Performance Gauge
×3.3
317.9 ms
97.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_pickle_large_query_encode
tests/benchmarks/test_serialization.py
CodSpeed Performance Gauge
+98%
110.6 ms
55.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_parse_large_query
tests/benchmarks/test_serialization.py
CodSpeed Performance Gauge
+76%
419.7 ms
238.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_parse_kitchen_sink
tests/benchmarks/test_parser.py
CodSpeed Performance Gauge
+59%
6.8 ms
4.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_build_schema_from_introspection
tests/benchmarks/test_build_client_schema.py
CodSpeed Performance Gauge
+2%
115.9 ms
113.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_execute_basic_sync
tests/benchmarks/test_execution_sync.py
CodSpeed Performance Gauge
+2%
2.6 ms
2.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_execute_basic_async
tests/benchmarks/test_execution_async.py
CodSpeed Performance Gauge
+1%
2.7 ms
2.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_recreate_a_graphql_schema
tests/benchmarks/test_graphql_schema.py
CodSpeed Performance Gauge
+1%
12.8 ms
12.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_execute_async_iterable_list_field
tests/benchmarks/test_async_iterable.py
CodSpeed Performance Gauge
0%
13.4 ms
13.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_visit_all_ast_nodes_in_parallel
tests/benchmarks/test_visit.py
CodSpeed Performance Gauge
0%
1.6 s
1.6 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_visit_all_ast_nodes
tests/benchmarks/test_visit.py
CodSpeed Performance Gauge
0%
201.5 ms
201.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_sdl_document
tests/benchmarks/test_validate_sdl.py
CodSpeed Performance Gauge
0%
426.7 ms
427.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_invalid_query
tests/benchmarks/test_validate_invalid_gql.py
CodSpeed Performance Gauge
0%
99.7 ms
100 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_execute_introspection_query
tests/benchmarks/test_introspection_from_schema.py
CodSpeed Performance Gauge
-1%
914.8 ms
919.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_build_schema_from_ast
tests/benchmarks/test_build_ast_schema.py
CodSpeed Performance Gauge
-1%
104.7 ms
106 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_many_repeated_fields
tests/benchmarks/test_repeated_fields.py
CodSpeed Performance Gauge
-5%
265.5 ms
280.1 ms
Commits
Click on a commit to change the comparison range
Base
main
020ec1f
-23.61%
Convert AST nodes to frozen dataclasses (70% faster decode, 40% faster parsing)
6e52ed0
24 days ago
by corydolphin
+0.18%
Merge branch 'main' into convert-ast-to-dataclasses
c04825e
23 days ago
by Cito
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs