nh2 / nh2/haskell-cpu-instruction-counter

Integrate with criterion?

Aberta
#3 2 comentários 3 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Haskell
Estrelas
83
Forks
5
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

It seems as though this both would complement and be improved by integration into criterion:
- instruction counts as regression would be validated by criterion timing
- a timing regression combined with no increase in instr count would be a really useful thing to know (e.g. it might point to a space leak)
- standalone timing tests like the one in the example in the README here are fraught due to compiler optimizations; criterion is meant to solve this

What are your thoughts? I suppose it would need to be conditional on linux OS and be optional due to the permissions issues you mention

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.