You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2016/09/22 14:00:31 UTC
[jira] [Commented] (LOG4J2-1607) Improve performance of
SortedStringArrayMap data structure
[ https://issues.apache.org/jira/browse/LOG4J2-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15513370#comment-15513370 ]
Ralph Goers commented on LOG4J2-1607:
-------------------------------------
Do you tests for this? I was thinking of modifying the FilterPerformanceComparison to add a test where ThreadContext data is present. Then regressions would be visible just as it was for the case with no data.
> 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-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org