added benchmark for mergeLabels implementations