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

Roland Mesde duke at openjdk.org
Mon Feb 23 18:16:55 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)

This pull request has now been integrated.

Changeset: d1025e53
Author:    Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk25u-dev/commit/d1025e53592ee318597739b4aa999aa04b42305a
Stats:     190 lines in 2 files changed: 111 ins; 79 del; 0 mod

8367271: Add parsing tests to DateFormat JMH benchmark

Backport-of: aeffce7c22cbefe9c493865ee38d025032629901

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

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


More information about the jdk-updates-dev mailing list