jenkinsci / jenkinsci/junit-plugin
[JENKINS-15818] Display exceedingly slow for large test results
- 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
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
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