strawberry-graphql
strawberry
BlogDocsChangelog

First-class Pydantic v2+ support

#3965
Comparing
feature/pydantic-first-class
(
7067816
) with
main
(
c03892c
)
CodSpeed Performance Gauge
0%
Untouched
28
Ignored
1

Benchmarks

Passed

test_subscription_long_run[1000]
tests/benchmarks/test_subscriptions.py
CodSpeed Performance Gauge
+1%
180.9 ms179.6 ms
test_subscription
tests/benchmarks/test_subscriptions.py
CodSpeed Performance Gauge
0%
217.2 ms216.2 ms
test_interface_performance[16]
tests/benchmarks/test_execute.py
CodSpeed Performance Gauge
0%
60 ms59.7 ms
test_interface_performance[256]
tests/benchmarks/test_execute.py
CodSpeed Performance Gauge
0%
62.4 ms62.1 ms
test_subscription_long_run[20000]
tests/benchmarks/test_subscriptions.py
CodSpeed Performance Gauge
0%
3.5 s3.5 s
test_interface_performance[4096]
tests/benchmarks/test_execute.py
CodSpeed Performance Gauge
0%
68.8 ms68.6 ms
test_execute[with_resolveextension-items_10000]
tests/benchmarks/test_execute_with_extensions.py
CodSpeed Performance Gauge
0%
1.9 s1.9 s
test_execute[with_no_extensions-items_1000]
tests/benchmarks/test_execute_with_extensions.py
CodSpeed Performance Gauge
0%
67.8 ms67.7 ms
test_execute_with_100_items
tests/benchmarks/test_execute_sync.py
CodSpeed Performance Gauge
0%
11 ms10.9 ms
test_execute_generic_input
tests/benchmarks/test_generic_input.py
CodSpeed Performance Gauge
0%
498.8 ms498.2 ms
test_execute
tests/benchmarks/test_execute.py
CodSpeed Performance Gauge
0%
534.2 ms533.6 ms
test_execute[with_no_extensions-items_10000]
tests/benchmarks/test_execute_with_extensions.py
CodSpeed Performance Gauge
0%
632.1 ms631.5 ms
test_execute_with_1000_items
tests/benchmarks/test_execute_sync.py
CodSpeed Performance Gauge
0%
67.4 ms67.3 ms
test_execute[with_simpleextension-items_10000]
tests/benchmarks/test_execute_with_extensions.py
CodSpeed Performance Gauge
0%
635.7 ms635.2 ms
test_execute[with_resolveextension-items_1000]
tests/benchmarks/test_execute_with_extensions.py
CodSpeed Performance Gauge
0%
185.8 ms185.7 ms
test_execute_with_10_items
tests/benchmarks/test_execute_sync.py
CodSpeed Performance Gauge
0%
5.4 ms5.4 ms
test_stadium[seats_per_row_500]
tests/benchmarks/test_stadium.py
CodSpeed Performance Gauge
0%
13.3 s13.3 s
test_execute_with_many_fields
tests/benchmarks/test_execute_sync.py
CodSpeed Performance Gauge
0%
37.6 ms37.6 ms
test_convert_argument_large_list[16384]
tests/benchmarks/test_arguments.py
CodSpeed Performance Gauge
0%
206.4 µs206.3 µs
test_execute_complex_schema[50]
tests/benchmarks/test_complex_schema.py
CodSpeed Performance Gauge
0%
4 s4 s
test_execute[with_simpleextension-items_1000]
tests/benchmarks/test_execute_with_extensions.py
CodSpeed Performance Gauge
0%
68 ms68 ms
test_convert_argument_large_list[262144]
tests/benchmarks/test_arguments.py
CodSpeed Performance Gauge
0%
2.4 ms2.4 ms
test_convert_argument_large_list[4194304]
tests/benchmarks/test_arguments.py
CodSpeed Performance Gauge
0%
37.5 ms37.5 ms
test_convert_argument_large_list[1048576]
tests/benchmarks/test_arguments.py
CodSpeed Performance Gauge
0%
9.4 ms9.4 ms
test_convert_argument_large_list[65536]
tests/benchmarks/test_arguments.py
CodSpeed Performance Gauge
0%
633.8 µs633.9 µs
test_stadium[seats_per_row_250]
tests/benchmarks/test_stadium.py
CodSpeed Performance Gauge
0%
6.7 s6.7 s
test_execute_with_many_fields_and_directives
tests/benchmarks/test_execute_sync.py
CodSpeed Performance Gauge
0%
43.3 ms43.3 ms
test_interface_performance[1]
tests/benchmarks/test_execute.py
CodSpeed Performance Gauge
0%
59.6 ms59.7 ms

Ignored

test_execute_basic
tests/benchmarks/test_execute_sync.py
Ignored
CodSpeed Performance Gauge
-3%
2.2 ms2.2 ms

Commits

Click on a commit to change the comparison range
Base
main
c03892c
+0.11%
Merge branch 'main' into feature/pydantic-first-class
bfd506e
4 months ago
by patrick91
-0.15%
Add empty release notes
410cd5a
4 months ago
by patrick91
+0.03%
Add Pydantic Error type
316fca2
4 months ago
by patrick91
-0.02%
Support for errors
70130b4
4 months ago
by patrick91
+0.02%
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
b6216a7
4 months ago
by pre-commit-ci[bot]
-0.1%
Remove non useful features
3c57bc5
3 months ago
by patrick91
+0.05%
Restructure tests
f5abc5f
3 months ago
by patrick91
-0.05%
Add more tests
5d8bec9
3 months ago
by patrick91
+0.05%
Fix tests
82cdfd7
3 months ago
by patrick91
-0.03%
WIP Annotated + strawberry.field
34bfa44
3 months ago
by patrick91
+0.2%
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
7067816
5 days ago
by pre-commit-ci[bot]
© 2025 CodSpeed Technology
Home Terms Privacy Docs