RFR: 8245309: Re-examine use of ThreadLocalCoders in sun.net.www.ParseUtil [v2]

Julia Boes jboes at openjdk.java.net
Tue Sep 15 15:49:14 UTC 2020


On Tue, 15 Sep 2020 09:51:27 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> Julia Boes has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fix typo in test and cleanup benchmark
>
> Changes requested by dfuchs (Reviewer).

Updated benchmark results:

before
Benchmark                               Mode  Cnt    Score    Error  Units
ThreadLocalParseUtil.appendEncodedTest  avgt    5  777.917 ± 22.970  ns/op
ThreadLocalParseUtil.decodeTest         avgt    5    2.274 ±  0.056  ns/op

after
Benchmark                               Mode  Cnt    Score    Error  Units
ThreadLocalParseUtil.appendEncodedTest  avgt    5  803.085 ± 84.102  ns/op
ThreadLocalParseUtil.decodeTest         avgt    5    2.446 ±  0.203  ns/op

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

PR: https://git.openjdk.java.net/jdk/pull/170


More information about the net-dev mailing list