Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45585cd8 authored by Miguel Aranda's avatar Miguel Aranda Committed by Automerger Merge Worker
Browse files

Merge "Delete timeClonedSimpleDateFormat and re-add timeNewSimpleDateFormat." am: beb81263

parents b0de1a86 beb81263
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -158,11 +158,10 @@ public class ExpensiveObjectsPerfTest {
    }

    @Test
    public void timeClonedSimpleDateFormat() {
        SimpleDateFormat sdf = new SimpleDateFormat();
    public void timeNewSimpleDateFormat() {
        BenchmarkState state = mPerfStatusReporter.getBenchmarkState();
        while (state.keepRunning()) {
            sdf.clone();
            new SimpleDateFormat();
        }
    }