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