Merge "Delete timeClonedSimpleDateFormat." am: c6350a111b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2145780 Change-Id: I1a1aaf990929d3f2505d410b50ecfa22098ff4e9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -157,14 +157,6 @@ public class ExpensiveObjectsPerfTest {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
public void timeNewSimpleDateFormat() {
|
|
||||||
BenchmarkState state = mPerfStatusReporter.getBenchmarkState();
|
|
||||||
while (state.keepRunning()) {
|
|
||||||
new SimpleDateFormat();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void timeClonedSimpleDateFormat() {
|
public void timeClonedSimpleDateFormat() {
|
||||||
SimpleDateFormat sdf = new SimpleDateFormat();
|
SimpleDateFormat sdf = new SimpleDateFormat();
|
||||||
|
|||||||
Reference in New Issue
Block a user