[ 
https://issues.apache.org/jira/browse/LOG4J2-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15519099#comment-15519099
 ] 

Remko Popma edited comment on LOG4J2-1607 at 9/24/16 2:11 PM:
--------------------------------------------------------------

When I ran the JMH ThreadContextBenchmark I found a performance problem when 
merging context data with properties. This is now addressed. Updated benchmark 
results follow below.

!InjectWithoutProperties.png!

!InjectWithProperties.png!

!ThreadContext-PutAndRemove.png!

!ThreadContext-Get.png!


was (Author: [email protected]):
When I ran the JMH ThreadContextBenchmark I found a performance problem when 
merging context data with properties. This is now addressed. Updated benchmark 
results follow below.

!InjectWithoutProperties.png!

!InjectWithProperties.png!

!ThreadContext-Put&Remove.png!

!ThreadContext-Get.png!

> Improve performance of SortedArrayStringMap data structure
> ----------------------------------------------------------
>
>                 Key: LOG4J2-1607
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1607
>             Project: Log4j 2
>          Issue Type: Improvement
>    Affects Versions: 2.7
>            Reporter: Remko Popma
>            Assignee: Remko Popma
>         Attachments: InjectWithProperties.png, InjectWithoutProperties.png, 
> ThreadContext-Get.png
>
>
> [Performance 
> testing|https://issues.apache.org/jira/browse/LOG4J2-1349?focusedCommentId=15432877&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15432877]
>  for LOG4J2-1349 showed that the SortedArray-based data structure can be 
> copied fast, but its {{get()}} and {{put()}} performance is worse than a 
> hash-based data structure like the JDK HashMap.
> This ticket is to investigate options for improving performance of the 
> {{get()}} operation, since this can impact the performance of Filters and 
> Lookups.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to