LITTLE ENDIAN: Performance
"이희승 (Trustin Lee)"
trustin at gmail.com
Thu Oct 27 14:25:16 EDT 2011
It sounds awfully slow. Could you file a JIRA issue?
Thanks,
Trustin
Replicator wrote:
> bootstrap.setOption( "bufferFactory", new HeapChannelBufferFactory(
> ByteOrder.LITTLE_ENDIAN ) )
>
> on my client
>
> and
>
> bootstrap.setOption( "child.bufferFactory", new
> HeapChannelBufferFactory( ByteOrder.LITTLE_ENDIAN ) )
>
> on my test server
>
> On Thu, Oct 27, 2011 at 6:43 AM, Norman Maurer-2 [via Netty Forums and
> Mailing Lists]<ml-node+s685743n6935794h13 at n2.nabble.com> wrote:
>
>> How do you do set it to LITTLE ENDIAN ? Setting a ChannelBufferFactory
>> via SocketConfig ?
>>
>> Bye,
>> Norman
>>
>>
>> 2011/10/27 zx spectrum<[hidden
email]<http://user/SendEmail.jtp?type=node&node=6935794&i=0>>:
>>
>>
>>> Seems like a simple test with a FrameDecoder runs about 9(!) times
slower
>> if
>>> everything is set to LITTLE ENDIAN, than the same test with a default (
>> BIG
>>> ENDIAN ).
>>> Is that expected? ( because Netty needs to do the conversion for every
>>> frame? )
>>> Is there a way to improve it to be as good as BIG ENDIAN?
>>> Thank you!
>>> _______________________________________________
>>> netty-users mailing list
>>> [hidden email]<http://user/SendEmail.jtp?type=node&node=6935794&i=1>
>>> https://lists.jboss.org/mailman/listinfo/netty-users
>>>
>> _______________________________________________
>> netty-users mailing list
>> [hidden email]<http://user/SendEmail.jtp?type=node&node=6935794&i=2>
>> https://lists.jboss.org/mailman/listinfo/netty-users
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>>
http://netty-forums-and-mailing-lists.685743.n2.nabble.com/LITTLE-ENDIAN-Performance-tp6935190p6935794.html
>> To unsubscribe from LITTLE ENDIAN: Performance, click
here<http://netty-forums-and-mailing-lists.685743.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=6935190&code=d2ViYWthdW50QGdtYWlsLmNvbXw2OTM1MTkwfC0xODA0ODQ0MTcz>.
>>
>>
>
>
> --
> View this message in context:
http://netty-forums-and-mailing-lists.685743.n2.nabble.com/LITTLE-ENDIAN-Performance-tp6935190p6936360.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20111027/ea510de7/attachment.html
More information about the netty-users
mailing list