Commit 0ab334c
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 #27951 parent e777932 commit 0ab334c
4 files changed
Lines changed: 585 additions & 47 deletions
File tree
- team/tests/org.eclipse.compare.tests
- META-INF
- src/org/eclipse/compare/tests/performance
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
0 commit comments