Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 17 years ago

#54 closed defect (fixed)

extremely slow log parsing with large repository

Reported by: mgood Owned by: cmlenz
Priority: critical Milestone: 0.5
Component: Trac plugin Version: dev
Keywords: Cc:
Operating System:

Description

Since the SourceFileLinkFormatter walks the whole repository branch used for the build, it becomes slower the larger the repository is. On a repository branch of about 4000 nodes it takes about 10 seconds to render.

Attachments (0)

Change History (2)

comment:1 Changed 19 years ago by cmlenz

  • Milestone set to 0.5
  • Priority changed from major to critical
  • Status changed from new to assigned

This should get fixed for 0.5.

comment:2 Changed 19 years ago by cmlenz

  • Resolution set to fixed
  • Status changed from assigned to closed

I've made some changes for this in [268]. Please test to see if that helps.

Now the log formatter will only match file references with line numbers, in the commonly used format filepath:lineno. It no longer walks the entire repository tree for every log... rather, for every file reference, it'll check to see whether there's a corresponding node in the repository. It also uses a path segment cache to avoid redundant lookups.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain cmlenz.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.