-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Performance issues on Ubuntu #715
Comments
Hey. |
Hi Andreas, |
That's interesting, if you feel it's worth trying to speed it up for older versions, we can give it a try. With the new version, is the bottleneck still at the same place? |
generate_from_frequencies function is 80-90 times slower on Ubuntu 20 EC instance than on Windows Notebook (with a similar CPU) or Mac M1. Profiling shows that the most time is spent on getting the size of the font object.
491 14.976 0.031 14.976 0.031 {method 'getsize' of 'Font' objects}
I am using Python 3.11 and the master release for all OSs, but the differences are the same with the other versions of Python.
The text was updated successfully, but these errors were encountered: