Permalink
Browse files

fixed perf directory strcuture

  • Loading branch information...
1 parent bae987e commit f8e6aa7ed213306e2ed3da22f6a09650cf24bc0b @javasoze committed Mar 2, 2011
Showing with 204 additions and 18,312 deletions.
  1. +12 −0 build.xml
  2. +0 −72 perf/build.xml
  3. +0 −15 perf/conf/propertyLoader.spring
  4. +0 −7,282 perf/data/terms.txt
  5. +0 −26 perf/resource/remoting-servlet.xml
  6. +0 −35 test-perf/bin/manage-load-result.sh
  7. +0 −50 test-perf/bin/zoie-perf-test_ctl.sh
  8. +0 −85 test-perf/build.xml
  9. +0 −108 test-perf/config/zoie-perf-test.properties
  10. +0 −108 test-perf/config/zoie-perf-test.properties.orig
  11. +0 −108 test-perf/config/zoie-perf-test.properties.profile
  12. +0 −2 test-perf/config/zoieperftest.properties
  13. +0 −7,421 test-perf/config/zoiequerydata.txt
  14. BIN test-perf/ext-libraries/commons-cli-1.1.jar
  15. BIN test-perf/ext-libraries/commons-logging-1.0.4.jar
  16. BIN test-perf/ext-libraries/commons-math-1.1.jar
  17. BIN test-perf/ext-libraries/iText.zip
  18. BIN test-perf/ext-libraries/jcommon-0.9.6.jar
  19. BIN test-perf/ext-libraries/jfreechart-0.9.21.jar
  20. BIN test-perf/ext-libraries/performance-1.2.0.jar
  21. BIN test-perf/ext-libraries/trilead-ssh2-build213.jar
  22. +0 −454 test-perf/java/proj/zoie/perf/reports/ZoieClientLogProcessor.java
  23. +0 −841 test-perf/java/proj/zoie/perf/reports/ZoieHtmlCreator.java
  24. +0 −700 test-perf/java/proj/zoie/perf/reports/ZoieIndexLogProcessor.java
  25. +0 −327 test-perf/java/proj/zoie/perf/reports/ZoiePostProcessor.java
  26. +0 −333 test-perf/java/proj/zoie/perf/reports/ZoieServerLogProcessor.java
  27. +0 −114 test-perf/java/proj/zoie/perf/reports/ZoieTestProfileData.java
  28. +0 −206 test-perf/java/proj/zoie/perf/test/ZoiePerfTest.java
  29. +1 −0 zoie-example/src/main/webapp/WEB-INF/conf/applicationContext.spring
  30. +2 −1 zoie-example/src/main/webapp/WEB-INF/conf/dataprovider.spring
  31. +2 −0 zoie-example/src/main/webapp/WEB-INF/conf/index.properties
  32. +14 −0 zoie-example/src/main/webapp/WEB-INF/conf/propertyLoader.spring
  33. +1 −10 zoie-example/src/main/webapp/WEB-INF/conf/zoie.spring
  34. +130 −0 zoie-perf/pom.xml
  35. 0 {perf/src → zoie-perf/src/main}/java/proj/zoie/perf/client/ZoieClient.java
  36. 0 {perf/src → zoie-perf/src/main}/java/proj/zoie/perf/indexing/ContentDoc.java
  37. 0 {perf/src → zoie-perf/src/main}/java/proj/zoie/perf/indexing/ContentSource.java
  38. 0 {perf/src → zoie-perf/src/main}/java/proj/zoie/perf/indexing/ContentSourceStreamProvider.java
  39. 0 {perf/src → zoie-perf/src/main}/java/proj/zoie/perf/indexing/EnwikiContentSource.java
  40. 0 {perf/src → zoie-perf/src/main}/java/proj/zoie/perf/indexing/LoopingIndexableInterpreter.java
  41. 0 {perf/src → zoie-perf/src/main}/java/proj/zoie/perf/indexing/WikiDocIndexableInterpreter.java
  42. 0 {perf/src → zoie-perf/src/main}/java/proj/zoie/perf/mbean/PerfZoieServiceAdmin.java
  43. 0 {perf/src → zoie-perf/src/main}/java/proj/zoie/perf/mbean/PerfZoieServiceMBean.java
  44. 0 {perf/src → zoie-perf/src/main}/java/proj/zoie/perf/server/MonitoredZoieService.java
  45. 0 {perf/src → zoie-perf/src/main}/java/proj/zoie/perf/tools/IndexReplicator.java
  46. 0 {perf → zoie-perf/src/main/webapp/WEB-INF}/conf/applicationContext.spring
  47. 0 {perf → zoie-perf/src/main/webapp/WEB-INF}/conf/dataprovider.spring
  48. 0 {perf/settings → zoie-perf/src/main/webapp/WEB-INF/conf}/index.properties
  49. 0 {perf → zoie-perf/src/main/webapp/WEB-INF}/conf/jmx.spring
  50. +1 −0 {perf → zoie-perf/src/main/webapp/WEB-INF}/conf/perf.properties
  51. +15 −0 zoie-perf/src/main/webapp/WEB-INF/conf/propertyLoader.spring
  52. +13 −11 {perf → zoie-perf/src/main/webapp/WEB-INF}/conf/zoie.spring
  53. +12 −0 zoie-perf/src/main/webapp/WEB-INF/remoting-servlet.xml
  54. +1 −3 {perf/resource → zoie-perf/src/main/webapp/WEB-INF}/web.xml
