Storing and loading images in data:URL (base64) format will cause crazy CPU usage when combined with some addons like adblockers. Whole thread here.
If this is not your case, try to find the source of the problem:
- check the about:performance page
- use profiler to see what function calls are being executed