Merge "Delete timeClonedSimpleDateFormat." am: c6350a111b am: f5c48daae6 am: ae976c71db
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2145780 Change-Id: I3d239d3b149be5a46f60ed0a464b9b514c561f0c 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