Skip to content

Conversation

@indreka
Copy link

@indreka indreka commented Feb 2, 2016

When loading the FreeSerif font, BinaryStream->read calls went down from 105954 to 42762, readUInt16 calls went from 74220 to 11025, readInt16 calls went from 21112 to 10585.
Overall the loading time was reduced by 40%

PhenX added a commit that referenced this pull request Feb 3, 2016
Use the multi-read helpers to reduce big font parsing time by ~40%
@PhenX PhenX merged commit f4e096e into dompdf:master Feb 3, 2016
@PhenX
Copy link
Member

PhenX commented Feb 3, 2016

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants