[Okular-devel] Epub qtextdocument high cpu usage

Albert Astals Cid aacid at kde.org
Sun Jun 16 15:12:50 UTC 2013


El Diumenge, 16 de juny de 2013, a les 20:29:37, Jaydeep Solanki va escriure:
> Hello,
> As I was finding it difficult to make progress using webkit to render epub,
> I spent some time experimenting around with QTextDocument.
> A small patch is attached which fixes the issues with the body tag (eg :
> background color).
> 
> It works fine with me, the only issue I'm facing is that it gives a high
> cpu usage, which leads to lag while scrolling fast.
> 
> I'm not getting the reason behind its high cpu usage.

Have you tried running it with callgrind option of valgrind + kcachegrind?

Cheers,
  Albert

> 
> If you want me to create a review request, I'll do it.
> 
> Cheers,
> Jaydeep


More information about the Okular-devel mailing list