[jdk25u-dev] RFR: 8367271: Add parsing tests to DateFormat JMH benchmark

Roland Mesde duke at openjdk.org
Wed Feb 18 21:48:32 UTC 2026


Backporting JDK-8367271: Add parsing tests to DateFormat JMH benchmark.

This PR expands DateFormat JMH benchmarks to include parsing tests (previously only had formatting) and added time-related measurements using FULL Locale.ENGLISH patterns.

For parity with Oracle JDK.

Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:

```./build/*/images/jdk/bin/java -jar build/*/images/test/micro/benchmarks.jar java.text.SimpleDateFormatterBench```

-------------

Commit messages:
 - Backport aeffce7c22cbefe9c493865ee38d025032629901

Changes: https://git.openjdk.org/jdk25u-dev/pull/288/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=288&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8367271
  Stats: 190 lines in 2 files changed: 111 ins; 79 del; 0 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/288.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/288/head:pull/288

PR: https://git.openjdk.org/jdk25u-dev/pull/288


More information about the jdk-updates-dev mailing list