graphql-python / graphql-python/graphql-core
Split benchmarks into warm and cold benchmarks
- Linguagem predominante
- Python
- Estrelas
- 531
- Forks
- 146
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Some of the benchmarks are testing functions which behave differently on the first run because they cache data that they then use in repeated calls.
We should split the benchmark measuring such functions into warm and cold benchmarks. Otherwise the benchmarks have a large spread between the max value (cold run) and the min value and the mean becomes less meaningful.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
A issue não nomeia arquivos de benchmark nem testes, então comece localizando as definições de benchmark que exercitam o comportamento de cache. Separe as medições da primeira execução e das chamadas repetidas; em seguida, execute a suite de benchmarks afetada e verifique se os resultados warm e cold são relatados independentemente.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- python
- Domínio
- performance, testing
- Tipo de issue
- Refatoração
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100