-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert #78 #69 #122
Revert #78 #69 #122
Conversation
…ter-tizen#78)" This reverts commit c761164.
This reverts commit 5552dd5.
Could you compare app launching performance when font_config is enabled vs. disabled? You can use my tool for measurement if you want. |
Signed-off-by: Boram Bae <[email protected]>
I'll try it! |
I was really surprised. You have a personal PPA! 😱 |
@swift-kim I measured it using your tool. As is -> Enable Fontconfig(On TM1)
As is -> Enable Fontconfig(On R840)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that using font config is almost the only solution to display fonts correctly.
Thanks for your working!
@bbrto21 |
I missed that, thank you! |
@bbrto21 The result on R840 seems to be a bit misleading because the Evas GL renderer is used on the device and AUL cannot detect the time when the first frame of the app is drawn correctly. I measured the launching time again using the On TW3 (
On rpi4-arm64 (
The performance regression is quite obvious when fontconfig is enabled. Are we sure we want to apply this change anyway? |
IMHO, Obviously the first start time increases, I think it's still an acceptable starting time. |
IMO, This is something worth taking. |
What's the advantage of enabling font config? |
is it for missing text issue? anyway, if Engine::SetupDefaultFontManager took much time, it will postphone DartIsolate::CreateRootIsolate()(They are in the same thread), then postphone everything. |
sorry, please ignore the above comments, I tested again twice, time consumption is different, I will check more. |
yes
We knew there would be a performance problem, and we introduced it because there was no other way to fix that issue. First of All, we will look for areas that can be optimized, and if it is still a problem, we are considering the option of not using only that app. |
Maybe it's because of the font config cache. |
@xuelian-bai |
FYI, the details of the text rendering issue: #96. I hope it's a one-time 141ms delay on start-up. At the time, we decided to be correct than be performant but if the performance drop is noticeable, please share your findings so we can make improvements. Additionally, there was another issue that got solved by using font-config: flutter-tizen/flutter-tizen#104. |
@xuelian-bai As a workaround, if your app doesn't use a custom font and you really want to optimize the startup performance, you can use a custom build of the engine without fontconfig enabled by reverting this commit. |
Ok, thanks for explain, now I know it's necessary for this patch.
|
This PR includes :
Now, re-enable fontconfig as default