diff --git a/archive/org.eclipse.wtp.releng/buildAll.xml b/archive/org.eclipse.wtp.releng/buildAll.xml
index 070193b02b1ed3bc3ecbf9e89346cc1bd0d33b72..05e0dd9093fc404ea1439c031c43d2fc30d8d36b 100644
--- a/archive/org.eclipse.wtp.releng/buildAll.xml
+++ b/archive/org.eclipse.wtp.releng/buildAll.xml
@@ -502,12 +502,12 @@
                 <property name="performance.target.present" value="true"/>
                 <property name="extraVMargs" value="${perf.db} ${perf.config.wtp} ${perf.assert}"/>
             </ant>
-            <mkdir dir="${build.home}/derby/eclipseperfgraphs"/>
+            <mkdir dir="${buildDirectory}/${buildLabel}/eclipsePerfResults"/>
             <ant antfile="testScripts/test.xml" target="genPerfGraphs">
                 <property name="eclipseBuilderDirectory" value="${build.home}/${eclipse.builder}"/>
                 <property name="perf.ref.buildId" value="${buildType}${date}-${time}-base"/>
                 <property name="buildId" value="${buildType}${date}-${time}-wtp"/>
-                <property name="results" value="${build.home}/derby/eclipseperfgraphs"/>
+                <property name="results" value="${buildDirectory}/${buildLabel}/eclipsePerfResults"/>
             </ant>
         </target>
 
diff --git a/archive/org.eclipse.wtp.releng/performance/.classpath b/archive/org.eclipse.wtp.releng/performance/.classpath
new file mode 100644
index 0000000000000000000000000000000000000000..bbb7bdaa1cfcc92b17a3177a058aeef353773f7a
--- /dev/null
+++ b/archive/org.eclipse.wtp.releng/performance/.classpath
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/archive/org.eclipse.wtp.releng/performance/.cvsignore b/archive/org.eclipse.wtp.releng/performance/.cvsignore
new file mode 100644
index 0000000000000000000000000000000000000000..ba077a4031add5b3a04384f8b9cfc414efbf47dd
--- /dev/null
+++ b/archive/org.eclipse.wtp.releng/performance/.cvsignore
@@ -0,0 +1 @@
+bin
diff --git a/archive/org.eclipse.wtp.releng/performance/.project b/archive/org.eclipse.wtp.releng/performance/.project
new file mode 100644
index 0000000000000000000000000000000000000000..f6e4ad3113d29bcbdfc9381cde788ba9ab80053f
--- /dev/null
+++ b/archive/org.eclipse.wtp.releng/performance/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>performance</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>
diff --git a/archive/org.eclipse.wtp.releng/performance/src/org/eclipse/wtp/releng/tools/performance/Main.java b/archive/org.eclipse.wtp.releng/performance/src/org/eclipse/wtp/releng/tools/performance/Main.java
new file mode 100644
index 0000000000000000000000000000000000000000..5210070e6498bcaab61b7bc58839e136183286c7
--- /dev/null
+++ b/archive/org.eclipse.wtp.releng/performance/src/org/eclipse/wtp/releng/tools/performance/Main.java
@@ -0,0 +1,120 @@
+package org.eclipse.wtp.releng.tools.performance;
+
+import java.io.BufferedReader;
+import java.io.BufferedWriter;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.Calendar;
+
+public class Main
+{
+  private static final String DOWNLOAD_URL = "http://download.eclipse.org/webtools/downloads/";
+  private static final String START = "href=\"drops/";
+  private static final String END = "/";
+  private static final String BUILD_TYPE_S = "S";
+  private static final String BUILD_TYPE_I = "I";
+  private static final String BUILD_TYPE_N = "N";
+  private static final String BUILD_TYPE_M = "M";
+
+  public static void main(String[] args)
+  {
+    int buildWeight = -1;
+    String buildType = null;
+    String buildId = null;
+    String date = null;
+    String time = null;
+    StringBuffer today = new StringBuffer();
+    Calendar c = Calendar.getInstance();
+    today.append(String.valueOf(c.get(Calendar.YEAR)));
+    int month = c.get(Calendar.MONTH) + 1;
+    if (month < 10)
+      today.append("0");
+    today.append(String.valueOf(month));
+    int dayOfMonth = c.get(Calendar.DAY_OF_MONTH);
+    if (dayOfMonth < 10)
+      today.append("0");
+    today.append(String.valueOf(dayOfMonth));
+    try
+    {
+      URL url = new URL(DOWNLOAD_URL);
+      InputStream is = url.openConnection().getInputStream();
+      BufferedReader br = new BufferedReader(new InputStreamReader(is));
+      String s = br.readLine();
+      while (s != null)
+      {
+        int sIndex = s.indexOf(START);
+        int eIndex = s.indexOf(END, sIndex + START.length());
+        while (sIndex != -1 && eIndex != -1)
+        {
+          String buildLabel = s.substring(sIndex + START.length(), eIndex);
+          if (buildLabel != null)
+          {
+            String[] buildFragments = buildLabel.split("-");
+            if (buildFragments.length > 2 && buildFragments[0].length() == 1 && buildFragments[2].length() == 12)
+            {
+              int weight = getWeigth(buildFragments[0]);
+              String type = buildFragments[0];
+              String id = buildFragments[1];
+              String d = buildFragments[2].substring(0, 8);
+              String t = buildFragments[2].substring(8, 12);
+              if (today.toString().equals(d) && weight > buildWeight)
+              {
+                buildWeight = weight;
+                buildType = type;
+                buildId = id;
+                date = d;
+                time = t;
+              }
+            }
+          }
+          sIndex = s.indexOf(START, eIndex + END.length());
+          eIndex = s.indexOf(END, sIndex + START.length());
+        }
+        s = br.readLine();
+      }
+      if (buildType != null && buildId != null && date != null && time != null)
+      {
+        BufferedWriter bw = new BufferedWriter(new FileWriter("label.properties"));
+        bw.write("buildType=");
+        bw.write(buildType);
+        bw.newLine();
+        bw.write("buildId=");
+        bw.write(buildId);
+        bw.newLine();
+        bw.write("date=");
+        bw.write(date);
+        bw.newLine();
+        bw.write("time=");
+        bw.write(time);
+        bw.newLine();
+        bw.close();
+      }
+    }
+    catch (MalformedURLException e)
+    {
+      e.printStackTrace();
+    }
+    catch (IOException e)
+    {
+      e.printStackTrace();
+    }
+  }
+
+  private static int getWeigth(String buildType)
+  {
+    if (BUILD_TYPE_S.equals(buildType))
+      return 40;
+    else if (BUILD_TYPE_I.equals(buildType))
+      return 30;
+    else if (BUILD_TYPE_N.equals(buildType))
+      return 20;
+    else if (BUILD_TYPE_M.equals(buildType))
+      return 10;
+    else
+      return 0;
+  }
+}
\ No newline at end of file