Calculate performance measures ()