googleapis / googleapis/google-cloud-python

Improve async client performance

Ouverte
#16,388 1 commentaire 0 réactions 1 personne assignée Réclamée par @daniel-sanche Voir sur GitHub
priority: p2 type: feature request
Langage dominant
Python
Étoiles
5.4k
Forks
1.8k
Merge moyen
3 j 4 h
PR mergées (30 j)
122

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.