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

Dave Thompson closed DAFFODIL-1860.
-----------------------------------

Verified the latest updates from the incubator-daffodil repository included the 
specified commit, eec6c76a36edeecebf87ab5a3d80f9040442f120.

Verified all SBT tests for effected subprojects execute successfully. Verified 
a performance increase across most data types of from a slight increase up to 
46%.

Note that a few tests across data formats show a slight decrease, within normal 
nightly deviation.

> Minimize the number of HashMap allocations/insertions in the Infoset
> --------------------------------------------------------------------
>
>                 Key: DAFFODIL-1860
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1860
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End
>            Reporter: Steve Lawrence
>            Assignee: Dave Thompson
>            Priority: Major
>             Fix For: 2.1.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Performance testing found that the slot removal made in DAFFODIL-1854 caused 
> performance degradation, sometimes up to 20% decreases. Profiling found that 
> some of this is due to the allocations of the HashMap used for quickly 
> looking up elements in the Infoset by QName. We should only allocate hashmaps 
> when it's possible an element could be be used in an expression, which should 
> improve performance. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to