Skip to content

Move the Project Explorer performance test to the performance bundle - #4259

Merged
vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:perf/project-explorer-tests
Aug 20, 2026
Merged

Move the Project Explorer performance test to the performance bundle#4259
vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:perf/project-explorer-tests

Conversation

@vogella

@vogella vogella commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

The navigator test bundle carried a PerformanceTest that no suite ran: it was commented out of NavigatorTestSuite for bug 264449 and reported its timings with System.out.println, so it could neither fail nor be compared against anything. It belongs with the other performance tests, which report through UIPerformanceTestUtil since they were migrated off the performance database.

ProjectExplorerPerformanceTest keeps the project deletion and label provider mapping scenarios, measures each of them over several rounds rather than once, and no longer depends on NavigatorTestBase. It also adds testRemoveFilesOfCollapsedProject, which removes files that have no item in the tree because their project was never expanded. That is what a delete below a collapsed project comes down to, and it is the case where the viewer has to ask the content service for a parent, which nothing covered before.

The navigator test bundle carried a PerformanceTest that no suite ran:
it was commented out of NavigatorTestSuite for bug 264449 and reported
its timings with System.out.println, so it could neither fail nor be
compared. It belongs with the other performance tests, which report
through UIPerformanceTestUtil since they were migrated off the
performance database.

ProjectExplorerPerformanceTest keeps the project deletion and label
provider mapping scenarios, measures each of them over several rounds
rather than once, and drops the dependency on NavigatorTestBase.

It adds testRemoveFilesOfCollapsedProject, which removes files that have
no item in the tree because their project was never expanded. That is
what a delete below a collapsed project comes down to, and it is the
case where the viewer has to ask the content service for a parent. With
2000 files ten folders deep it reports 3.5ms against 18.6ms when the
viewer walks the whole ancestor chain instead of asking for the
immediate parent.
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

   858 files  ±0     858 suites  ±0   1h 4m 9s ⏱️ + 9m 37s
 8 172 tests ±0   7 929 ✅ ±0  243 💤 ±0  0 ❌ ±0 
20 418 runs  ±0  19 762 ✅ ±0  656 💤 ±0  0 ❌ ±0 

Results for commit 2bc84df. ± Comparison against base commit 6e05cae.

@vogella

vogella commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

Test code which is not affected by the release freeze rule

@vogella
vogella merged commit 5b3e6dd into eclipse-platform:master Aug 20, 2026
17 of 18 checks passed
@vogella
vogella deleted the perf/project-explorer-tests branch August 20, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test junit test related things

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant