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

Remko Popma commented on LOG4J2-1607:
-------------------------------------

I haven't pushed the improvement yet. Still work in progress. I will update the 
SortedArrayVsHashMapBenchmark JMH benchmark to compare it with the existing 
array-based data structure and the JDK map.

Good point about highlighting performance regressions though. Would like to 
automate this, but need to think about this more...

Do you want to release 2.7 soon? This improvement can wait for the next patch 
release.

> Improve performance of SortedStringArrayMap 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
>
> [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: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to