#2891 closed defect (fixed)
Timeline performance broken in [2990]
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | highest | Milestone: | 0.10.1 |
Component: | timeline | Version: | devel |
Severity: | normal | Keywords: | timeline performance |
Cc: | manuzhai@…, m@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
As discussed on the mailing list, I have found that changeset [2990] has resulted in a more than tenfold increase in the amount of time it takes to render the timeline. It only affects changeset items, which is consistent with the nature of the changeset in question.
Attachments (0)
Change History (12)
comment:1 by , 19 years ago
Milestone: | → 0.10 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 19 years ago
Priority: | normal → highest |
---|
comment:3 by , 19 years ago
Cc: | added |
---|
comment:4 by , 19 years ago
The patch posted appears to fix the problem. I'm now running on trunk + the patch and the timeline is working as fast as it does normall.
Thanks!
follow-up: 8 comment:5 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Ok, so I applied the patch in r3026.
I'll look for a better fix later (i.e. making get_repository()
cheap).
comment:6 by , 19 years ago
IIUC correctly, this change means that the repository is no longer synced before a changeset link is encountered in wiki text. So you'll get a ”missing changeset” link for a changeset that isn't yet in the cache.
comment:7 by , 19 years ago
You're right, but this is simply the pre-2990 behavior. I'm currently writing a mail for Trac-Dev in order to discuss this, among other things.
comment:8 by , 18 years ago
Replying to cboos:
… I'll look for a better fix later (i.e. making
get_repository()
cheap).
As matt reintroduced the usage of get_repository
in r3971, I added a (per-request) cache of Repository objects in r3980.
This will be later refined to allow for multiple repositories (see VcRefactoring#SupportforMultipleRepositories).
comment:9 by , 18 years ago
Cc: | added |
---|---|
Milestone: | 0.10 |
Resolution: | fixed |
Status: | closed → reopened |
Version: | 0.9.4 → devel |
I am reopening this ticket because the timeline is dead slow. I can't get the timeline of even small projects to display. It nearly killed my webserver, too.
r3994 is my version.
comment:11 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Hm, this was related to a DNS problem. But why?
comment:12 by , 18 years ago
Milestone: | → 0.10.1 |
---|
Please try out the following patch: