title: How to reduce the CPU Usage in XMPP Framework
body: <p>I have used XMPP framework for chat using openfire. But when I do ping activity in the XMPP framework the CPU usage goes over 200%. I have attached the timeprofile using Instruments.
  Any suggestion how to decrease the CPU Usage. </p>
  
  <p><a href="https://i.stack.imgur.com/EBca6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EBca6.png" alt="enter image description here"></a></p>