[
https://issues.apache.org/jira/browse/HTTPCLIENT-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17541441#comment-17541441
]
Johannes Graham commented on HTTPCLIENT-2218:
---------------------------------------------
For curiosity's sake:
{noformat}
Benchmark Mode Cnt Score Error
Units
Java8vCommonsCodec.commonsCodecDecoder thrpt 5 919513.945 ± 49005.879
ops/s
Java8vCommonsCodec.javaUtilDecoder thrpt 5 10256109.701 ± 197781.713
ops/s
Benchmark Mode Cnt Score Error
Units
Java8vCommonsCodec.commonsCodecEncoder thrpt 5 992085.991 ± 94919.859
ops/s
Java8vCommonsCodec.javaUtilEncoder thrpt 5 9834311.694 ± 926761.978
ops/s
{noformat}
> Use Java 8 impl of Base64 instead of commons-codec
> --------------------------------------------------
>
> Key: HTTPCLIENT-2218
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2218
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpClient (classic)
> Reporter: Johannes Graham
> Priority: Minor
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> If Java 8 is the new baseline for http-client, then switching to the
> implementation available in the standard language would offer performance
> improvements.
> I have an adaptor class to to this - I will open a PR with it.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]