Does PDFium memory cache any file resources like fonts and images etc?
41 views
Skip to first unread message
南风不竞
unread,
May 20, 2024, 4:17:18 AMMay 20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pdfium
Recently I was working on benchmarks between MuPDF and PDFium. In most scenario, PDFium is slower than MuPDF whether skia is enabled or not.
MuPDF does cache fonts, images and other resources internally in a global context, so they can avoid reloading resources each time they are required.
So I was wondering whether PDFium has cache mechanism like above. If not, maybe this could help on either parsing or rendering document. If PDFium does cache resources, what would be the bottlenecks on rendering or parsing.
Lei Zhang
unread,
May 20, 2024, 12:25:34 PMMay 20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
There are already several issues on the PDFium issue tracker where
PDFium renders significantly slower compared to other libraries. If
you see issues, please file reports.