Merge "Delete timeClonedSimpleDateFormat." am: c6350a111b am: f5c48daae6 am: ae976c71db am: 47dd93075e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2145780 Change-Id: I2dc7e7b6ca468d4bf4629cadd58dcd8afde4b6ca 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
|
||||
public void timeClonedSimpleDateFormat() {
|
||||
SimpleDateFormat sdf = new SimpleDateFormat();
|
||||
|
||||
Reference in New Issue
Block a user