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

Goetz Lindenmaier goetz at openjdk.org
Fri Feb 20 10:03:54 UTC 2026


On Wed, 18 Feb 2026 20:11:26 GMT, Roland Mesde <duke at openjdk.org> wrote:

> 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```
> 
> Results attached:
> 
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/25420101/windows-x64-specific-test.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/25420102/macos-aarch64-specific-test.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/25420103/linux-x64-specific-test.log)
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/25420104/linux-aarch64-specific-test.log)

Hi @rm-gh-8 
not really parity, as you reach 21.0.3, while Oracle backported it to 21.0.4.
But going ahaed is absolutely fine with test backports, but for anything meaningful 
please make sure you backport to the same release.  Especially in case of release 
notes or CSRs.

But a big thanks for the effort of backporting that many test changes!

Thanks!

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

PR Comment: https://git.openjdk.org/jdk25u-dev/pull/288#issuecomment-3932790555


More information about the jdk-updates-dev mailing list