Avoid recalculating thread.total_time
Merge pull request #118 from bquorning/improve_graph_html_performance

Avoid recalculating thread.total_time