Bug 886082 - Add statistical testing to make perf

Run `make reference` followed by `make perf`.  See tools/perf/README for more
instructions.