Skip to content

Commit 0ab334c

Browse files
committed
Add opt-in timing tests for the compare editor open path
CompareOpenPerformanceTest measures wall time from opening a compare editor until the text is visible and until the diff is reported, for several synthetic file sizes and change densities, plus a unified diff scenario and a headless DocumentMerger microbenchmark. Each scenario is repeated, warmup repetitions are discarded, and the median is printed as a greppable PERF line and written to a CSV; only a generous sanity bound is asserted, so shared CI timing noise cannot produce spurious failures. RangeDifferencerTest is migrated off the retired org.eclipse.test.performance database harness, which asserted nothing without a baseline database, onto the same repeated-run median pattern while keeping its correctness assertions. The suite is intentionally not part of AllCompareTests; it runs on demand via PerformanceTestSuite. Contributes to #2795
1 parent e777932 commit 0ab334c

4 files changed

Lines changed: 585 additions & 47 deletions

File tree

team/tests/org.eclipse.compare.tests/META-INF/MANIFEST.MF

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ Require-Bundle: org.eclipse.compare,
77
org.eclipse.jface.text,
88
org.eclipse.jface,
99
org.eclipse.core.runtime;bundle-version="[3.29.0,4.0.0)",
10-
org.eclipse.test.performance,
1110
org.eclipse.ui;bundle-version="3.208.0",
11+
org.eclipse.ui.ide,
12+
org.eclipse.ui.workbench.texteditor,
1213
org.eclipse.core.resources,
1314
org.eclipse.core.tests.resources,
1415
org.eclipse.core.tests.harness,

0 commit comments

Comments
 (0)