.appimage is slow to start — include .pyc into the bundle #9184
Labels
build/packaging 📦
OS-linux 🐧
probably-easy 🍰
pull-request wanted 📣
Help would be much appreciated if you have expertise and time.
AppImage (Linux) version of electrum is rather slow to start, it takes about 3 seconds on my modern Intel 1340P machine.
This is because Python bytecode (
.pyc
files) are not included into .appimage, and since appimage could not be updated, Python compiles them every run.If .appimage is exctracted with
./electrum-4.5.5-x86_64.AppImage --appimage-extract
and ran from the directory (so it could update itself), subsequent runs are vastly faster.Please run the application once in your building process, and include all the built
.pyc
files into .appimage.`The text was updated successfully, but these errors were encountered: