You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/03 14:55:58 UTC

[jira] [Commented] (NIFI-3240) AttributesToJson performance improvements

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

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

Github user bbende commented on the issue:

    https://github.com/apache/nifi/pull/1352
  
    Reviewing...


> AttributesToJson performance improvements
> -----------------------------------------
>
>                 Key: NIFI-3240
>                 URL: https://issues.apache.org/jira/browse/NIFI-3240
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Bryan Rosander
>            Assignee: Bryan Rosander
>            Priority: Minor
>         Attachments: after.png, before.png
>
>
> AttributesToJson does a lot of work in every onTrigger() that it doesn't need to.
> A lot of the attributes map logic can be done at schedule time so that it doesn't need to be done on every trigger.
> Also, all of the properties gotten from the process context can be fetched in onSchedule()



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