[ 
https://issues.apache.org/jira/browse/ASYNCWEB-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sangjin Lee closed ASYNCWEB-23.
-------------------------------

       Resolution: Fixed
    Fix Version/s: client-1.0.0

Closed.

> reduce overhead of ByteBuffer.putString() in HTTP request encoding
> ------------------------------------------------------------------
>
>                 Key: ASYNCWEB-23
>                 URL: https://issues.apache.org/jira/browse/ASYNCWEB-23
>             Project: Asyncweb
>          Issue Type: Improvement
>          Components: Client
>    Affects Versions: client-1.0.0
>            Reporter: Sangjin Lee
>            Assignee: Sangjin Lee
>            Priority: Minor
>             Fix For: client-1.0.0
>
>
> Currently, every single fragment is added via ByteBuffer.putString() when we 
> encode HTTP requests.  A slightly better version is to build up the string 
> using simple StringBuilder.append() operations, and do proper charset 
> encoding in a single ByteBuffer.putString() call.  Profiling indicates this 
> results in modest improvement in CPU utilization.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to