History log of /libcore/benchmarks/src/benchmarks/regression/SimpleDateFormatBenchmark.java
Revision Date Author Comments
e73e05f5c111cc8b33497cf67d18a075cee267b5 15-Jul-2016 Joachim Sauer <jsauer@google.com> Add test and benchmarks for SimpleDateFormat.

Add a test that verifies that SimpleDateFormat uses zoneStrings for
parsing, when they are provided by the user. This test simply checks
existing behaviour in preparation of upcoming changes.

The SimpleDateFormatBenchmark has a main() method in addition to the
usual caliper tests to allow measuring some first-call times. Otherwise
the impact of calling a method on cold caches would be lost in the
caliper tests.

Test: vogar libcore/luni/src/test/java/libcore/java/text/SimpleDateFormatTest.java
Bug: 20879084
Change-Id: I01581a31566df8fa1b60ccce0c8ddecb0230b39e