Fix to actually be a local.
Upgrade benchmark code to work with latest pytest-benchmark.