You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/04/12 20:57:00 UTC

[jira] [Work logged] (LOG4J2-2391) Investigate ThrowableProxy performance

     [ https://issues.apache.org/jira/browse/LOG4J2-2391?focusedWorklogId=421002&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-421002 ]

ASF GitHub Bot logged work on LOG4J2-2391:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/Apr/20 20:56
            Start Date: 12/Apr/20 20:56
    Worklog Time Spent: 10m 
      Work Description: rgoers commented on issue #210: [LOG4J2-2391] Lazily initialize ThrowableProxy data
URL: https://github.com/apache/logging-log4j2/pull/210#issuecomment-612674786
 
 
   @carterkozak What is the status of this PR?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 421002)
    Remaining Estimate: 0h
            Time Spent: 10m

> Investigate ThrowableProxy performance
> --------------------------------------
>
>                 Key: LOG4J2-2391
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2391
>             Project: Log4j 2
>          Issue Type: Task
>    Affects Versions: 2.11.1
>            Reporter: Carter Kozak
>            Assignee: Carter Kozak
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I've noticed when applications get into a state where they log more exceptions than usual (e.g. network connectivity issues) thread dumps contain many threads working inside of ThrowableProxy, loading classes.
> A simple jmh benchmark of a pattern layout writing to disk with a message and throwable appears to write about 160,000 events/second using a throwable, and 2,000 events/second using ThrowableProxy.
> I will investigate to understand where the substantial difference is coming from, and clean up the benchmarks to add to the log4j2 benchmarking module.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)