2017-06-18 19:47 GMT+03:00 Vasiliy Tolstov <v.tols...@selfip.ru>:
> 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...

profile available via http
http://185.147.83.147:6060/debug/pprof/profile

-- 
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