Avatar for the strawberry-graphql user
strawberry-graphql
strawberry-sqlalchemy
BlogDocsChangelog

Add a benchmark to test fetching of many relationships.

#49
Comparing
mattalbr:benchmark_relationships
(
c1382fd
) with
main
(
9746996
)
CodSpeed Performance Gauge
N/A
New
2
Dropped
1

Benchmarks

3 total
test_hello_world
tests/benchmarks/test_empty_benchmark.py
Missing
CodSpeed Performance Gauge
N/A
18.7 µsN/A
test_load_many_relationships_async[postgresql-postgresql]
tests/benchmarks/test_relationship_loading.py
CodSpeed Performance Gauge
N/A
N/A53.3 ms
test_load_many_relationships[postgresql]
tests/benchmarks/test_relationship_loading.py
CodSpeed Performance Gauge
N/A
N/A37.3 ms

Commits

Click on a commit to change the comparison range
Base
main
9746996
N/A
Create a new async engine for each benchmark run.
de1e799
3 years ago
by mattalbr
N/A
Use new engine and NullPool for both sync and async.
19ef6ab
3 years ago
by mattalbr
N/A
Use psycopg3 to have the same db driver for both sync and aysnc bencmarks.
ca0b637
3 years ago
by mattalbr
N/A
Increase sleep time to see if that changes benchmarks.
c1382fd
3 years ago
by mattalbr
© 2026 CodSpeed Technology
Home Terms Privacy Docs