Add a benchmark for computing the variance.