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

ASF GitHub Bot commented on NIFI-2142:
--------------------------------------

Github user JPercivall commented on the issue:

    https://github.com/apache/nifi/pull/609
  
    Sorry for taking so long @jfrazee, I got caught up with something I thought 
was an issue but turned out it was just me messing up. 
    
    +1
    
    Visually verified code, and did a contrib check build. In standalone and a 
secure 3 node cluster tested the caching using the provided template. Even with 
just 5 stylesheets being used I saw speed improvements of ~10x! Thanks 
@jfrazee, I will merge it in.


> Cache compiled XSLT in TransformXml
> -----------------------------------
>
>                 Key: NIFI-2142
>                 URL: https://issues.apache.org/jira/browse/NIFI-2142
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Joey Frazee
>             Fix For: 1.0.0
>
>         Attachments: NIFI-2142 TransformXml Data Flow.png
>
>
> TransformXml appears to be recompiling the XSLT on every onTrigger event, 
> which is slow. It should cache the compiled stylesheets.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to