<i18n dev> RFR: 8367271: Add parsing tests to DateFormat JMH benchmark
Justin Lu
jlu at openjdk.org
Wed Sep 10 22:37:23 UTC 2025
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.
-------------
Commit messages:
- Isolate test data from formats
- init
Changes: https://git.openjdk.org/jdk/pull/27204/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27204&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8367271
Stats: 39 lines in 1 file changed: 34 ins; 2 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/27204.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27204/head:pull/27204
PR: https://git.openjdk.org/jdk/pull/27204
More information about the i18n-dev
mailing list