nh2 / nh2/haskell-cpu-instruction-counter
Integrate with criterion?
- Lenguaje dominante
- Haskell
- Estrellas
- 83
- Forks
- 5
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.