Compute mean and median time for microbench