skywind3000 / PyStand

:rocket: Python Standalone Deploy Environment !!
MIT License
641 stars 75 forks source link

PyStand启动速度 #73

Open LeeFuture97 opened 4 months ago

LeeFuture97 commented 4 months ago

PyStand的release用例里PyStand.exe的启动速度基本在1s左右,基本跟其他程序持平,但是自己用PySide写了一个功能简单的小工具,也就三四个很小的外部库,但是启动时间基本要3-5s,启动时间由哪几方面的因素决定,该怎么优化呢

David-xian66 commented 4 months ago

先从自身找原因 先看看直接python运行你的代码启动时间如何 在说PyStand的事

mengdeer589 commented 3 months ago

我做过一些小测试,pystand这种打包方式打包的程序,启动速度快于nuitka,秒杀pyinstaller,当然,我指的是第二次启动。第一次启动新打包的程序都会比较慢,因为杀毒软件要扫一遍。

rainzee commented 1 month ago

pystand 从原理上启动没有开销,排除