Skip to content

Apache Lucene open-source search software

LUCENE-979: remove a few more old benchmark things

Michael McCandless6671c4345814
diff --git a/contrib/benchmark/build.xml b/contrib/benchmark/build.xml
index d8466ad3a5d..cb43926adf0 100644
--- a/contrib/benchmark/build.xml
+++ b/contrib/benchmark/build.xml
@@ -115,23 +115,6 @@
<pathelement location="${benchmark.ext.classpath}"/>
</path>
- <target name="run-standard" depends="compile,check-files,get-files" description="Run the standard baseline">
- <echo>Working Directory: ${working.dir}</echo>
- <java classname="org.apache.lucene.benchmark.Driver" maxmemory="1024M" fork="true">
- <classpath refid="run.classpath"/>
- <arg file="${working.dir}"/>
- <arg file="conf/standard-config.xml"/>
- </java>
- </target>
- <target name="run-micro-standard" depends="compile,check-files,get-files" description="Run the standard baseline">
- <echo>Working Directory: ${working.dir}</echo>
- <java classname="org.apache.lucene.benchmark.Driver" maxmemory="1024M" fork="true">
- <classpath refid="run.classpath"/>
- <arg file="${working.dir}"/>
- <arg file="conf/micro-standard-config.xml"/>
- </java>
- </target>
-
<property name="task.alg" location="conf/micro-standard.alg"/>
<property name="task.mem" value="140M"/>
diff --git a/contrib/benchmark/conf/micro-standard-config.xml b/contrib/benchmark/conf/micro-standard-config.xml
deleted file mode 100644
index f3bd4001186..00000000000
--- a/contrib/benchmark/conf/micro-standard-config.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-<!--
-Configuration file for use with Driver(InputSource) constructor. Uses Digester to load.
-
-Class is the fully qualified name of the Benchmarker to load. It must have a no argument constructor. All attributes invoke the appropriate bean accessor on the Benchmarker -->
-<benchmark >
- <benchmarker class="org.apache.lucene.benchmark.standard.StandardBenchmarker"/>
- <!-- Attributes map to bean getters/setters on the specific instantiation of StandardOptions. So, if you implement your own options, then you can
- initialize automatically by setting the bean attributes here.
-
- All attributes are optional:
-
- runCount - The number of times to run the benchmark successively. Default: 5
- logStep - When indexing, how often to output how many documents have been processed. Default: 1000
- scaleUp - How many times to add the same documents. Default: 5
- maximumDocumentsToIndex - The number of documents to index at a time (multiply by the scaleUp factor for the total number of documents indexed). Default is Integer.MAX_VALUE
- -->
- <options class="org.apache.lucene.benchmark.standard.StandardOptions" runCount="1" logStep="500" scaleUp="1" maximumDocumentsToIndex="2000"/>
-</benchmark>
diff --git a/contrib/benchmark/conf/standard-config.xml b/contrib/benchmark/conf/standard-config.xml
deleted file mode 100644
index aa064692661..00000000000
--- a/contrib/benchmark/conf/standard-config.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-<!--
-Configuration file for use with Driver(InputSource) constructor. Uses Digester to load.
-
-Class is the fully qualified name of the Benchmarker to load. It must have a no argument constructor. All attributes invoke the appropriate bean accessor on the Benchmarker -->
-<benchmark >
- <benchmarker class="org.apache.lucene.benchmark.standard.StandardBenchmarker"/>
- <!-- Attributes map to bean getters/setters on the specific instantiation of StandardOptions. So, if you implement your own options, then you can
- initialize automatically by setting the bean attributes here.
-
- All attributes are optional.
-
- runCount - The number of times to run the benchmark successively. Default: 5
- logStep - When indexing, how often to output how many documents have been processed. Default: 1000
- scaleUp - How many times to add the same documents. Default: 5
- maximumDocumentsToIndex - The number of documents to index at a time (multiply by the scaleUp factor for the total number of documents indexed). Default is Integer.MAX_VALUE
- -->
- <options class="org.apache.lucene.benchmark.standard.StandardOptions" runCount="5" logStep="1000" scaleUp="5"/>
-</benchmark>