googleapis / googleapis/google-cloud-python
Improve async client performance
Aperta
priority: p2
type: feature request
- Lingua principale
- Python
- Stelle
- 5.4k
- Fork
- 1.8k
- Merge medio
- 3g 4h
- PR unite (30g)
- 122
Descrizione
I threw together a quick benchmark, and was seeing ~4-5x slower async calls vs sync (with the network mocked out)
This mostly appears to be due to re-building the wrapped function on each call, rather than caching. I opened https://github.com/googleapis/gapic-generator-python/pull/1755 to address this
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.