-
Notifications
You must be signed in to change notification settings - Fork 460
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
Slow project.js / app/views/show.js.erb #931
Comments
Haven't had that many projects, but it looks like a case of bad scaling with lots of projects. I have done a small performance improvement, but we might have to consider another way of fetching this information. |
I think there is a small improvement (or actually big, about ~1s) relative to the whole loading process. Nevertheless I just haven't enough data to really verify performance changes. The only thing I can verify is that it is still slow/not fast and that's caused by the project.js request as you can see in the attached screenshot. |
I have a few improvements. Could you test latest master? |
Yes that's a huge speed improvement. No problems for me so far. I see if I can get it tested by more people. |
Excellent, I have made a new release. Out of curiosity how much did it improve? I don't have as big a database to test :). |
Cool, I saw something similar from 3-4 seconds to 400ms for the show.js. There are definitely still places which could be improved, but I think we got bang for the buck with this one :). Thanks for the analysis and testing. |
platform: 2.3.1 # supported: 2.2.4, 2.3.2
backlogs: 1.0.2 but this part of the code is the same as with the current 1.0.3 # supported: 1.0.5
ruby: 1.9.3 # supported: 1.9.3, 2.0.0
The rendering of the backlogs tab is slow here because the server has to load project.js which is created with app/views/show.js.erb if I see it correctly. This file takes about 7s out of the 8-9s total loading time on my test system.
In this file the following code part is responsible for about 90% of that time.
The installation has about 25k issues, with about 500 projects that can be nested up to 4 levels deep.
Is anyone else having similar problems? Are there configuration options to improve the speed, if not all sprint/version sharing modes are used? Can the code be optimized?
As I can see in this commit the code is there for a reason. What would happen if it got removed?
The text was updated successfully, but these errors were encountered: