Hi Ravi,
Unfortunately, there’s no way to compare within the Developer Console. The solution which I can recommend you is to set up Debug Log Monitoring for your own user (Setup > Administration Setup > Monitoring > Debug Logs), which will save all of your debug logs. There is a Download button, save the logs and compare them in a diff viewer.
Thanks