Performance of the collective three-level quantum thermal engine