You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by cakofony <gi...@git.apache.org> on 2018/07/24 22:08:12 UTC

[GitHub] logging-log4j2 pull request #197: [LOG4J2-2391] Benchmarks for logging to di...

GitHub user cakofony opened a pull request:

    https://github.com/apache/logging-log4j2/pull/197

    [LOG4J2-2391] Benchmarks for logging to disk with a Throwable

    Initial results (re-ordered fastest to slowest):
    
    ```
    Benchmark                                                Mode  Cnt       Score       Error  Units
    FileAppenderThrowableBenchmark.logbackFile              thrpt    3  135260.838 ± 15790.010  ops/s
    FileAppenderThrowableBenchmark.log4j2SimpleThrowable    thrpt    3   87385.712 ±  8082.803  ops/s
    FileAppenderThrowableBenchmark.log4j1                   thrpt    3   60359.485 ± 10122.858  ops/s
    FileAppenderThrowableBenchmark.julFile                  thrpt    3   52134.431 ±  1302.365  ops/s
    FileAppenderThrowableBenchmark.log4j2ExtendedThrowable  thrpt    3   15348.378 ±  1301.501  ops/s
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cakofony/logging-log4j2 LOG4J2-2391

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/logging-log4j2/pull/197.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #197
    
----
commit a42a80d8bba398a8333964a12333e263314b878f
Author: Carter Kozak <ck...@...>
Date:   2018-07-24T21:59:00Z

    [LOG4J2-2391] Benchmarks for logging to disk with a Throwable
    
    Initial results (re-ordered fastest to slowest):
    
    Benchmark                                                Mode  Cnt       Score       Error  Units
    FileAppenderThrowableBenchmark.logbackFile              thrpt    3  135260.838 ± 15790.010  ops/s
    FileAppenderThrowableBenchmark.log4j2SimpleThrowable    thrpt    3   87385.712 ±  8082.803  ops/s
    FileAppenderThrowableBenchmark.log4j1                   thrpt    3   60359.485 ± 10122.858  ops/s
    FileAppenderThrowableBenchmark.julFile                  thrpt    3   52134.431 ±  1302.365  ops/s
    FileAppenderThrowableBenchmark.log4j2ExtendedThrowable  thrpt    3   15348.378 ±  1301.501  ops/s

----


---

[GitHub] logging-log4j2 pull request #197: [LOG4J2-2391] Benchmarks for logging to di...

Posted by cakofony <gi...@git.apache.org>.
Github user cakofony closed the pull request at:

    https://github.com/apache/logging-log4j2/pull/197


---