LITTLE ENDIAN: Performance

Replicator webakaunt at gmail.com
Thu Oct 27 09:34:01 EDT 2011


    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.


More information about the netty-users mailing list