boothj5/profanity — pull request #468 by Savar (2014-12-18 22:59:27+00:00)
Title: block for a longer time to not waste too much CPU

On my laptop (Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz) profanity was using something between 0.2 to 1.4% of the cpu's.

I checked that and it is using 15.666ms/s cpu time. That's quiet a lot for a console tool.
I changed the timeout for "waiting for input" from 20ms to 500ms and the cpu time went down to 0.666ms/s ..
I was not connected in this time .. so no cpu was being used for any xmpp processing.

I'm not sure if this impacts anything except that you could have 0.5s delay in changing your status from "online" to "x/a" or getting a xmpp message 0.480s later than before. If this is the only impact I would really love to see this change being merged :)