googleapis / googleapis/google-cloud-python

Improve async client performance

Đang mở
#16,388 1 bình luận 0 reaction 1 người được giao Được @daniel-sanche nhận Xem trên GitHub
priority: p2 type: feature request
Ngôn ngữ chính
Python
Star
5.4k
Fork
1.8k
Merge trung bình
3 ngày 4 giờ
Pull request đã merge (30 ngày)
122

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.