add cmp benchmark for #38