strawberry-apollo-apq
Supporting Apollo's automatic persisted queries in Strawberry GraphQL
Notes
- Don't use this for production yet, unless you know what you're doing.
- For persisting queries, a simple
TTLCache
is used. Will be changed later. - Only flask views are supported for now.
- When merged into core, this repository becomes read-only.
Benchmarks
All benchmarks are made using the pytest-benchmark
package.
min (ms) | max (ms) | average (ms) | |
---|---|---|---|
no persisting, default | 1.9934 | 99.0644 | 2.5739 |
persistiging, not cached | 3.8509 | 211.6294 | 5.0793 |
persisting, cached | 1.8495 | 21.6539 | 2.1182 |
License
The code in this library is licensed under MIT license. See the LICENSE.md file for more information.