You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ce...@apache.org on 2004/11/09 19:26:40 UTC
cvs commit: logging-log4j/tests performance.xml
ceki 2004/11/09 10:26:40
Modified: tests performance.xml
Log:
Added new test targets. These perform logging loops where logging is disabled.
Revision Changes Path
1.3 +16 -2 logging-log4j/tests/performance.xml
Index: performance.xml
===================================================================
RCS file: /home/cvs/logging-log4j/tests/performance.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- performance.xml 6 Sep 2004 19:53:44 -0000 1.2
+++ performance.xml 9 Nov 2004 18:26:40 -0000 1.3
@@ -128,6 +128,20 @@
</antcall>
</target>
-
-
+ <!-- ============================================= -->
+ <!-- ============= Logging loop ================== -->
+ <target name="loggingLoop">
+ <java classname="org.apache.log4j.performance.LoggingLoop"
+ fork="yes" failonerror="true">
+ <classpath refid="perf.classpath"/>
+ <arg line="10000000 ${configFile}"/>
+ </java>
+ </target>
+
+ <target name="loggingGroup">
+ <antcall target="loggingLoop">
+ <param name="configFile" value="input/performance/null-appender-info.xml"/>
+ </antcall>
+ </target>
+
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org