I ran the CXF build like: mvn -Pfastinstall -T8 -o
using the latest on the two branches as of 11pm last night: 3.0.4: 1:16 log4j2: 1:12 logback: 1:19 Ran each 3 times and results were fairly consistent. Thus, for me using parallel builds, log4j2 is the fastest, but the difference is almost irrelevant. I'll repeat the tests later without the -T8, but this may show that multi-threaded logging is faster with log4j2. Dan On Dec 12, 2012, at 1:48 AM, Kristian Rosenvold <kristian.rosenv...@gmail.com> wrote: > Finally some interesting numbers, and if (heaven forbid) this decision > should be based on > technical grounds, this is one of the first significant pieces to come > up in this discussion. > > Since I am quite unfamiliar with logging (I use loose coupling and > tests instead ;), I took the opportunity to read > http://logging.apache.org/log4j/2.x/performance.html Somehow the > real-life results don't seem to match up with the advertising blurp on > the log4j site. While it hardly surprises me, I was wondering if > anyone actually knows why? > > Kristian > > > > 2012/12/12 Stephen Connolly <stephen.alan.conno...@gmail.com>: >> The consistent times (i.e. repeated runs after discarding the first) are: >> >> 3.0.4: 1min18sec >> logback: 1min13sec >> log4j2: 1min34sec >> >> The second test was building GIT hash >> 85dd6e37456d30d2661e10b044efa9036c528023 of jszip-maven-plugin (@jszip.org) >> with the following command line: >> >> mvn -o -X clean verify -DskipTests -Dinvoker.skip >> >> [Testing heavy logging] >> >> 3.0.4: 12.1sec >> logback: 12.2sec >> log4j2: 12.5sec > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > -- Daniel Kulp dk...@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org