RFR: JDK-8310502 : Optimization for j.l.Long.fastUUID() [v25]
温绍锦
duke at openjdk.org
Mon Jun 26 09:57:31 UTC 2023
> By optimizing the implementation of java.lang.Long#fastUUID, the performance of the java.util.UUID#toString method can be significantly improved.
>
> The following are the test results of JMH:
>
> Benchmark Mode Cnt Score Error Units
> UUIDUtilsBenchmark.new thrpt 5 92676.550 ± 292.213 ops/ms
> UUIDUtilsBenchmark.original thrpt 5 37040.165 ± 1023.532 ops/ms
温绍锦 has updated the pull request incrementally with one additional commit since the last revision:
use ISO_8859_1.INSTANCE directly instead of StandardCharsets.ISO_8859_1
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14578/files
- new: https://git.openjdk.org/jdk/pull/14578/files/4b5019fd..6b61a715
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14578&range=24
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14578&range=23-24
Stats: 4 lines in 1 file changed: 2 ins; 1 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/14578.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14578/head:pull/14578
PR: https://git.openjdk.org/jdk/pull/14578
More information about the core-libs-dev
mailing list