improve parse time graph code again
add more stats to avoid re-computing later