Skip to content

Report timings in ContentDescriptionPerformanceTest - #2929

Merged
vogella merged 2 commits into
eclipse-platform:masterfrom
vogella:content-description-perf-timings
Sep 15, 2026
Merged

vogella merged 2 commits into
eclipse-platform:masterfrom
vogella:content-description-perf-timings

Conversation

@vogella

@vogella vogella commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

ContentDescriptionPerformanceTest reported through org.eclipse.test.performance, whose performance database has not been configured for years, so commitMeasurements and assertPerformance were no-ops and the test printed nothing and could not fail. The test now times its work itself and prints min, median, 90th percentile and maximum via a new PerformanceTestUtil in org.eclipse.core.tests.harness, the same approach already used in eclipse.platform.ui.

Besides the cold and warm description passes over 5000 files, the cold pass now flushes the description cache before every round, two cases time the project matcher's name look-up directly, and two cases enable project specific content type settings. While running, the test registers 300 user defined xml content types so a look-up visits as many candidates as in an IDE with many plug-ins, which is what makes changes in the content type catalog measurable. Run locally with the bundles under test in the reactor, all five cases pass and print their timings.

The test measured one cold and one warm pass over 5000 files through
org.eclipse.test.performance. Without the performance database that
framework reports to, commitMeasurements and assertPerformance are
no-ops, so the test printed nothing and could not fail.

The test now times each pass itself and prints min, median, 90th
percentile and maximum via the new PerformanceTestUtil in
org.eclipse.core.tests.harness. The cold pass flushes the content
description cache before every round, two cases time the project
matcher's name look-up directly, and two cases enable project specific
content type settings. While running, the test registers 300 user
defined xml content types so that a look-up visits as many candidates
as in an IDE with many plug-ins.

Assisted-by: multiple AI agents and layers of automated tooling 🤖
Claude-Session: https://claude.ai/code/session_01CaULtGuvCNxegRkFAfcYgT
@eclipse-platform-bot

Copy link
Copy Markdown
Contributor

This pull request changes some projects for the first time in this development cycle.
Therefore the following files need a version increment:

runtime/tests/org.eclipse.core.tests.harness/META-INF/MANIFEST.MF

An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch.

Git patch
From ac5a58918e7b3d407bb7feca7368aa840e596012 Mon Sep 17 00:00:00 2001
From: Eclipse Platform Bot <platform-bot@eclipse.org>
Date: Mon, 14 Sep 2026 17:01:21 +0000
Subject: [PATCH] Version bump(s) for 4.42 stream


diff --git a/runtime/tests/org.eclipse.core.tests.harness/META-INF/MANIFEST.MF b/runtime/tests/org.eclipse.core.tests.harness/META-INF/MANIFEST.MF
index 63dba3b3e1..624a2e0eb5 100644
--- a/runtime/tests/org.eclipse.core.tests.harness/META-INF/MANIFEST.MF
+++ b/runtime/tests/org.eclipse.core.tests.harness/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: Eclipse Core Tests Harness
 Bundle-SymbolicName: org.eclipse.core.tests.harness;singleton:=true
-Bundle-Version: 3.17.500.qualifier
+Bundle-Version: 3.17.600.qualifier
 Bundle-Vendor: Eclipse.org
 Export-Package: org.eclipse.core.tests.harness;version="2.0",
  org.eclipse.core.tests.harness.session
-- 
2.55.0

Further information are available in Common Build Issues - Missing version increments.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results

    54 files  ±0      54 suites  ±0   57m 12s ⏱️ + 1m 44s
 4 810 tests ±0   4 788 ✅ ±0   22 💤 ±0  0 ❌ ±0 
12 321 runs  ±0  12 168 ✅ ±0  153 💤 ±0  0 ❌ ±0 

Results for commit 50928de. ± Comparison against base commit 4d0839d.

@vogella
vogella merged commit 64623ea into eclipse-platform:master Sep 15, 2026
18 checks passed
@vogella
vogella deleted the content-description-perf-timings branch September 15, 2026 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants