Add measuring compute time and change output format