How to record runtime/output with a graph?

See this, I made one, easy and not expensive