Revert "Add script to run SSPerformanceTest"

This reverts commit b7ed47113c86b0c6227c0bb60a2b6ce1c7c4c2b2.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773676 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2016-12-11 21:14:42 +00:00
parent d8ea2d615c
commit 521539a51c

View File

@ -1,40 +0,0 @@
#!/bin/sh
export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-amd64
export PATH=$JAVA_HOME/bin:$PATH
export ANT_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
#ls $JAVA_HOME
java -version
# compile-ooxml-lite test-all testcoveragereport
#/opt/apache/apache-ant/apache-ant-1.7.1/bin/
ant init compile-examples
if [ $? -ne 0 ];then
exit 1
fi
if [ ! -d build/ooxml-lite-classes ];then
ant compile-ooxml-lite
if [ $? -ne 0 ];then
exit 1
fi
fi
for i in build/dist/maven/poi*/*.jar build/*classes ooxml-lib/xmlbeans-2.3.0.jar ooxml-lib/dom4j-1.6.1.jar;do
JARS="$JARS:$i"
done
ROWS=25000
COLS=25
AGENT=-agentpath:/opt/dynaTrace/dynatrace-6.1.0/agent/lib64/libdtagent.so=name=ApachePOI,server=localhost
echo CP: $JARS
java -cp $JARS -Xmx1024m $AGENT org.apache.poi.ss.examples.SSPerformanceTest HSSF $ROWS $COLS 0 && \
java -cp $JARS -Xmx1024m $AGENT org.apache.poi.ss.examples.SSPerformanceTest XSSF $ROWS $COLS 0 && \
java -cp $JARS -Xmx1024m $AGENT org.apache.poi.ss.examples.SSPerformanceTest SXSSF $ROWS $COLS 0 && \
echo All done