pebbe / zmq4

A Go interface to ZeroMQ version 4
BSD 2-Clause "Simplified" License
1.18k stars 164 forks source link

CPU usage is very high #172

Closed GLYASAI closed 3 years ago

GLYASAI commented 3 years ago

Poller uses cgo, which takes up a lot of CPU.

image

pprof.rainbond-eventlog.samples.cpu.001.pb.gz is generated by pprof

pebbe commented 3 years ago

Poll less often

GLYASAI commented 3 years ago

Thanks.