Skip to content

Attempt on optimizing the builds - #3383

Open
kuzeyron wants to merge 6 commits into
kivy:developfrom
kuzeyron:optimize-python-some-more
Open

kuzeyron wants to merge 6 commits into
kivy:developfrom
kuzeyron:optimize-python-some-more

Conversation

@kuzeyron

Copy link
Copy Markdown
Contributor

This PR is about optimizing the builds and strip out data that isn't needed and therefor the first launch on Androids would be faster when it comes to unpacking the data.

This PR requires testing.

The compressed filesize in comparison is about 1.7MB lighter and the unpacked data is a lot more lighter than before.
So in my books it's 1.7MB * 4 = 6.8MB of free space if you are publishing it to the Play Store with four architectures.

Next plan is to eliminate setuptools from Kivy itself because it's roughly 2.5MB in size and if I recall it correctly it's only used once with Kivy. Another thing that comes to Kivy is one of the fonts named "DeJaVue" that is nearly 1MB in size and I believe Kivy isn't even using all those characters coming with the font.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants