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

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

Github user brosander closed the pull request at:

    https://github.com/apache/nifi/pull/1390


> StandardProcessSession.isSpuriousRouteEvent() performance
> ---------------------------------------------------------
>
>                 Key: NIFI-3277
>                 URL: https://issues.apache.org/jira/browse/NIFI-3277
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Bryan Rosander
>            Assignee: Bryan Rosander
>            Priority: Minor
>
> StandardProcessSession.isSpuriousRouteEvent() currently creates a 
> Relationship from a builder and loops over all checkpoint records for every 
> route provenance event generated by the processor.
> This takes nontrivial time and can be mitigated by caching the Relationships 
> and creating a uuid -> StandardFlowFileRecord map on-demand.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to