Project

General

Profile

Actions

Defect #44350

closed

Project overview page is slow when the members box contains many members

Added by Takenori TAKAKI 2 months ago. Updated 8 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Performance
Target version:
-
Resolution:
Invalid
Affected version:

Description

Problem

When a project has many members, the overview page (/projects/:id) becomes slow because the members box loads and renders all member links on the initial page load.
In a local development test with a project that has about 4000 members, the initial overview page load took 1345 ms.

Proposal

To address this, I propose limiting the initial display to the first 50 members per role and providing a "Show all" link to load the remaining members for that role on demand.
This preserves the current role-based structure, keeps all members accessible from the overview page itself, and avoids loading all principals up front for the initial render.

In the same local development test, the initial overview page load improved to about 32-78 ms after this change.
Loading all remaining members still has a cost, but that cost is paid only when "Show all" is explicitly requested.


Files

members-box-show-all.png (672 KB) members-box-show-all.png Takenori TAKAKI, 2026-08-18 14:26
members-box-show-all.patch (18.8 KB) members-box-show-all.patch Takenori TAKAKI, 2026-08-18 14:27
members-box-show-all-v2.patch (17.6 KB) members-box-show-all-v2.patch Takenori TAKAKI, 2026-09-10 15:02
extra-space-before-comma-after-show-all.png (32.4 KB) extra-space-before-comma-after-show-all.png Katsuya HIDAKA, 2026-09-11 06:32
members-box-show-all-v3.patch (18.9 KB) members-box-show-all-v3.patch Takenori TAKAKI, 2026-09-14 13:53
members-box-show-all-v4.patch (19 KB) members-box-show-all-v4.patch Takenori TAKAKI, 2026-09-15 03:35
members-box-show-all-v5.patch (18.4 KB) members-box-show-all-v5.patch Takenori TAKAKI, 2026-09-15 09:01
members-box-show-all-v6.patch (17.7 KB) members-box-show-all-v6.patch Takenori TAKAKI, 2026-09-15 15:29
clipboard-202609170152-leohr.png (49 KB) clipboard-202609170152-leohr.png Marius BĂLTEANU, 2026-09-17 00:52

Related issues

Related to Redmine - Defect #5942: Groups with a few thousand users gives issues in a few UIs and slow-downs on a few screensNew2010-07-22Actions
Related to Redmine - Feature #44458: Filter project members by name, role and status in project settingsClosedMarius BĂLTEANUActions
Related to Redmine - Patch #2198: print short list of users in overview page of projectNew2008-11-15Actions
Related to Redmine - Defect #27902: Overview page is very slow for private projects with large number of membersNewActions
Related to Redmine - Feature #44581: Make project members page available to all users who can see the Members box on the overview pageResolvedMarius BĂLTEANUActions
Related to Redmine - Feature #44601: Limit the number of members shown for each role in Members boxNewMarius BĂLTEANUActions
Actions

Also available in: Atom PDF