Merge "Delete timeClonedSimpleDateFormat."

This commit is contained in:
Miguel Aranda 2022-07-06 09:06:06 +00:00 committed by Gerrit Code Review
commit c6350a111b

View File

@ -157,14 +157,6 @@ public class ExpensiveObjectsPerfTest {
}
}
@Test
public void timeNewSimpleDateFormat() {
BenchmarkState state = mPerfStatusReporter.getBenchmarkState();
while (state.keepRunning()) {
new SimpleDateFormat();
}
}
@Test
public void timeClonedSimpleDateFormat() {
SimpleDateFormat sdf = new SimpleDateFormat();