-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
Startup performance #134
Comments
Electron, which is based on Chromium. There's nothing that I know of that can speed it up. |
What about other apps? Atom or VSCode start many times faster and they are electron based too. Is it a question of loading all the dependend js files? What do you think about bundling all dependencies into a single file? May this can significant speed up the startup process? |
Those apps are most probably made with a more updated version of Electron, because of the use of (and limitations of) WebChimera.js that only has support up to a certain version of Electron we are currently stuck with an old version until more advances are made. I doubt that merging all the code in one file will make a significant difference, I may be wrong though. |
This rewrite task, when done, should fix the issue with long app load times (and a lot more issues too): |
Hi guys,
thx for building this cool looking player based on an interesting technical approach.
Due to my validation of video players for our film production project I noticed that the startup speed of the player is maybe not as fast as it could be. I spend some time of investigating common video players startup time. On my machine the powder player took about 8 seconds to show up the UI. On the same machine the VLC player took only 0.4 seconds to start. I am aware that vlc is a native app while powderplayer is a hybrid web app that is mostly slower (because of API-wrapping, extra layers and other technical tradeoffs). Could you explain why is so slow? What can I do to improve the startup performance? What takes "so much" time at startup (Electron, WebChimera, underling VLC libs)?
I would use the player started quite often from an external program to watch short clips.
Here my benchmarks:
Startup time PowderPlayer: 7,95 sec avg (10 trials)
Startup time VLC: 0,46 sec avg (10 trials)
Testmachine
Intel Xeon E5520 2.27Ghz
32GB-Ram
Fast SSD drive
thank you!
The text was updated successfully, but these errors were encountered: