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

Commit beb81263 authored by Miguel Aranda's avatar Miguel Aranda Committed by Gerrit Code Review
Browse files

Merge "Delete timeClonedSimpleDateFormat and re-add timeNewSimpleDateFormat."

parents a99bd703 da7b0f12
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();
        }
    }