danielgtaylor / danielgtaylor/python-betterproto
Significant latency increases when using betterproto 2.0.0b7 compared to 2.0.0b6
- Lenguaje dominante
- Python
- Estrellas
- 1.8k
- Forks
- 234
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### Summary
Latency increases when using the newest version 2.0.0b7
### Reproduction Steps
This happened in a library we were using: https://github.com/cetanu/envoy_data_plane When we upgraded to betterproto 2.0.0b7 we saw a significant spike in the latency of our project. When we pinned the version to 2.0.0b6, the latency returned to normal. Do you have any ideas what might cause this issue?
### Expected Results
No latency changes
### Actual Results
Latency spiked causing increased timeouts within our project
### System Information
protoc --version; python --version; pip show betterproto
/bin/sh: 1: protoc: not found
Python 3.12.4
Name: betterproto
Version: 2.0.0b6
Summary: A better Protobuf / gRPC generator & library
Home-page: https://github.com/danielgtaylor/python-betterproto
Author: Daniel G. Taylor
Author-email: danielgtaylor@gmail.com
License: MIT
Location: /usr/local/lib/python3.12/site-packages
Requires: grpclib, python-dateutil
Required-by: envoy_data_plane
### Checklist
- [X] I have searched the issues for duplicates.
- [X] I have shown the entire traceback, if possible.
- [X] I have verified this issue occurs on the latest prelease of betterproto which can be installed using `pip install -U --pre betterproto`, if possible.
Guía de contribución
Línea de trabajo
Reproduce la diferencia de latencia en el proyecto envoy_data_plane enlazado, comparando betterproto 2.0.0b6 y 2.0.0b7 con Python 3.12.4. Perfila la ruta de solicitud afectada e identifica la regresión; se considera completado cuando haya una explicación concisa y una corrección de la regresión con una prueba o benchmark que muestre que la latencia vuelve a la línea base.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- grpc, python
- Área
- api, backend
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 20/100