Hi. I'm writing vnc server implementation (mostly for proxy between
client and real server).
My first version can only raw encoding, but now i'm writing TightPng
support and check results. As i see when i'm connect to my proxy from
noVNC (that supports TightPng encoding), my proxy use 400-500% CPU
(Intel Xeon E5620).

Main parts is
https://github.com/vtolstov/go-vnc/blob/master/encoding.go#L238 for read
https://github.com/vtolstov/go-vnc/blob/master/encoding.go#L193 for write

What i miss and what i can change to speedup encode/decode and
minimize CPU usage?
P.S. I'm not try to profile code, may be is have many big errors that
can be solved firstly...

-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to