Project

General

Profile

Actions

Defect #37489

open

time consuming function function on showing an issue

Added by salman mp over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Performance
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Hi
There is a function retrieve_previous_and_next_issue_ids in issues_controller show action that is too heavy when you have many issues.

In my test, getting an specific issue by API takes about 2 seconds, but exactly the same issue in web browser takes about 10 seconds. after commenting retrieve_previous_and_next_issue_ids, web browser also responses quikely.

1. Which are the usages of these function except showing prev/next link in issue view page?
2. Is is suitable to have an option to ignore this.
3. Is it possible to make this function more efficient?

No data to display

Actions

Also available in: Atom PDF