Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2008-06-12 17:32:31 +0000
committerMichael Valenta2008-06-12 17:32:31 +0000
commitaa314f9025e7814dee1fdb8b158e0bc9ca16f296 (patch)
tree37386abb5254d7f4101348cb8117bd7c69df2c5c
parentbd6e19515299997b36f910bba9be720a3892b286 (diff)
downloadeclipse.platform.team-aa314f9025e7814dee1fdb8b158e0bc9ca16f296.tar.gz
eclipse.platform.team-aa314f9025e7814dee1fdb8b158e0bc9ca16f296.tar.xz
eclipse.platform.team-aa314f9025e7814dee1fdb8b158e0bc9ca16f296.zip
Bug 236844 Make compare performance tests greyR3_4I20080612
-rw-r--r--tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/performance/RangeDifferencerTest.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/performance/RangeDifferencerTest.java b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/performance/RangeDifferencerTest.java
index 09d24058f..31157b7d5 100644
--- a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/performance/RangeDifferencerTest.java
+++ b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/performance/RangeDifferencerTest.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005 IBM Corporation and others.
+ * Copyright (c) 2005, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -18,10 +18,13 @@ import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.jface.text.Document;
import org.eclipse.jface.text.IDocument;
import org.eclipse.test.performance.Dimension;
+import org.eclipse.test.performance.Performance;
import org.eclipse.test.performance.PerformanceTestCase;
public class RangeDifferencerTest extends PerformanceTestCase {
+
+ static private final String EXPLANATION = "Performance decrease caused by changes in the compare framework, see bug 210688";
public RangeDifferencerTest(String name) {
super(name);
@@ -60,6 +63,7 @@ public class RangeDifferencerTest extends PerformanceTestCase {
public void testLargeDocument() {
tagAsGlobalSummary("3-way compare, 5000 lines", Dimension.ELAPSED_PROCESS); //$NON-NLS-1$
+ setComment(Performance.EXPLAINS_DEGRADATION_COMMENT, EXPLANATION);
ITokenComparator ancestor= new DocLineComparator(createDocument(0), null, false);
ITokenComparator left= new DocLineComparator(createDocument(1), null, false);

Back to the top