logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remko Popma (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (LOG4J2-1607) Improve performance of SortedArrayStringMap data structure
Date Thu, 03 Nov 2016 12:29:58 GMT

     [ https://issues.apache.org/jira/browse/LOG4J2-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Remko Popma closed LOG4J2-1607.
-------------------------------
    Resolution: Won't Fix

After some experimentation I found that the idea I had did not work very well. Closing this
ticket since binary search performance is reasonable.

> 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
>
> [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


Mime
View raw message