jenkinsci / jenkinsci/junit-plugin

[JENKINS-15818] Display exceedingly slow for large test results

Open
#932 8 comments 0 reactions 0 assignees View on GitHub
component:junit-plugin imported-jira-issue performance priority:major resolution:unresolved
Dominant language
Java
Stars
87
Forks
351
Avg merge
1d 19h
Merged PRs (30d)
2

Description

When there are a lot of test cases in a single suite, rendering the summary page is dreadfully slow. Most of the time is taken in TestObject.uniquifyName, which can be called thousands of times, each taking several msec.

---
Originally reported by jglick, imported from: Display exceedingly slow for large test results


  • status: Open
  • priority: Major
  • component(s): junit-plugin
  • label(s): performance
  • resolution: Unresolved
  • votes: 6
  • watchers: 9
  • imported: 2025-11-26

Raw content of original issue

When there are a lot of test cases in a single suite, rendering the summary page is dreadfully slow. Most of the time is taken in TestObject.uniquifyName, which can be called thousands of times, each taking several msec.

2 attachments

- [AppTest.java](https://issues.jenkins.io/secure/attachment/32488/AppTest.java)
- [AppTest.java](https://issues.jenkins.io/secure/attachment/22823/AppTest.java)

Contributor guide

Open the contributing guide

Research direction

Start by locating TestObject.uniquifyName and the summary-page rendering path in the junit-plugin. Reproduce the slowdown with a suite containing many test cases, then verify that rendering no longer spends excessive time in uniquifyName and completes substantially faster.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
performance, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.