Checkout PDFium commit 59454e1d00d37e9ec6b9341605d1e181e8dbec80. Use the testing/tools/safetynet_compare.py script (modifying so it does not gclient sync on current repo) to compare the performance of newer FreeType versions with respect to 7e50824288fac5a36c2938fdb3e1c949ea53f982 (the older FreeType commit). Test cases used: testing/corpus folder from PDFium.
Results:
With our new FreeType version (ae7dc1f): 84 regressions, 1 improvement from 708 testcases.
Did a bisect and found that these commits are the cause: https://chromium.googlesource.com/chromium/src/third_party/freetype2.git/+log/e28550a..d52dd7f.
Proof:
Commit d52dd7f (last bad commit): 84 regressions, 1 improvement from 708 testcases.
Commit d813b5d (one commit before first bad commit): 0 regressions, 0 improivements from 708 testcases.
So from these numbers it seems that switching to use the Adobe engine has slowed down FreeType? Do we know the reasoning behind that change?
Comment 1 by bunge...@chromium.org
, Oct 10 2017