Skip to content

Combine the tree viewer performance tests into one class - #4258

Merged
vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:perf/tree-viewer-test-consolidation
Aug 20, 2026
Merged

Combine the tree viewer performance tests into one class#4258
vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:perf/tree-viewer-test-consolidation

Conversation

@vogella

@vogella vogella commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

TreeAddTest, FastTreeTest, ShrinkingTreeTest and TreeViewerRefreshTest each measured one aspect of the same widget in a class of its own, which the old performance database needed because a class was its reporting unit. Now that these tests print their own timings, the split only spreads one subject over four files and a shared base class.

TreeViewerPerformanceTest carries all of the scenarios. The additions that FastTreeTest repeated ten times with a removal in between become a round count on the shared measuring method, and the two refresh scenarios keep their own content provider and comparator setup, so the measurements are the ones the separate classes took. TreeTest is gone and its content provider now sits with the test that uses it.

TreeAddTest, FastTreeTest, ShrinkingTreeTest and TreeViewerRefreshTest
each measured one aspect of the same widget in its own class, which the
old performance database needed because a class was the unit it reported
on. Now that the tests print their own timings the split only spreads
one subject over four files and a shared base class.

TreeViewerPerformanceTest carries all of the scenarios. The additions
that FastTreeTest repeated ten times with a removal in between become a
round count on the shared measuring method, and the two refresh
scenarios keep their content providers, so the measurements are the ones
the separate classes took. TreeTest is gone, its content provider now
sits with the test that uses it.
@vogella vogella added the test junit test related things label Aug 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

   858 files  ±0     858 suites  ±0   48m 47s ⏱️ - 5m 45s
 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 f0304f2. ± 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 17408de into eclipse-platform:master Aug 20, 2026
17 of 18 checks passed
@vogella
vogella deleted the perf/tree-viewer-test-consolidation branch August 20, 2026 14:12
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