-
Notifications
You must be signed in to change notification settings - Fork 75
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
Clicking on a Container takes a long time to open details #974
Comments
Phoenicis is collecting the information about the container from the file system. Therefore, this is highly depending on your disk drive etc. I currently cannot think of a better solution for this. If you have any ideas, please let us know. |
I'm not sure if the containers are the problem. I believe, that one of the problems here is the "update engine" combobox. |
I'm using an SSD (got this laptop recently, the previous one was HDD, the difference is very noticeable!) so disk read-write speed is pretty good! Well the problem wasn't present in POL 4 (not even with HDD)... |
@madoar that's true. But how do we solve it? |
I think we should add an |
How can this |
It should check at startup time, ideally in a background thread. About the "how" itself: |
Currently Phoenicis reads a json file which contains all that data. The thing is that this should be done in JS (like it is currently) because we want to support other engines than Wine. Would be could to run a profiler to check what's the deal before starting any fixes. |
And where is the json file managed, i.e. how is it created and updated, when a new wine version is released? |
That's the point in #973: It's available online and updated by @qparis. However, this is a different issue. I guess your suggestion should work. The |
How would a clear partition in engines and applications in the DTO tree remove the need of an |
I believe that the information we need could be stored in the EngineCategoryDTO directly. Not sure if we want that though. |
I think you could add the method to select all available engine versions to the |
Yes. My idea was that all known engine categories are available from the repository. But it probably makes sense to have a manager anyways. |
I just did some profiling: 70% of the load when opening a container is caused by |
Why/when do we use a |
Like you said: |
Ok.
What do you think? |
What about your idea of enhancing the |
I have implemented a solution in #979 and PhoenicisOrg/scripts#328. However, it does not work currently because the server does not return a proper date for the last file modification. If this can be fixed, this solution will only download a new file with available versions if really required. |
How should we do the remaining two PRs, I've suggested? |
Probably the best approach. Can you open a new issue for the second point? |
There's significant lag when clicking on a Container before the details on that Container are opened. This is especially obvious after you start up Phoenicis.
The text was updated successfully, but these errors were encountered: