You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Michael Beckerle (JIRA)" <ji...@apache.org> on 2018/02/14 20:41:00 UTC

[jira] [Commented] (DAFFODIL-1893) TDML Runner not caching schema compiles - only caches schemas if compileAllTopLevel is true

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

Michael Beckerle commented on DAFFODIL-1893:
--------------------------------------------

PR: https://github.com/apache/incubator-daffodil/pull/41

> TDML Runner not caching schema compiles - only caches schemas if compileAllTopLevel is true
> -------------------------------------------------------------------------------------------
>
>                 Key: DAFFODIL-1893
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1893
>             Project: Daffodil
>          Issue Type: Bug
>          Components: TDML Runner
>    Affects Versions: 2.0.0
>            Reporter: Michael Beckerle
>            Assignee: Michael Beckerle
>            Priority: Major
>             Fix For: 2.2.0
>
>
> The TDML runner is supposed to cache compiled schemas so that many tests using the same DFDL schema will compile it only once.
> It currently only does this when compileAllTopLevel is true, but the default for this is false.
> The cache should be modified to take the root element into account - i.e., compile all top levels need not be true. The cache should hit, avoiding recompilation, so long as the same root element is being used. 



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