That's quite a bit of code duplication in this file.  Is there a way that we could import the benchmark library from the benchmarks project just like we import the integrator from the integrators project?