Gabriel,

I have written a simple zmq/libwebsockets application (low performance 
requirements so I didnt try to push things yet)

however, I have used Andrew Canaday's libev-based libwebsockets variant: 
https://github.com/andrew-canaday/libwebsockets (still a bit of a moving target 
but stabilizing); IMV the libev-based approach will be the more flexible option 
to build libwebsockets with

it might be an alternative approach for you and worth exploring

- Michael


Am 30.09.2013 um 20:11 schrieb Gabriel Lambert <[email protected]>:

> this dramatically impacts performance of libwebsocket by about a factor of 35.
> 
> the cause of the performance loss was not evident, oprofile and gprof did not 
> show libzmq
> 
> i found it using Zoom profiler.
> 
> 
> attached is a test case of libwebsocket with and wihout zmq
> rps is updated in the chrome console once you press send, using a number in 
> the field will make it send that number of request at once instead of doing 
> request-reply continuously.
> 
> <tests.zip>_______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to