[Okular-devel] [okular] [Bug 359932] Okular is very slow at opening some EPUB's

Martin Sandsmark via KDE Bugzilla bugzilla_noreply at kde.org
Mon Jul 18 17:11:08 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=359932

Martin Sandsmark <martin.sandsmark at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin.sandsmark at kde.org

--- Comment #18 from Martin Sandsmark <martin.sandsmark at kde.org> ---
(I reverted that change later, it broke layouting).

For Reasons(TM) I implemented a trivial epub "reader" using KArchive and
QDomDocument for parsing the container and QTextDocument for the actual
rendering: https://github.com/sandsmark/epubreader

The performance of this seems to be as good as or even better than FBReader and
Calibre, depending on the book.

I ran my application under callgrind, and it seems like there's some
low-hanging fruit in the internal QCss class to increase performance even more.

I plan on using the code from that to improve the epub generator in Okular.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list