<i18n dev> Integrated: 8367271: Add parsing tests to DateFormat JMH benchmark

Justin Lu jlu at openjdk.org
Fri Sep 12 16:34:40 UTC 2025


On Wed, 10 Sep 2025 22:20:22 GMT, Justin Lu <jlu at openjdk.org> wrote:

> This PR expands the DateFormat benchmark with parsing cases (in addition to the existing formatting ones) such that performance regressions are easier to identify for parsing. Also adding in a time instance and respective measurement tests.  The patterns used correspond to FULL Locale.ENGLISH patterns (w/ the NBSP replaced for time pattern for clarity sake).
> 
> Further context in comment on JBS issue.

This pull request has now been integrated.

Changeset: aeffce7c
Author:    Justin Lu <jlu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/aeffce7c22cbefe9c493865ee38d025032629901
Stats:     190 lines in 2 files changed: 111 ins; 79 del; 0 mod

8367271: Add parsing tests to DateFormat JMH benchmark

Reviewed-by: naoto

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

PR: https://git.openjdk.org/jdk/pull/27204


More information about the i18n-dev mailing list