@@ -0,0 +1,935 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public%0A * License, v. 2.0. If a copy of the MPL was not distributed with this%0A * file, You can obtain one at http://mozilla.org/MPL/2.0/. */%0A%0Apackage etomica.simulation;%0A%0Aimport etomica.simulation.prototypes.LJMD3D;%0Aimport org.openjdk.jmh.annotations.*;%0A%0Aimport java.util.concurrent.TimeUnit;%0A%0A@State(Scope.Benchmark)%0A@Fork(1)%0Apublic class BenchSimLJMD3D %7B%0A%0A    private LJMD3D sim;%0A%0A    @Setup(Level.Iteration)%0A    public void setUp() %7B%0A%0A        sim = new LJMD3D();%0A        sim.integrator.reset();%0A    %7D%0A%0A    @Benchmark%0A    @BenchmarkMode(Mode.Throughput)%0A    @OutputTimeUnit(TimeUnit.SECONDS)%0A    @Warmup(time = 1, iterations = 5)%0A    @Measurement(time = 3, iterations = 5)%0A    public long integratorStep() %7B%0A        sim.integrator.doStep();%0A        //sim.integrator.getPotentialMaster().calculate(sim.box, id, pc);%0A        return sim.integrator.getStepCount();%0A    %7D%0A%7D%0A

Add LJMD3D benchmark