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

ASF subversion and git services commented on NIFI-3235:
-------------------------------------------------------

Commit 42851576759fdba9de19b24f1ca102cf53cbc4a0 in nifi's branch 
refs/heads/master from [~bryanrosan...@gmail.com]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=4285157 ]

NIFI-3235 - EvaluateJsonPath performance improvements

This closes #1346.

Signed-off-by: Bryan Bende <bbe...@apache.org>


> EvaluateJsonPath performance improvements
> -----------------------------------------
>
>                 Key: NIFI-3235
>                 URL: https://issues.apache.org/jira/browse/NIFI-3235
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Bryan Rosander
>            Assignee: Bryan Rosander
>            Priority: Minor
>         Attachments: after.png, before.png
>
>
> EvaluateJsonPath does a lot of work in every onTrigger() that can be done 
> when scheduled.  This has the effect of making it take more cpu cycles than 
> necessary to do its job.
> Initializing the -JsonPath objects in a ThreadLocal- recycling JsonPath 
> objects from a queue and getting the properties from the ProcessContext a 
> single time in onSchedule() should reduce the amount of CPU time this 
> processor needs to perform a given task.



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

Reply via email to