googleapis / googleapis/google-cloud-python

Improve async client performance

Abierto
#16,388 1 comentario 0 reacciones 1 asignado Reclamado por @daniel-sanche Ver en GitHub
priority: p2 type: feature request
Lenguaje dominante
Python
Estrellas
5.4k
Forks
1.8k
Merge medio
3 d 4 h
PR fusionados (30 d)
122

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.