View
@@ -36,6 +36,18 @@
<arg line="jetty:run" />
</exec>
</target>
+
+ <target name="perf-client" depends="dist">
+ <exec executable="mvn" dir="zoie-perf">
+ <arg line="-e exec:java proj.zoie.perf.client.ZoieClient" />
+ </exec>
+ </target>
+
+ <target name="perf-server" depends="dist">
+ <exec executable="mvn" dir="zoie-perf">
+ <arg line="jetty:run" />
+ </exec>
+ </target>
<target name="run-cmdline" depends="dist" description="--> run the cmdline console">
<exec executable="mvn">
View
@@ -1,72 +0,0 @@
-<project name="zoie-perf" default="dist">
- <property name="resource" value="resource"/>
- <property name="settings" value="settings" />
- <property name="conf" value="conf" />
- <property name="index.dir" location="index" />
- <property name="index.perf.dir" location="index-perf" />
- <property name="index.data" location="index.tar.gz"/>
- <property name="perf.src" value="src/java" />
-
- <property name="perf.build" location="perf-build"/>
-
- <path id="compile.class.path">
- <fileset dir="${lib.dir}/master">
- <include name="*.jar" />
- </fileset>
- <fileset dir="${dist}">
- <include name="zoie-${version}.jar" />
- </fileset>
- </path>
-
- <target name="clean">
- <delete dir="${perf.build}"/>
- <delete dir="${index.perf.dir}"/>
- <delete dir="${index}"/>
- </target>
-
- <target name="init">
- <mkdir dir="${perf.build}"/>
- </target>
-
- <target name="compile" depends="init">
- <javac debug="true" destdir="${perf.build}">
- <src path="${perf.src}"/>
- <classpath refid="compile.class.path"/>
- </javac>
- </target>
-
- <target name="run-perf" depends="compile">
- <delete dir="${index}"/>
- <echo message="expanding index data" />
- <untar src="${index.data}" dest="." compression="gzip"/>
- <java classname="proj.zoie.perf.tools.IndexReplicator">
- <classpath>
- <pathelement location="${perf.build}"/>
- <fileset dir="${dist}">
- <include name="*.jar"/>
- </fileset>
- <fileset dir="${lib.dir}/master">
- <include name="*.jar"/>
- </fileset>
- </classpath>
- <arg value="${index.dir}"/>
- <arg value="${index.perf.dir}"/>
- <arg value="10"/>
- </java>
- <delete dir="${index.perf.dir}"/>
- <delete dir="${index}"/>
- </target>
-
- <target name="dist" depends="compile">
- <war destfile="${dist}/zoie-perf.war" webxml="${resource}/web.xml" >
- <classes dir="${perf.build}"/>
- <classes dir="${conf}"/>
- <classes dir="${settings}"/>
- <webinf dir="${resource}" />
- <lib dir="${lib.dir}/master" />
- <lib dir="${dist}">
- <include name="zoie-${version}.jar"/>
- </lib>
- </war>
- </target>
-</project>
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-
- <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
- <property name="locations">
- <list>
- <value>classpath:index.properties</value>
- <value>classpath:perf.properties</value>
- </list>
- </property>
- </bean>
-
-</beans>
Oops, something went wrong.

0 comments on commit f8e6aa7

Please sign in to comment.